@php($table_key = Str::random(3))
@if(isset($thead))
@if(is_array($thead))
@foreach($thead as $th)
| {!! $th !!} |
@endforeach
@else
{!! $thead !!}
@endif
@endif
@if(is_array($tbody))
@foreach($tbody as $tr)
@foreach($tr as $td)
{!! $td !!} |
@endforeach
@endforeach
@else
{!! $tbody !!}
@endif
@if(isset($thead))
@if(is_array($thead))
@foreach($thead as $th)
| {!! $th !!} |
@endforeach
@else
{!! $thead !!}
@endif
@endif
@push('scripts-footer')
@endpush