@php use App\Enums\JobStatus; use App\Http\Requests\JobIndexRequest; $input = 'block w-full min-h-11 border-gray-300 focus:border-indigo-500 focus:ring-indigo-500 rounded-lg shadow-sm'; $activeFilters = collect($filters)->except('search')->filter(fn ($v) => filled($v))->count(); @endphp

{{ auth()->user()->isTechnician() ? 'My jobs' : 'Job cards' }}

@can('create', App\Models\RepairJob::class) + New job card @endcan
@if ($technicians->isNotEmpty())
@endif
Clear

{{ $jobs->total() }} {{ Str::plural('job', $jobs->total()) }}

@if ($jobs->isEmpty())
{{ auth()->user()->isTechnician() ? 'No jobs are assigned to you yet.' : 'No jobs found.' }}
@else
    @foreach ($jobs as $job)
  • @include('jobs.partials.row')
  • @endforeach
{{ $jobs->links() }}
@endif