Import Stats
@isset($stations)
{{ $stations->implode(', ') }}
@endisset
- File Imported: {{ $fileName }}
- Import Initiated: {{ $initiated }}
- Total rows: {{ $total }}
- Total unique employees: {{ $totalGrouped }}
- New accounts added: {{ count($created) }}
- Updated accounts: {{ count($updated) }}
- Terminated accounts: {{ count($terminated) }}
@if (!empty($invalid))
- Invalid accounts: {{ count($invalid) }}
@endif
@if (!empty($overtime))
- Overtime: {{ count($overtime) }}
@endif
@if (!empty($mia))
- MIA: {{ count($mia) }}
@endif
@if (count($created) > 0)
New Accounts
@foreach($created as $account)
- {{ $account->name }} [{{ $account->number }}] {{ $account->station->abbr }}: {{ $account->job }} ${{ $account->rate }}
@if(! empty($account->operations_tasks))
Operations
@foreach($account->operations_tasks as $task)
- {{ $task }}
@endforeach
@endif
@if(! empty($account->training_tasks))
Training
@foreach($account->training_tasks as $task)
- {{ $task }}
@endforeach
@endif
@endforeach
@endif
@if (count($updated) > 0)
Updated Accounts
@foreach($updated as $account)
- {{ $account->name }} [{{ $account->number }}] {{ $account->station->abbr }}: {{ $account->job }} ${{ $account->rate }}
@if(! empty($account->operations_tasks))
Operations
@foreach($account->operations_tasks as $task)
- {{ $task }}
@endforeach
@endif
@if(! empty($account->training_tasks))
Training
@foreach($account->training_tasks as $task)
- {{ $task }}
@endforeach
@endif
@endforeach
@endif
@if (count($terminated) > 0)
Terminated Accounts
Employee |
Number |
Station |
Job |
Termination |
@foreach($terminated as $item)
{{ $item->name }} |
{{ substr($item->number, -4) }} |
{{ $item->station->abbr }} |
{{ $item->job }} |
{{ $item->term_date }} |
@endforeach
@endif
@if (!empty($invalid) && count($invalid) > 0)
Invalid Accounts
Following users did not have a unique employee number. A bogus one has been created.
Employee |
Number |
Station |
@foreach($invalid as $item)
{{ $item->name }} |
{{ $item->number }} |
{{ $item->station->abbr }} |
@endforeach
@endif
@if (!empty($overtime) && count($overtime) > 0)
Overtime
Employee |
Number |
Station |
Job |
Pay Ident. |
Pay Code |
Hours |
TTL/Labor $ |
@foreach($overtime as $item)
{{ $item->employee_name }} |
{{ $item->employee_number }} |
{{ $item->station }} |
{{ $item->job }} |
{{ $item->payident }} |
{{ $item->pay_code_express }} |
{{ $item->hours }} |
{{ $item->pay }} |
@endforeach
@endif
@if (!empty($mia) && count($mia) > 0)
MIA
Employee |
Number |
Station |
Last Worked |
@foreach($mia as $item)
{{ $item['name'] }} |
{{ $item['number'] }} |
{{ $item['abbr'] }} |
{{ $item['lastworked'] }} |
@endforeach
@endif