@php $dtColumns = collect($columns)->map(function ($c) { return [ 'data' => $c['key'], 'name' => $c['key'], 'orderable' => $c['orderable'] ?? true, 'searchable' => $c['searchable'] ?? true, ]; })->values(); @endphp @foreach($columns as $col) @endforeach @foreach($columns as $col) @endforeach
{{ $col['label'] }}
@if(($col['searchable'] ?? true)) @endif
@push('custom-scripts') @endpush