@extends('layout.padrao') @section('title', 'Show Details') @include('include.attach_edit_list') @section('content') @if($errors->any())

Algo deu errado. Verificar Campos Obrigatórios

@foreach($errors->all() as $error) {{ $error }}
@endforeach
@endif {{ Form::open(array('id' => 'form-bk-lgp', 'method' => 'post', 'files'=>true, 'enctype'=>'multipart/form-data', 'route'=>array('updateLoading', $register->id))) }} {{method_field('PUT')}} {{ csrf_field() }}
{!! Form::label('nome', 'User Name', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::text('nome', old('nome',(isset($register->usuarios->nome) ? $register->usuarios->nome: Auth::user()->nome)), ['class' => 'form-control ', 'disabled'=>'disabled', 'style' => 'text-transform:uppercase;', ]) !!}
{!! Form::label('login', 'User Login', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::text('login', old('login', (isset($register->usuarios->login) ? $register->usuarios->login : Auth::user()->login)), ['class' => 'form-control ', 'disabled'=>'disabled', 'style' => 'text-transform:uppercase;' ]) !!}
{!! Form::label('SAOE', 'SAOE Number', [ 'class' => 'w-100 control-label']) !!} {!! Form::text('SAOE', old('SAOE',$register->SAOE) , ['class' => 'form-control', 'disabled' => 'disabled', 'readonly' => 'readonly']) !!}

Booking Details

@can('internalRoutine', App\Usuario::class) @if(isset($select['ExBooking'])) {!! $select['ExBooking'] !!} @endif @endcan

CSA Service

{!! Form::checkbox('BlDraft', 1, old('BlDraft',$register->BlDraft)); !!} {!! Form::label('BlDraft', 'BL Draft', [ 'class' => 'pr-16 control-label form-check-label alignCheck']) !!}
{!! Form::checkbox('VGM', 1, old('VGM',$register->VGM)); !!} {!! Form::label('VGM', 'VGM', [ 'class' => 'w-15 control-label form-check-label alignCheck']) !!}
@can('internalRoutine', App\Usuario::class) @if(isset($dePara) && $dePara != null )

Alterações Automatizadas Foram:

@foreach($dePara as $item) {!! $item !!} @if($loop->last) @else @endif @endforeach
@endif @endcan
{!! Form::label('booking', 'Booking', [ 'class' => 'w-100 control-label']) !!} {!! Form::text('booking', ( old('booking') == null ?$register->booking:'booking' ), ['class' => 'form-control', ($register->cargooReference && $register->booking)? "readonly ":"" , 'disabled' => 'disabled']) !!}
{!! Form::label('cargooReference', 'Cargoo Ref.', [ 'class' => 'w-100 control-label']) !!} {!! Form::text('cargooReference', ( old('cargooReference') == null ?$register->cargooReference:'cargooReference' ), ['class' => 'form-control', ($register->cargooReference)? "readonly ":"" , 'disabled' => 'disabled']) !!}
{!! Form::label('clients_id', 'Client', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('clients_id', [''=>'------ Select Required ------']+$select['client'], old('clients_id',$register->clients_id), ['class' => 'dynamic2 clients_id form-control', 'data-dependent'=>'platform', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!} {{ Form::hidden('clients_fantasyName', old('clients_fantasyName',$register->clients_fantasyName)) }}
{!! Form::label('shippers_id', 'Shipper', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('shippers_id', [''=>'------ Select Required ------']+$select['shipper'], old('shippers_id',$register->shippers_id), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('shipperReference', 'Shipper Reference', [ 'class' => 'w-100 control-label']) !!} {!! Form::text('shipperReference', old('booking',$register->shipperReference), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('carriers_id', 'Carrier', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('carriers_id', [''=>'------ Select Required ------']+$select['carrier'], old('carriers_id',$register->carriers_id), ['class' => 'dynamicCarrier form-control', 'data-dependent'=>'routes', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('routes_id', 'Route', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('routes_id', [''=>'------ Select Required ------']+$select['routes'], old('routes_id',$register->routes_id), ['class' => 'routes form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('platforms_id', 'Product', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('platforms_id', [''=>'------ Select Required ------']+$select['platform'], old('platforms_id',$register->platforms_id), ['class' => 'form-control platform', 'data-dependent'=>'loading_plants', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('vessel_id', 'Vessel', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('vessel_id', [''=>'------ Select Required ------']+$select['vessel'], old('vessel_id',$register->vessel_id), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('voyage', 'Voyage', [ 'class' => 'w-100 control-label']) !!} {!! Form::text('voyage', old('voyage',$register->voyage), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('etaPol', 'ETD POL', [ 'class' => 'w-100 control-label']) !!} {!! Form::date('etaPol', old('etaPol',$register->etaPol), ['class' => 'form-control', 'min' => '2019-01-01', 'max' => '2080-01-01', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}

ETD POL deve ser maior que a data de hoje

{!! Form::label('etaPod', 'ETA POD', [ 'class' => 'w-100 control-label']) !!} {!! Form::date('etaPod', old('etaPod',$register->etaPod), ['class' => 'form-control', 'min' => '2019-01-01', 'max' => '2080-01-01', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}

ETA POD deve ser maior que o ETD POL

{!! Form::label('loading_ports_id', 'Loading Port', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('loading_ports_id', [''=>'------ Select Required ------']+$select['loadingPort'], old('loading_ports_id',$register->loading_ports_id), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('port_destinations', 'Destination Port', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('port_destinations', $select['destinationPort'], old('loading_ports_id',$register->port_destinations), ['class' => 'destinationPort form-control','multiple'=>'multiple', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!} @if($errors->has('port_destinations')) {{$errors->first('port_destinations')}} @endif
{!! Form::label('draftCutoffDate', 'Draft Cutoff Date', [ 'class' => 'w-100 control-label']) !!} {!! Form::date('draftCutoffDate', old('draftCutoffDate',$register->draftCutoffDate), ['class' => 'form-control', 'min' => '2019-01-01', 'max' => '2080-01-01', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}

Draft Cutoff deve ser menor que ETD POL

{!! Form::label('draftCutofftime', 'Draft Cutoff Hour', [ 'class' => 'w-100 control-label']) !!} {!! Form::time('draftCutofftime', old('draftCutofftime',$register->draftCutofftime), ['class' => 'form-control', 'placeholder'=>'00:00', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('cargoCutoffDate', 'Cargo Cutoff Date', [ 'class' => 'w-100 control-label']) !!} {!! Form::date('cargoCutoffDate', old('cargoCutoffDate',$register->cargoCutoffDate), ['class' => 'form-control', 'min' => '2019-01-01', 'max' => '2080-01-01', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}

Cargo estar entre ETD POL e Draft Cutoff

{!! Form::label('cargoCutofftime', 'Cargo Cutoff Hour', [ 'class' => 'w-100 control-label']) !!} {!! Form::time('cargoCutofftime', old('cargoCutofftime',$register->cargoCutofftime), ['class' => 'form-control', 'placeholder'=>'00:00', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('vgmCutoffDate', 'VGM Cutoff Date', [ 'class' => 'w-100 control-label']) !!} {!! Form::date('vgmCutoffDate', old('vgmCutoffDate',$register->vgmCutoffDate), ['class' => 'form-control', 'min' => '2019-01-01', 'max' => '2080-01-01', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}

VGM deve estar entre Draft Cutoff e Cargo Cutoff

{!! Form::label('vgmCutoffTime', 'VGM Cutoff Hour', [ 'class' => 'w-100 control-label']) !!} {!! Form::time('vgmCutoffTime', old('vgmCutoffTime',$register->vgmCutoffTime), ['class' => 'form-control', 'placeholder'=>'00:00', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('transhipments', 'TS - Transhipment Port', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('transhipments', $select['transhipments'], old('transhipments',$register->transhipments), ['class' => 'transhipments form-control','multiple'=>'multiple', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!} @if($errors->has('transhipments')) {{$errors->first('transhipments')}} @endif
{!! Form::label('transitTime', 'Transit Time (days)', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::text('transitTime', old('transitTime',$register->transitTime), ['class' => 'form-control ', 'style' => 'text-transform:uppercase;', 'disabled'=>'disabled', 'readonly' => 'readonly' ]) !!}
{!! Form::label('container_types_id', 'Container Type', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('container_types_id', [''=>'------ Select Required ------']+$select['containerType'], old('container_types_id',$register->container_types_id), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('containerQty', 'Container Quantity', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::text('containerQty', old('containerQty',$register->containerQty), ['class' => 'form-control ', 'style' => 'text-transform:uppercase;', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('loading_terminals_id', 'Loading Terminal', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('loading_terminals_id', [''=>'------ Select Required ------']+$select['loadingTerminal'], old('loading_terminals_id',$register->loading_terminals_id), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('gateInForecast', 'Gate IN / Opening Forecast', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::date('gateInForecast', old('gateInForecast',$register->gateInForecast), ['class' => 'form-control ', 'min' => '2019-01-01', 'max' => '2080-01-01', 'style' => 'text-transform:uppercase;', 'disabled'=>'disabled', 'readonly' => 'readonly' ]) !!}

Data fora do período permitido

{!! Form::label('freeTimeDestination', 'Free Time At Destination (days)', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::number('freeTimeDestination', old('freeTimeDestination',$register->freeTimeDestination), ['class' => 'form-control ', 'style' => 'text-transform:uppercase;', 'disabled'=>'disabled', 'readonly' => 'readonly' ]) !!}
{!! Form::label('freeTimeOrigin', 'Free Time Origin (days)', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::number('freeTimeOrigin', old('freeTimeOrigin',$register->freeTimeOrigin), ['class' => 'form-control ', 'style' => 'text-transform:uppercase;', 'disabled'=>'disabled', 'readonly' => 'readonly' ]) !!}
{!! Form::label('incoterm', 'Incoterm ', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::select('incoterm', [''=>'---------- Select Required ----------']+$select['incoterm'], old('incoterm', $register->incoterm), ['class' => 'form-control ', 'style' => 'text-transform:uppercase;' ,'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('FreightRate', 'Freight Rate (USD)', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::number('FreightRate', old('FreightRate',$register->FreightRate), ['class' => 'form-control ', 'style' => 'text-transform:uppercase;', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('FreightBy', 'Freigh Payable By', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::text('FreightBy', old('FreightBy',$register->FreightBy), ['class' => 'form-control ', 'style' => 'text-transform:uppercase;', 'disabled'=>'disabled', 'readonly' => 'readonly' ]) !!}
{!! Form::label('FreightAt', 'Freight In', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::text('FreightAt', old('FreightAt',$register->FreightAt), ['class' => 'form-control ', 'style' => 'text-transform:uppercase;', 'disabled'=>'disabled', 'readonly' => 'readonly' ]) !!}
@if ($loadingType == 'LGP')

Stuffing Information

@foreach ($loading_empties as $item) @if($element==0)
{!! Form::label('tank_owners_id', 'Tank Owner', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('tank_owners_id[]', [''=>'------ Select Required ------']+$select['tankOwner'], old('tank_owners_id.'.$element, $item->tank_owners_id), ['class' => 'form-control', 'disabled' => 'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('empty_realese_places_id', 'Empty Release Place', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('empty_realese_places_id[]', [''=>'------ Select Required ------']+$select['EmptyRealesePlace'], old('empty_realese_places_id.'.$element, $item->empty_realese_places_id), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('emptyReleaseQty', 'Qty', [ 'class' => 'w-100 control-label']) !!} {!! Form::number('emptyReleaseQty[]', old('emptyReleaseQty.'.$element, $item->emptyReleaseQty),['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('emptyReleaseDate', 'Empty Release Date', [ 'class' => 'w-100 control-label']) !!} {!! Form::date('emptyReleaseDate[]', old('emptyReleaseDate.'.$element, $item->emptyReleaseDate),['class' => 'form-control', 'min' => '2019-01-01', 'max' => '2080-01-01', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
@else
{!! Form::label('tank_owners_id', 'Tank Owner', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('tank_owners_id['.$element.']', [''=>'------ Select Required ------']+$select['tankOwner'], old('tank_owners_id.'.$element, $item->tank_owners_id), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('empty_realese_places_id', 'Empty Release Place', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('empty_realese_places_id['.$element.']', [''=>'------ Select Required ------']+$select['EmptyRealesePlace'], old('empty_realese_places_id.'.$element, $item->empty_realese_places_id), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('emptyReleaseQty', 'Qty', [ 'class' => 'w-100 control-label']) !!} {!! Form::number('emptyReleaseQty['.$element.']', old('emptyReleaseQty.'.$element, $item->emptyReleaseQty),['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('emptyReleaseDate', 'Empty Release Date', [ 'class' => 'w-100 control-label']) !!} {!! Form::date('emptyReleaseDate['.$element.']', old('emptyReleaseDate.'.$element, $item->emptyReleaseDate),['class' => 'form-control', 'min' => '2019-01-01', 'max' => '2080-01-01', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
@endif
@endforeach @if($element==0) @if(old('emptyReleaseQty')) @for($i=0; $i < count(old('emptyReleaseQty')) ; $i++)
{!! Form::label('tank_owners_id', 'Tank Owner', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('tank_owners_id[]', [''=>'------ Select Required ------']+$select['tankOwner'], old('tank_owners_id.'.$i), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('empty_realese_places_id', 'Empty Release Place', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('empty_realese_places_id[]', [''=>'------ Select Required ------']+$select['EmptyRealesePlace'], old('empty_realese_places_id.'.$i), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('emptyReleaseQty', 'Qty', [ 'class' => 'w-100 control-label']) !!} {!! Form::number('emptyReleaseQty[]', old('emptyReleaseQty.'.$i),['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('emptyReleaseDate', 'Empty Release Date', [ 'class' => 'w-100 control-label']) !!} {!! Form::date('emptyReleaseDate[]', old('emptyReleaseDate.'.$i),['class' => 'form-control', 'min' => '2019-01-01', 'max' => '2080-01-01', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
@endfor @else
{!! Form::label('tank_owners_id', 'Tank Owner', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('tank_owners_id[]', [''=>'------ Select Required ------']+$select['tankOwner'], null, ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('empty_realese_places_id', 'Empty Release Place', [ 'class' => 'w-100 control-label']) !!} {!! Form::select("empty_realese_places_id[]", [''=>'------ Select Required ------']+$select['EmptyRealesePlace'], null, ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('emptyReleaseQty', 'Qty', [ 'class' => 'w-100 control-label']) !!} {!! Form::number("emptyReleaseQty[]", null,['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('emptyReleaseDate', 'Empty Release Date', [ 'class' => 'w-100 control-label']) !!} {!! Form::date("emptyReleaseDate[]", null,['class' => 'form-control', 'min' => '2019-01-01', 'max' => '2080-01-01', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
@endif @endif
@foreach ($loading_stuffings as $item) @if($element==0)
{!! Form::label('loading_plants_id', 'Loading Plant', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('loading_plants_id[]', $select['loadingPlant'], old('loading_plants_id.'.$element, $item->loading_plants_id), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('stuffing_terminals_id', 'Stuffing Place', [ 'class' => 'w-100 control-label']) !!} {!! Form::select("stuffing_terminals_id[]", [''=>'------ Select Required ------']+$select['StuffingTerminal'], old('stuffing_terminals_id.'.$element, $item->stuffing_terminals_id), ['class' => 'equipment form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('stuffingQty', 'Qty', [ 'class' => 'w-100 control-label']) !!} {!! Form::number("stuffingQty[]", old('stuffingQty.'.$element, $item->stuffingQty),['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('stuffingDate', 'Stuffing Date', [ 'class' => 'w-100 control-label']) !!} {!! Form::date("stuffingDate[]", old('stuffingDate.'.$element, $item->stuffingDate),['class' => 'form-control', 'min' => '2019-01-01', 'max' => '2080-01-01', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
@else
{!! Form::label('loading_plants_id', 'Loading Plant', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('loading_plants_id['.$element.']', $select['loadingPlant'], old('loading_plants_id.'.$element, $item->loading_plants_id), ['class' => 'loading_plants form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('stuffing_terminals_id', 'Stuffing Place', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('stuffing_terminals_id['.$element.']', [''=>'------ Select Required ------']+$select['StuffingTerminal'], old('stuffing_terminals_id.'.$element, $item->stuffing_terminals_id), ['class' => 'equipment form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('stuffingQty', 'Qty', [ 'class' => 'w-100 control-label']) !!} {!! Form::number('stuffingQty['.$element.']', old('stuffingQty.'.$element, $item->stuffingQty),['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('stuffingDate', 'Stuffing Date', [ 'class' => 'w-100 control-label']) !!} {!! Form::date('stuffingDate['.$element.']', old('stuffingDate.'.$element, $item->stuffingDate),['class' => 'form-control', 'min' => '2019-01-01', 'max' => '2080-01-01', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
@endif
@endforeach @if($element==0) @if(old('stuffingQty')) @for($i=0; $i < count(old('stuffingQty')) ; $i++)
{!! Form::label('loading_plants_id', 'Loading Plant', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('loading_plants_id[]', $select['loadingPlant'], old('loading_plants_id.'.$i), ['class' => 'loading_plants form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('stuffing_terminals_id', 'Stuffing Place', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('stuffing_terminals_id[]', [''=>'------ Select Required ------']+$select['StuffingTerminal'], old('stuffing_terminals_id.'.$i), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('stuffingQty', 'Qty', [ 'class' => 'w-100 control-label']) !!} {!! Form::number('stuffingQty[]', old('stuffingQty.'.$i),['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('stuffingDate', 'Stuffing Date', [ 'class' => 'w-100 control-label']) !!} {!! Form::date('stuffingDate[]', old('stuffingDate.'.$i),['class' => 'form-control', 'min' => '2019-01-01', 'max' => '2080-01-01', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
@endfor @else
{!! Form::label('loading_plants_id', 'Loading Plant', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('loading_plants_id[]', $select['loadingPlant'], old('loading_plants_id'), ['class' => 'loading_plants form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('stuffing_terminals_id', 'Stuffing Place', [ 'class' => 'w-100 control-label']) !!} {!! Form::select("stuffing_terminals_id[]", [''=>'------ Select Required ------']+$select['StuffingTerminal'], null, ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('stuffingQty', 'Qty', [ 'class' => 'w-100 control-label']) !!} {!! Form::number("stuffingQty[]", null,['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('stuffingDate', 'Stuffing Date', [ 'class' => 'w-100 control-label']) !!} {!! Form::date("stuffingDate[]", null,['class' => 'form-control', 'min' => '2019-01-01', 'max' => '2080-01-01', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
@endif @endif
{!! Form::label('freight_forwarders_id', 'Freight Forwarder', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('freight_forwarders_id', $select['freight_forwarders'], null, ['class' => 'equipment form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('hauling_id', 'Hauling', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('hauling_id', [''=>'------ Select Required ------']+$select['hauling'], old('hauling_id',$register->hauling_id), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('minQtyLoaded', 'Min Qty to be Loaded', [ 'class' => 'w-100 control-label']) !!} {!! Form::number('minQtyLoaded', old('minQtyLoaded',$register->minQtyLoaded), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('maxQtyLoaded', 'Max Qty To Be Loaded', [ 'class' => 'w-100 control-label']) !!} {!! Form::number('maxQtyLoaded', old('maxQtyLoaded',$register->maxQtyLoaded), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!} Please fill maximum total allowed quantity. Ex. 220.000. Sum up volume of all Equipments.
{!! Form::label('cargo_types_id', 'Cargo Type', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('cargo_types_id', [''=>'------ Select Required ------']+ $select['cargoType'], old('cargo_types_id',$register->cargo_types_id), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('u_n_s_id', 'U.N.', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('u_n_s_id', [''=>'------ Select Required ------']+ $select['UN'], old('u_n_s_id',$register->u_n_s_id), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('temperature', 'Temperature (°C)', [ 'class' => 'w-100 control-label']) !!} {!! Form::text('temperature', old('temperature',$register->temperature), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('foodgrade', 'Foodgrade', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('foodgrade', [''=>'-- Select Required --']+ $select['foodgrade'], old('foodgrade',$register->foodgrade), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('fumigations', 'Fumigation', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('fumigations', [''=>'-- Select Required --']+ $select['fumigation'], old('fumigations',$register->fumigations), ['class' => 'form-control', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('imoCutoffDate', 'IMO Cutoff Date', [ 'class' => 'w-100 control-label']) !!} {!! Form::date('imoCutoffDate', old('imoCutoffDate',$register->imoCutoffDate), ['class' => 'form-control', 'min' => '2019-01-01', 'max' => '2080-01-01', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}

IMO Cutoff Date deve ser menor que ETD POL

{!! Form::label('imoCutoffTime', 'IMO Cutoff Hour', [ 'class' => 'w-100 control-label']) !!} {!! Form::time('imoCutoffTime', old('imoCutoffTime',$register->imoCutoffTime), ['class' => 'form-control', 'placeholder'=>'00:00', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('inspectionDate', 'Inspection Date', [ 'class' => 'w-100 control-label']) !!} {!! Form::date('inspectionDate', old('inspectionDate',$register->inspectionDate), ['class' => 'form-control', 'min' => '2019-01-01', 'max' => '2080-01-01', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('isotankDetails', 'Isotank Details', [ 'class' => 'w-100 control-label', 'id'=>'labelTank' ]) !!} {!! Form::textarea('isotankDetails', old('isotankDetails',$register->isotankDetails), ['class' => 'form-control textsAreaSuper', 'rows' => 7, 'style' => 'text-transform:uppercase;' , 'id' => 'isoComments', 'disabled'=>'disabled', 'readonly' => 'readonly' ]) !!}

*Preencher apenas quando dados do(s) Equipamento(s) estiverem disponíveis

{!! Form::label('additionalDetails', 'Additional Details', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::textarea('additionalDetails', old('additionalDetails',$register->additionalDetails), ['class' => 'form-control textsAreaSuper', 'rows' => 7, 'style' => 'text-transform:uppercase;' , 'id' => 'addComments', 'disabled'=>'disabled' , 'readonly' => 'readonly']) !!}
@endif

Tank Owner

@forelse ($loading_empties as $key => $item)
{!! Form::label('tank_owners_id', 'Tank Owner', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('tank_owners_id[]', [''=>'------ Select Required ------']+$select['tankOwner'], old('tank_owners_id[]', $item->tank_owners_id), ['class' => 'form-control', 'disabled' => 'disabled','readonly' => 'readonly']) !!}
{!! Form::label('emptyReleaseQty', 'Qty', [ 'class' => 'w-100 control-label']) !!} {!! Form::number('emptyReleaseQty[]', old('emptyReleaseQty[]', $item->emptyReleaseQty),['class' => 'form-control', 'disabled' => 'disabled','readonly' => 'readonly']) !!}
{{ Form::hidden('emptyReleaseDate[]', null) }} @empty
{!! Form::label('tank_owners_id', 'Tank Owner', [ 'class' => 'w-100 control-label']) !!} {!! Form::select('tank_owners_id[]', [''=>'------ Select Required ------']+$select['tankOwner'], old('tank_owners_id', null), ['class' => 'form-control', 'disabled' => 'disabled', 'readonly' => 'readonly']) !!}
{!! Form::label('emptyReleaseQty', 'Qty', [ 'class' => 'w-100 control-label']) !!} {!! Form::number('emptyReleaseQty[]', old('emptyReleaseQty[]', null),['class' => 'form-control', 'disabled' => 'disabled', 'readonly' => 'readonly']) !!}
{{ Form::hidden('emptyReleaseDate[]', null) }} @endforelse
{!! Form::label('isotankDetails', 'Isotank Details', [ 'class' => 'w-100 control-label', 'id'=>'labelTank' ]) !!} {!! Form::textarea('isotankDetails', old('isotankDetails',$register->isotankDetails), ['class' => 'form-control textsAreaSuper', 'rows' => 7, 'style' => 'text-transform:uppercase;' , 'id' => 'isoTankComments', 'disabled' => 'disabled', 'readonly' => 'readonly' ]) !!}

*Preencher apenas quando dados do(s) Equipamento(s) estiverem disponíveis

Comments / Attachment

{!! Form::label('comments', 'Comments', [ 'class' => 'w-100 control-label']) !!} {!! Form::textarea('comments', old('comments',$register->comments), ['class' => 'form-control textsAreaSuper', 'rows' => 3, 'id' => 'comments', 'disabled'=>'disabled', 'readonly' => 'readonly']) !!}
@yield('attach_edit_list')
@include('loading.loadingPlan.style') @include('include.modal_deletar', ["rota" => "Logistics Plan"]) @endSection