@extends('layout.padrao') @section('title', 'Create - Tank Leasing Rate') @section('content') @if($errors->any())
@foreach($errors->all() as $error) {{ $error }}
@endforeach
@endif {{ Form::open(array('method' => 'post', 'enctype'=>'multipart/form-data', 'files' =>true, 'route'=>'storeTankLeasing' , 'id'=>'tankleasing_create')) }} {{ csrf_field() }} {{ Form::hidden('loadingType' , 'TLR') }}
{!! Form::label('tank_owners_id', 'Tank Owner', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::select('tank_owners_id', $select['tankOwners'] , null, ['class' => 'form-control ', 'id' => 'tankOwners']) !!}
{!! Form::label('platforms_id', 'Product', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::select('platforms_id[]', $select['platforms'], old('platforms_id',null), ['class' => 'platforms form-control','multiple'=>'multiple']) !!}
{!! Form::label('tankValidadeFrom', 'Quote Valid From', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::date('tankValidadeFrom', null , ['class' => 'form-control ', 'min' => '2019-01-01', 'max' => '2080-01-01']) !!}
{!! Form::label('tankValidadeTo', 'Quote Valid To', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::date('tankValidadeTo', null , ['class' => 'form-control ', 'min' => '2019-01-01', 'max' => '2080-01-01']) !!}
{!! Form::label('tankOwnerQuoteReference', 'Tank Owner #', [ 'class' => 'w-100 control-label', ]) !!} {!! form::text('tankOwnerQuoteReference', null, ['class' => 'form-control'])!!}
{!! Form::label('container_types_id', 'Container Type/Equipment', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::select('container_types_id', $select['containerTypes'], null, ['class' => ' form-control' , 'id' => 'containerTypes']) !!}
{!! Form::label('loading_ports_id', 'Loading Port', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::select('loading_ports_id[]', $select['loadingPorts'], old('loading_ports_id',null), ['class' => 'loadingPorts form-control','multiple'=>'multiple']) !!}
{!! Form::label('port_destinations', 'Destination Port', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::select('port_destinations[]', $select['destinationPort'], old('port_destinations',null), ['class' => 'destinationPort form-control','multiple'=>'multiple']) !!}
{!! Form::checkbox('flexiTank', 1, null , ['id' => 'flexiTank']); !!} {!! Form::label('flexiTank', 'Flexitank', [ 'class' => 'pr-16 control-label']) !!}
{!! Form::checkbox('chemicalTank', 1, null, ['id' => 'chemicalTank']); !!} {!! Form::label('chemicalTank', 'Chemical Tank', [ 'class' => 'pr-16 control-label']) !!}
{!! Form::checkbox('foodGradeTank', 1, null , ['id' => 'foodGradeTank']); !!} {!! Form::label('foodGradeTank', 'Food Grade Tank', [ 'class' => 'pr-16 control-label']) !!}
{!! Form::checkbox('fosfaTank', 1, null , ['id' => 'fosfaTank']); !!} {!! Form::label('fosfaTank', 'Fosfa Tank', [ 'class' => 'pr-16 control-label', 'id' => 'fosfaTank']) !!}

RENTAL

{!! Form::label('rental', 'Rental - USD', [ 'class' => 'w-100 control-label', 'id' => 'rental' ]) !!} {!! Form::number('rental', null , ['class' => 'form-control ', 'step' =>'0.01']) !!}
{!! Form::label('foodGradeCleaning', 'Food Grade Cleaning - USD', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::number('foodGradeCleaning', null , ['class' => 'form-control ' , 'step' =>'0.01']) !!}
{!! Form::label('regularCleaning', 'Regular Cleaning - USD', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::number('regularCleaning', null , ['class' => 'form-control ' , 'step' =>'0.01']) !!}
{!! Form::label('freeTimeOrigin', 'Free Time Origin', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::number('freeTimeOrigin', null , ['class' => 'form-control ' , 'step' =>'0.01']) !!}
{!! Form::label('freeTimeDestination', 'Free Time Destination', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::number('freeTimeDestination', null , ['class' => 'form-control ' , 'step' =>'0.01']) !!}
{!! Form::label('kosherCleaning', 'Kosher Cleaning - USD', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::number('kosherCleaning', null , ['class' => 'form-control ' , 'step' =>'0.01']) !!}
{!! Form::label('nitrogen', 'Nitrogenio - USD', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::number('nitrogen', null , ['class' => 'form-control ' , 'step' =>'0.01']) !!}
{!! Form::label('kosherCertificate', 'Kosher Certificate - USD', [ 'class' => 'w-100 control-label', ]) !!} {!! Form::number('kosherCertificate', null , ['class' => 'form-control ' , 'step' =>'0.01']) !!}

Comments / Attachment

{!! Form::label('addComments', 'ADDITIONAL COMMENTS', [ 'class' => 'w-100 control-label' , 'style' => 'margin-left:10px']) !!} {!! Form::textarea('addComments', null , ['class' => 'form-control textsAreaBig', 'rows' => 3 , 'style' => 'margin-left:10px;margin-bottom:10px' , 'id' => 'comments']) !!}
{!! Form::select('anexo_types_id[]',[''=>'-------------- Select Required ----------------']+$select['anexo_types_id'], null, ['class' => 'form-control', 'style'=>'height:40px']) !!}
@include('tankLeasingRate.script') @endsection