@if(Auth::user()->type == 'LITTLE DEVIL' || Auth::user()->type == 'MASTER DEVIL') @endif @foreach($registers as $item) @if(!$loop->first) @if(($item->carrier <> $registers[$loop->index - 1]->carrier || $item->loadingPort <> $registers[$loop->index - 1]->loadingPort || $item->routeDescricao <> $registers[$loop->index - 1]->routeDescricao)) @if(Auth::user()->type == 'LITTLE DEVIL' || Auth::user()->type == 'MASTER DEVIL') @endif @php $containerCount = 0; @endphp @endif @else @php $containerCount = 0; @endphp @endif @if(Auth::user()->type == 'LITTLE DEVIL' || Auth::user()->type == 'MASTER DEVIL') @endif @if($item->comercial_comments <> null || $item->usuario <> null) @endif containerQty); ?> @if($loop->last) @if(Auth::user()->type == 'LITTLE DEVIL' || Auth::user()->type == 'MASTER DEVIL') @endif @php $containerCount = 0; @endphp @endif @endforeach
CarrierStatus - INTERNOStatus Commercial
Edit
Client Shipper Shipper's
Ref.
Booking Cargoo Ref. Vessel ETA POL ETA
(Suggested)
Equipment Qty Product Ex-Vessel 1 Ex-ETA 1 Ex-Vessel 2 Ex-ETA 2 Week POL POD
{{ $registers[$loop->index - 1]->loadingPort }} - {{ $registers[$loop->index - 1]->carrier }} - {{$registers[$loop->index - 1]->routeDescricao}} {{ $containerCount }} {{ $registers[$loop->index - 1]->loadingPort }}
@if($item->loadingType=='BKP') @else @endif @can('delete', App\Usuario::class) id}}> @endcan @if($item->clients_fantasyName == 'CSA DO BRASIL') @else @endif @if($item->commercial == 'Stand By') id}}> @endif id}}> {{ $item->carrier }}{{ $item->status }}{{ ($item->clients_fantasyName == 'CSA DO BRASIL' && substr($item->shipper,0,3) == 'CSA') ? 'FAKE' : (($item->clients_fantasyName == 'CSA DO BRASIL' && substr($item->shipper,0,3) <> 'CSA') ? 'PRE BK' : ($item->clients_fantasyName <> 'CSA DO BRASIL' ? 'REAL' : '')) }} id}}> {{ $item->commercial }} {{ str_limit($item->clients_fantasyName, $limit = 15, $end = '...') }} {{ str_limit($item->shipper, $limit = 15, $end = '...') }} {{ $item->shipperReference }} {{ isset($item->booking) ? $item->booking : '-' }} {{ $item->cargooReference }} {{ $item->vessel }} {{date( 'd-m-Y' , strtotime($item->etaPol))}} {{$item->etaPolFake == null ?'-':date( 'd-m-Y' , strtotime($item->etaPolFake))}} {{ $item->equipament }} {{ $item->containerQty }} {{ $item->product }} {{ $item->vessel1 }} {{ $item->eta1 }} {{ $item->vessel2 }} {{ $item->eta2 }} {{ $item->etaPOLWeek }} {{ $item->loadingPort }} {{ $item->POD }}
@if($item->comercial_comments <> null) Commercial Comments : {{ $item->comercial_comments }} @endif @if($item->usuario <> null)    Direct this action to: {{ $item->usuario}} @endif
Week {{ isset($item->orderByEtaFake) && $item->orderByEtaFake != null ? date( 'w' , strtotime($item->orderByEtaFake)) : $item->etaPOLWeek}} {{ $item->carrier }} {{ $containerCount }} {{ $item->loadingPort }}