{{ csrf_field() }}
@if($isAdmin)
{!! FormField::select('selPodId', $pods, $selPodId, null, null) !!}
@endif
@if(in_array('orders',$widgets))
ORDERS
| Order # |
PO # |
Client |
Ship from |
Ship to |
Equipment |
Pickup Date |
Added Date |
Total |
@endif
@if(in_array('shipments',$widgets))
SHIPMENTS
| Order # |
PO # |
Carrier |
Client |
Ship from |
Ship to |
Receiver |
Equipment |
Pickup Date |
Total |
Status |
@endif
@if(in_array('missed-pickups',$widgets))
@endif
@if(in_array('users',$widgets))
USERS
| User |
ringing |
connected |
hangup |
voicemail |
Attendance |
@if($users)
@foreach($users as $user)
| {{ $user->name }} |
{{ (isset($user->ringing) ? $user->ringing : 0) }} |
{{ (isset($user->connected) ? $user->connected : 0) }} |
{{ (isset($user->hangup) ? $user->hangup : 0) }} |
{{ (isset($user->voicemail) ? $user->voicemail : 0) }} |
@if($user->last_activity)
@if(date('Y-m-d', strtotime($user->last_activity)) == date('Y-m-d'))
PRESENT
@else
ABSENT
@endif
@else
ABSENT
@endif
|
@endforeach
@endif
@endif
@if(in_array('margins',$widgets))
Margins
- Today
- {{ $margins['today']['missed'] }}
- {{ $margins['today']['achieved'] }}
- {{ $margins['today']['percent'] }}%
- Week
- {{ $margins['current_week']['missed'] }}
- {{ $margins['current_week']['achieved'] }}
- {{ $margins['current_week']['percent'] }}%
- Month
- {{ $margins['current_month']['missed'] }}
- {{ $margins['current_month']['achieved'] }}
- {{ $margins['current_month']['percent'] }}%
@endif