| Duty # | Route @if(request('sort') === 'route') @else @endif | Employees | @if($type === 'completed')Sched In | Sched Out | Actual In | Actual Out | @elseSched In | Sched Out | @endifStatus @if(request('sort') === 'status') @else @endif | @if($type === 'completed')Tickets | @endifActions | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
{{ $schedule->duty_number }}
@if($schedule->customer_reference)
Ref: {{ $schedule->customer_reference }}
@endif
|
{{ substr($schedule->route->name, 0, 1) }}
{{ $schedule->route->name }}
${{ $schedule->route_rate }}
|
@foreach($schedule->employees as $employee)
@if($employee->profile_picture)
@endforeach
@if($schedule->employees->count() === 0)
Unassigned
@endif
{{ substr($employee->first_name, 0, 1) }}{{ substr($employee->last_name, 0, 1) }}
@endif
{{ $employee->first_name }} {{ $employee->last_name }}
{{ $employee->employee_id ?? 'ID: ' . $employee->id }}
|
@if($type === 'completed')
{{ $schedule->from_time->format('M d, Y') }}
{{ $schedule->from_time->format('h:i A') }}
|
{{ $schedule->to_time->format('M d, Y') }}
{{ $schedule->to_time->format('h:i A') }}
|
@if(!empty($schedule->job_started_at))
@php $start = \Carbon\Carbon::parse($schedule->job_started_at); @endphp
{{ $start->format('M d, Y') }}
{{ $start->format('h:i A') }}
@else
--
@endif
|
@if(!empty($schedule->job_ended_at))
@php $end = \Carbon\Carbon::parse($schedule->job_ended_at); @endphp
{{ $end->format('M d, Y') }}
{{ $end->format('h:i A') }}
@else
--
@endif
|
@else
{{ $schedule->from_time->format('M d, Y') }}
{{ $schedule->from_time->format('h:i A') }}
|
{{ $schedule->to_time->format('M d, Y') }}
{{ $schedule->to_time->format('h:i A') }}
|
@endif
{{ $schedule->calculated_status }} | @if($type === 'completed'){{ $schedule->issueTickets->count() }} | @endif
@if($schedule->isJobCompleted() || $schedule->isJobInProgress())
View
Details
Download
PDF
@if($schedule->issueTickets->count() > 0)
Download
Images ZIP
@endif
@elseif($type !== 'active')
@if($schedule->job_status !== 'cancelled')
Edit
Schedule
@endif
@if($schedule->job_status !== 'cancelled')
@endif
@endif
|
|
| No schedules found for this category. | ||||||||||||