clearanceDate)) ? 'readonly' : ''}}>
{{-- clearanceDate)) ? 'readonly' : ''}}> --}}
clearanceDate)) ? 'readonly' : ''}}>
@php if (isset($haulingProcessDetails->arrivalSupplierDate)) { $date = new DateTime($haulingProcessDetails->arrivalSupplierDate); $dataArrivalSupplierDate = $date->format('Y-m-d\TH:i:s'); } if (isset($loadingRequest->cargoCutoffDate)) { $date2 = new DateTime($loadingRequest->cargoCutoffDate . ' ' . (isset($loadingRequest->cargoCutofftime) ? $loadingRequest->cargoCutofftime : '00:00:01')); $cargoCutoffDateTime = $date2->format('Y-m-d\TH:i'); } @endphp
clearanceDate)) ? 'readonly' : ''}}>
clearanceDate)) ? 'readonly' : ''}}>
@if($loadingRequest->container_types_id == '1')
clearanceDate)) ? 'readonly' : 'readonly'}}>
@endif
@if( !(isset($haulingProcessDetails->sealTypes)) || count($haulingProcessDetails->sealTypes) <= 0) @php $keySealType = 0; $axlesPlate = 1; @endphp @include('haulingProcess.form_seals') @else @foreach($haulingProcessDetails->sealTypes as $keySealType => $sealType) @php $localSealType = $sealType->pivot; $axlesPlate = 1; @endphp @include('haulingProcess.form_seals') @endforeach @endif
{{-- I'm just testing a new layout--}}

{{-- Search for the second axles plate--}} @isset($haulingProcess->haulingProcessDetails) @foreach($haulingProcess->haulingProcessDetails as $item) @if(isset($item->hauling_process_details_id) and $item->hauling_process_details_id == $haulingProcessDetails->id) @php $subItem = $item; @endphp @break @endif @endforeach @endisset
clearanceDate)) ? 'readonly' : ''}}>
clearanceDate)) ? 'readonly' : ''}}>
@if($loadingRequest->container_types_id == '1')
clearanceDate)) ? 'readonly' : 'readonly'}}>
@endif
{{-- @dd($subItem->sealTypes->pivot)--}}
@if( !isset($haulingProcess->haulingProcessDetails) ) @php $keySealType = 0; $axlesPlate = 2; @endphp @include('haulingProcess.form_seals') @else @if(isset($subItem->sealTypes[0])) @foreach($subItem->sealTypes as $keySealType => $sealType) @php $localSealType = $sealType->pivot; $axlesPlate = 2; @endphp @include('haulingProcess.form_seals') @endforeach @else @php $keySealType = 0; $axlesPlate = 2; $localSealType = null; @endphp @include('haulingProcess.form_seals') @endif @endif
{{-- I'm just testing a new layout--}}
@if($divNumber == 1) @if($totalPreSent > 0) @else @if($haulingProcess->countHaulingProcessDetailsByPlate('HP5') < $loadingRequest->containerQty) @endif @endif @else @if(!isset($haulingProcessDetails->clearanceDate)) @endif @endif