@php $future = strtotime($each->pReportTime) > strtotime(date("Y-m-d H:i:s")) @endphp @php $class = $future ? "disabled-items" : "modal-action-btn" @endphp @if ($each->serviceType == DEPARTURE_SERVICE) @php $depArrType = "DEPARTURE" @endphp @php $depArr = $each->departure @endphp @elseif ($each->serviceType == ARRIVAL_SERVICE) @php $depArrType = "ARRIVAL" @endphp @php $depArr = $each->arrival @endphp @elseif ($each->serviceType == TURNAROUND_SERVICE) @php $depArrType = "TURNAROUND" @endphp @php $depArr = $each->arrival @endphp @endif
{!! $depArrType !!}
{!! baseDateFormat($depArr, true) !!}
{!! $each->pReportTime ? baseDateFormat($each->pReportTime, true) : "-" !!}
{!! $each->pReleaseTime ? baseDateFormat($each->pReleaseTime, true) : "-" !!}
{{ $each->service->abbr }}
{{--{!! $each->pDurationTime && $each->pDurationTime != EMPTY_TIME_HM ? "Duration: ".$each->pDurationTime : "-" !!}
--}}{!! $each->reportTime ? baseDateFormat($each->reportTime, true) : "-" !!}
{!! $each->releaseTime ? baseDateFormat($each->releaseTime, true) : "-" !!}
{{--{!! $each->durationTime && $each->durationTime != EMPTY_TIME_HM ? "Duration: ".$each->durationTime : "-" !!}
--}}