@php $deleted = isset($deleted) && $deleted @endphp @php $terminated = isset($terminated) && $terminated @endphp
No | @lang("content.picture") | @lang("content.first_name") | @lang("content.last_name") | @lang("content.station") | @lang("content.company") | @lang("content.department") | @lang("content.position") | @lang("content.staff_no") | @lang("content.email") | @lang("content.doj") | @lang("content.min_hrs") | @lang("content.max_hrs") | @if ($terminated)@lang("content.date_of_termination") | @lang("content.reason_of_termination") | @elseif($deleted)@lang("content.date_of_deletion") | @lang("content.deleted_by") | @endif@lang("content.actions") | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ ++$j }} | id/edit?s=".rand(100, 999)) }}" >
|
id}/edit?s=".rand(100, 999)) }}">{{ $each->first_name }} | id}/edit?s=".rand(100, 999)) }}">{{ $each->last_name }} | {{ $each->location && $each->location->airport ? $each->location->airport->iata : '' }} | {{ $each->company }} | {{ $each->department && isset($each->department[0]) ? $each->department[0]->name : "" }} | {{ $each->position && isset($each->position[0]) ? $each->position[0]->name : "" }} | {{ $each->staff_number }} |
{{ $each->email }}
@if ($sprAdm)
id}") }}" target="_blank" class="btn btn-success">Login as User @endif |
{{ $each->doj }} | {{ $each->min_hours }} | {{ $each->max_hours }} | @if ($terminated){{ $each->resigned_date }} | {{ $each->termination_reason }} | @elseif($deleted) | {{ date("Y-m-d", strtotime($each->deleted_at)) }} | {{ getUserName($each->updatedBy) }} | @else | @endif |