@if (!count($staffHistory))

Search results:

Found 0 records

@else

@lang("content.list")

{{-- --}} {{-- --}} @php $totalSecs = $i = 0 @endphp @foreach($staffHistory["list"] as $id => $data) @foreach($data["history"] as $each) @php $dayOffsClass = $each->condition->name == "DAY OFF" ? "day_off" : "" @endphp @php $seconds = CalculateDifference($each->condition_from, $each->condition_to, true) @endphp @if ($each->condition->name == NOT_AVAILABLE) @continue @endif @if (!$each->condition->skip_total) @php $totalSecs += $seconds @endphp @endif {{-- --}} {{-- --}} @endforeach @endforeach
No @lang("content.duty") @lang("content.airline") @lang("content.from") @lang("content.to") @lang("content.duration") @lang("content.rmks") @lang("content.signature") @lang("content.date")@lang("content.created_at")@lang("content.created_by")
{{ ++$i }} {{ $each->condition->name }} {{ $each->airline ? $each->airline->airline : "" }} {{ $each->condition_from ? date("Y-m-d H:i", strtotime($each->condition_from)) : "" }} {{ $each->condition_to ? date("Y-m-d H:i", strtotime($each->condition_to)) : "" }} {{ convertToHoursMinutes($seconds, true) }} {{ $each->notes }} {{ baseDateFormat($each->created_at, true) }}{{ getUserName($each->createdBy) }}
Total {{ convertToHoursMinutes($totalSecs, true) }}
@endif