{{ __('admin.delivery_inspections.title') }}
{{ __('admin.delivery_inspections.add') }}{{ session('success') }}
@endif
@if(session('error'))
{{ session('error') }}
@endif
| # | {{ __('admin.delivery_inspections.fields.project_id') }} | {{ __('admin.delivery_inspections.fields.inspector_id') }} | {{ __('admin.delivery_inspections.fields.status') }} | {{ __('admin.delivery_inspections.fields.created_at') }} | {{ __('admin.actions.actions') }} |
|---|---|---|---|---|---|
| {{ $inspection->id }} |
{{ $inspection->project->project_name ?? '—' }}
@if($inspection->project->client)
{{ $inspection->project->client->name }} @endif |
{{ $inspection->inspector->name ?? '—' }} | @php $statusColors = ['pending'=>'secondary','under_review'=>'info','revision_required'=>'warning','approved'=>'success','rejected'=>'danger']; $color = $statusColors[$inspection->status] ?? 'secondary'; @endphp {{ __('admin.delivery_inspections.statuses.'.$inspection->status) }} | {{ $inspection->created_at->format('Y-m-d') }} | |
| {{ app()->getLocale() === 'ar' ? 'لا توجد فحوصات استلام.' : 'No delivery inspections found.' }} | |||||