@lang("content.list")

{{-- --}} {{-- --}} @php $counter = 0 @endphp @foreach($officeDuties as $i => $each) @if ($each instanceof \App\Models\UserLeaveRequest) {{-- --}} @else @php $cnd = $each->condition_id && isset($conditions[$each->condition_id]) ? $conditions[$each->condition_id] :"" @endphp @php $dayOffsClass = $cnd == "DAY OFF" ? "day_off" : "" @endphp {{-- --}} {{-- --}} @endif @endforeach
No @lang("content.condition") @lang("content.airline") @lang("content.from") @lang("content.to") @lang("content.rmks")@lang("content.created_at")@lang("content.created_by")
{{ ++$counter }} {{ strtoupper($each->leave->name) }} {{ $each->date_from }} {{ $each->date_to }} {{ $each->reasons }}{{ baseDateFormat($each->updated_at, true) }}
{{ ++$counter }} {{ $cnd }} {{ $each->airline_id && isset($airlines[$each->airline_id]) ? $airlines[$each->airline_id] : "" }} {{ $each->condition_from }} {{ $each->condition_to }} {{ $each->notes }}{{ baseDateFormat($each->created_at, true) }}{{ getUserName($each->createdBy) }}