{!! Form::select('shipping_line_id',['' => 'Line'] + $page_data['shippedLine']->toArray() , null, ['class' => 'm-wrap form-control width-auto', 'required' => 'true']) !!} |
{!! Form::select('ports_id',['' => 'Port'] + $page_data['port']->toArray() , null, ['class' => 'm-wrap form-control width-auto', 'required' => 'true']) !!} |
{!! Form::text('call_sign', null, ['class' => 'm-wrap form-control width-auto', 'placeholder' => 'Call Sign']) !!} |
{!! Form::select('vessel',['' => 'Vessel'] + $page_data['vessels']->toArray() , null, ['class' => 'm-wrap form-control width-auto', 'required' => 'true']) !!} |
{!! Form::text('voyage', null, ['class' => 'm-wrap form-control width-auto', 'placeholder' => 'Voyage', 'required' => 'true']) !!} |
{!! Form::date('vgm', null, ['class' => 'm-wrap form-control width-auto change-format-class', 'placeholder' => 'Vgm', 'data-date-format' => 'DD-MM-YY']) !!} |
{!! Form::date('mates_receipt', null, ['class' => 'm-wrap form-control width-auto change-format-class', 'placeholder' => 'Mates Receipt', 'data-date-format' => 'DD-MM-YY']) !!} |
{!! Form::date('stack_open', null, ['class' => 'm-wrap form-control width-auto change-format-class', 'placeholder' => 'Stack Open', 'data-date-format' => 'DD-MM-YY']) !!} |
{!! Form::date('stack_close', null, ['class' => 'm-wrap form-control width-auto change-format-class', 'placeholder' => 'Stack Close', 'data-date-format' => 'DD-MM-YY']) !!} |
{!! Form::date('eta', null, ['class' => 'm-wrap form-control width-auto change-format-class', 'placeholder' => 'Eta', 'required' => 'true', 'data-date-format' => 'DD-MM-YY']) !!} |
{!! Form::date('berth', null, ['class' => 'm-wrap form-control width-auto change-format-class', 'placeholder' => 'Berth', 'required' => 'true', 'data-date-format' => 'DD-MM-YY']) !!} |
{!! Form::date('etd', null, ['class' => 'm-wrap form-control width-auto change-format-class', 'placeholder' => 'Etd', 'required' => 'true', 'data-date-format' => 'DD-MM-YY']) !!} |
{!! Form::date('depature', null, ['class' => 'm-wrap form-control width-auto change-format-class', 'placeholder' => 'Depature', 'required' => 'true', 'data-date-format' => 'DD-MM-YY']) !!} |
@php
$arriveddate = strtotime($vessel->berth);
$storagedate = date('Y-m-d', strtotime("+12 day", $arriveddate));
@endphp
{!! Form::date('storagedate', $storagedate, ['class' => 'm-wrap form-control width-auto change-format-class', 'required' => 'true', 'readonly' => 'true', 'data-date-format' => 'DD-MM-YY']) !!} |
{!! Form::select('status', ['Inactive', 'Active'], null, ['class' => 'm-wrap form-control width-auto', 'data-date-format' => 'DD-MM-YY']) !!} |
|
|