{{-- Filter bar bersama untuk menu Laporan & Note Pekerjaan Baru. Variabel: $filterAction (URL), $filterOptions (projects/trainsets/cars/teams/batches), $filters (search/project_id/trainset_id/car_id/team/batch/sort/dir), $searchPlaceholder (opsional). --}} @php $fo = $filterOptions ?? []; $f = $filters ?? []; $hasSort = ! empty($f['sort']); @endphp
@if (($fo['cars'] ?? collect())->isNotEmpty()) @endif Reset @if ($hasSort) @endif