@extends('layouts.template') @section('content')
{!! Form::open(['url' => '/logistic/order/store', 'id' => 'myform', 'class' => 'form-horizontal', 'files' => true]) !!}

Order Booking : @if(Auth::user()->logistic_type == '2') Export @endif @if(Auth::user()->logistic_type == '1') Import @endif @if($lastInsertedID) @if(Auth::user()->logistic_type == '2') #EXP{{ $lastInsertedID[0]+1 }} @endif @if(Auth::user()->logistic_type == '1') #IMP{{ $lastInsertedID[0]+1 }} @endif @endif

Services *

{!! Form::checkbox('services[]','clearance',null,array('id'=>'inlineCheckbox1','class' => 'styled')); !!}
{!! Form::checkbox('services[]','packing',null,array('id'=>'inlineCheckbox2','class' => 'styled')); !!}
{!! Form::checkbox('services[]','unpacking',null,array('id'=>'inlineCheckbox3','class' => 'styled')); !!}
{!! Form::checkbox('services[]','transportation',null,array('id'=>'inlineCheckbox4','class' => 'styled')); !!}
{!! Form::checkbox('services[]','warehouse',null,array('id'=>'inlineCheckbox5','class' => 'styled')); !!}
{!! $errors->first('services', ':message') !!}

customer details

*
{!! Form::select('shipper',['' => 'Select Shipper'] + $page_data['shippers']->toArray() , null, ['id'=>'shipper','class' => 'form-control arr']) !!} {!! $errors->first('shipper', '

:message

') !!}
* {!! Form::text('shipping_ref', null, array('placeholder' => 'Shipping Ref','class' => 'form-control')) !!} {!! $errors->first('shipping_ref', '

:message

') !!}
* {!! Form::text('port_agent', null, array('placeholder' => 'Port Agent','class' => 'form-control')) !!} {!! $errors->first('port_agent', '

:message

') !!}
* {!! Form::select('consignee',['' => 'Select Consignee'] + $page_data['consignees']->toArray() , null, ['class' => 'form-control arr']) !!} {!! $errors->first('shipper', '

:message

') !!}
* {!! Form::text('consignee_ref', null, array('placeholder' => 'Consignee Ref','class' => 'form-control')) !!} {!! $errors->first('consignee_ref', '

:message

') !!}
* {!! Form::text('border_agent', null, array('placeholder' => 'Border Agent','class' => 'form-control')) !!} {!! $errors->first('border_agent', '

:message

') !!}
* {!! Form::text('notify', null, array('placeholder' => 'Notify','class' => 'form-control')) !!} {!! $errors->first('notify', '

:message

') !!}
* {!! Form::text('customer_ref', null, array('placeholder' => 'Customer Ref','class' => 'form-control')) !!} {!! $errors->first('customer_ref', '

:message

') !!}
*
{!! Form::select('customer', ['' => 'Select Customer'] + $page_data['customers']->toArray() , null, ['id'=>'customer','class' => 'form-control arr']) !!} {!! $errors->first('customer', '

:message

') !!}
* {!! Form::textarea('delivery_address', null, ['size' => '30x5','class'=>'form-control inp_textarea','placeholder'=>'Delivery Address']) !!} {!! $errors->first('delivery_address', '

:message

') !!}

Document check list

{!! Form::checkbox('document_files[]','alf_group', null, ['id'=>'area6','class' => 'magic-checkbox area trigger_chk']) !!} {!! Form::file('alf_group_file', ['class' => 'file_u form-control','style'=>'display:none;']) !!} {!! $errors->first('alf_group_file', '

:message

') !!} {!! Form::hidden('alf_group_hidden', 'ALF Group') !!}
{!! Form::checkbox('document_files[]','commercial_invoice', null, ['id'=>'area7','class' => 'magic-checkbox area trigger_chk']) !!} {!! Form::file('commercial_invoice_file', ['class' => 'file_u form-control','style'=>'display:none;']) !!} {!! $errors->first('commercial_invoice_file', '

:message

') !!} {!! Form::hidden('commercial_invoice_hidden', 'Commercial Invoice') !!}
{!! Form::checkbox('document_files[]','certificate_of_origin', null, ['id'=>'area8','class' => 'magic-checkbox area trigger_chk']) !!} {!! Form::file('certificate_of_origin_file', ['class' => 'file_u form-control','style'=>'display:none;']) !!} {!! Form::hidden('certificate_of_origin_hidden', 'Certificate of Origin') !!}
{!! Form::checkbox('document_files[]','phytosanitary_certificate', null, ['id'=>'area9','class' => 'magic-checkbox area trigger_chk']) !!} {!! Form::file('phytosanitary_certificate_file', ['class' => 'file_u form-control','style'=>'display:none;']) !!} {!! Form::hidden('phytosanitary_certificate_hidden', 'Phytosanitary Certificate') !!}
{!! Form::checkbox('document_files[]','fumigation_certificate',null, ['id'=>'area10','class' => 'magic-checkbox area trigger_chk']) !!} {!! Form::file('fumigation_certificate_file', ['class' => 'file_u form-control','style'=>'display:none;']) !!} {!! Form::hidden('fumigation_certificate_hidden', 'Fumigation Certificate') !!}
{!! Form::checkbox('document_files[]','shipping_instruction', null, ['id'=>'area11','class' => 'magic-checkbox area trigger_chk']) !!} {!! Form::file('shipping_instruction_file', ['class' => 'file_u form-control','style'=>'display:none;']) !!} {!! Form::hidden('shipping_instruction_hidden', 'Shipping Instruction') !!}
{!! Form::checkbox('document_files[]','bill_oflading', null, ['id'=>'area12','class' => 'magic-checkbox area trigger_chk']) !!} {!! Form::file('bill_oflading_file', ['class' => 'file_u form-control','style'=>'display:none;']) !!} {!! Form::hidden('bill_oflading_hidden', 'Bill of lading') !!}
{!! Form::checkbox('document_files[]','bill_of_entry', null, ['id'=>'area13','class' => 'magic-checkbox area trigger_chk']) !!} {!! Form::file('bill_of_entry_file', ['class' => 'file_u form-control','style'=>'display:none;']) !!} {!! Form::hidden('bill_of_entry_hidden', 'Bill of Entry') !!}
{!! Form::checkbox('document_files[]','cd1', null, ['id'=>'area14','class' => 'magic-checkbox area trigger_chk']) !!} {!! Form::file('cd1_file', ['class' => 'file_u form-control','style'=>'display:none;']) !!} {!! Form::hidden('cd1_hidden', 'CD1') !!}
{!! Form::checkbox('document_files[]','transit_declaration', null, ['id'=>'area15','class' => 'magic-checkbox area trigger_chk']) !!} {!! Form::file('transit_declaration_file', ['class' => 'file_u form-control','style'=>'display:none;']) !!} {!! Form::hidden('transit_declaration_hidden', 'Transit Declaration') !!}
{!! $errors->first('document_files', ':message') !!}

shiping details

*
{!! Form::select('shipping_line', ['' => 'Select Shipping Line'] + $page_data['shipping_lines']->toArray(), null, ['id'=>'shipping_line','class' => 'form-control arr']) !!} {!! $errors->first('shipping_line', '

:message

') !!}
* {!! Form::text('booking_no', null, array('placeholder' => 'Booking No.','class' => 'form-control')) !!} {!! $errors->first('booking_no', '

:message

') !!}
* {!! Form::text('booking_ref', null, array('placeholder' => 'Booking Ref','class' => 'form-control')) !!} {!! $errors->first('booking_ref', '

:message

') !!}
* {!! Form::text('bill_of_lading', null, array('placeholder' => 'Bill Of Lading','class' => 'form-control')) !!} {!! $errors->first('bill_of_lading', '

:message

') !!}
*
{!! Form::select('loading_port', ['' => 'Select Loading Port'] + $page_data['loading_port']->toArray() , null, ['class' => 'form-control arr']) !!} {!! $errors->first('loading_port', '

:message

') !!}
*
{!! Form::text('destination', null, array('placeholder' => 'Destination','class' => 'form-control')) !!} {!! $errors->first('destination', '

:message

') !!}
*
{!! Form::select('discharge_port', ['' => 'Select Discharge Port'] + $page_data['discharge_port']->toArray(), null, ['class' => 'form-control arr']) !!} {!! $errors->first('discharge_port', '

:message

') !!}
*
{!! Form::text('origin', null, array('placeholder' => 'Origin','class' => 'form-control')) !!} {!! $errors->first('origin', '

:message

') !!}

Remark *

{!! Form::textarea('remarks', null, ['size' => '30x5','class'=>'form-control inp_textarea','placeholder'=>'Enter your Remark Here..']) !!} {!! $errors->first('remarks', '
:message
') !!}

cargo details

*
{!! Form::select('vessel', ['' => 'Select Vessel'] + $page_data['vessels']->toArray() , null, ['id'=>'vessels','class' => 'form-control arr']) !!} {!! $errors->first('vessel', '

:message

') !!}
* {!! Form::text('voyage', null, ['placeholder' => 'Voyage','id'=>'voyage','class' => 'form-control','readonly'=>'']) !!} {!! $errors->first('voyage', '

:message

') !!}
*
{!! Form::select('product', ['' => 'Select Product'] + $page_data['products']->toArray() , null, ['id'=>'product','class' => 'form-control arr']) !!} {!! $errors->first('product', '

:message

') !!}
* {!! Form::text('product_detail', null, array('placeholder' => 'Product Details','class' => 'form-control')) !!} {!! $errors->first('product_detail', '

:message

') !!}
* {!! Form::text('unit_price', null, ['id'=>'unit_price','placeholder' => 'Unit Price','class' => 'form-control']) !!} {!! $errors->first('unit_price', '

:message

') !!}
* {!! Form::text('product_value', null, array('placeholder' => 'Product Value','class' => 'form-control','id'=>'product_value')) !!} {!! $errors->first('product_value', '

:message

') !!}
*
{!! Form::select('hazardous',['' => 'Select Hazard'] + $page_data['hazardous_list']->toArray(), null, ['class' => 'form-control arr']) !!} {!! $errors->first('hazardous', '

:message

') !!}
*
{!! Form::select('unno_imo', ['' => 'Select Unno'] + $page_data['unno_imos']->toArray(), null, ['class' => 'form-control arr']) !!} {!! $errors->first('unno_imo', '

:message

') !!}
* {!! Form::text('msds', null, array('placeholder' => 'MSDS','class' => 'form-control')) !!} {!! $errors->first('msds', '

:message

') !!}

Containarized

{!! Form::text('container', null, array('placeholder' => 'Container','class' => 'form-control','id'=>'container')) !!} {!! $errors->first('container', '

:message

') !!}
{!! Form::select('size', [''=>'Select Size','20'=>'20`','40'=>'40`'] , null, ['class' => 'form-control arr','id'=>'size']) !!} {!! $errors->first('size', '

:message

') !!}
{!! Form::text('seal', null, array('placeholder' => 'Seal','class' => 'form-control','id'=>'seal')) !!} {!! $errors->first('seal', '

:message

') !!}
{!! Form::text('other_seal', null, array('placeholder' => 'Seal Other','class' => 'form-control','id'=>'other_seal')) !!}
{!! Form::text('con_quantity', null, array('placeholder' => 'Quantity','class' => 'form-control','id'=>'con_quantity')) !!} {!! $errors->first('con_quantity', '

:message

') !!}
{!! Form::text('con_packaging', null, array('placeholder' => 'Packaging','class' => 'form-control','id'=>'con_packaging')) !!} {!! $errors->first('con_packaging', '

:message

') !!}
{!! Form::text('con_weight', null, array('placeholder' => 'Weight','class' => 'form-control','id'=>'con_weight')) !!} {!! $errors->first('con_weight', '

:message

') !!}
{!! Form::text('con_remark', null, array('placeholder' => 'Remark','class' => 'form-control','id'=>'con_remark')) !!} {!! $errors->first('con_remark', '

:message

') !!}
Container Size Seal Other Seal Quantity Packaging Weight Remark
Total 20
Total 40

Break Bulk

{!! Form::text('bb_cargo_product', null, array('placeholder' => 'Product','class' => 'form-control', 'id'=>'bb_cargo_product')) !!} {!! $errors->first('bb_cargo_product', '

:message

') !!}
{!! Form::text('bb_quantity', null, array('placeholder' => 'Quantity','class' => 'form-control','id'=>'bb_quantity')) !!} {!! $errors->first('bb_quantity', '

:message

') !!}
{!! Form::text('bb_packaging', null, array('placeholder' => 'Packaging','class' => 'form-control','id'=>'bb_packaging')) !!} {!! $errors->first('bb_packaging', '

:message

') !!}
{!! Form::text('bb_weight', null, array('placeholder' => 'Weight','class' => 'form-control','id'=>'bb_weight')) !!} {!! $errors->first('bb_weight', '

:message

') !!}
{!! Form::text('bb_remark', null, array('placeholder' => 'Remark','class' => 'form-control','id'=>'bb_remark')) !!} {!! $errors->first('bb_remark', '

:message

') !!}
Product Quantity Packaging Weight Remark
Total

LCL

{!! Form::text('lcl_cargo_product', null, array('placeholder' => 'Product','class' => 'form-control','id'=>'lcl_cargo_product')) !!} {!! $errors->first('lcl_cargo_product', '

:message

') !!}
{!! Form::text('lcl_quantity', null, array('placeholder' => 'Quantity','class' => 'form-control','id'=>'lcl_quantity')) !!} {!! $errors->first('lcl_quantity', '

:message

') !!}
{!! Form::text('lcl_packaging', null, array('placeholder' => 'Packaging','class' => 'form-control','id'=>'lcl_packaging')) !!} {!! $errors->first('lcl_quantity', '

:message

') !!}
{!! Form::text('lcl_length', null, array('placeholder' => 'Length','class' => 'form-control','id'=>'lcl_length')) !!} {!! $errors->first('lcl_length', '

:message

') !!}
{!! Form::text('lcl_width', null, array('placeholder' => 'Width','class' => 'form-control','id'=>'lcl_width')) !!} {!! $errors->first('lcl_width', '

:message

') !!}
{!! Form::text('lcl_height', null, array('placeholder' => 'Height','class' => 'form-control','id'=>'lcl_height')) !!} {!! $errors->first('lcl_height', '

:message

') !!}
{!! Form::text('lcl_weight', null, array('placeholder' => 'Weight','class' => 'form-control','id'=>'lcl_weight')) !!} {!! $errors->first('lcl_weight', '

:message

') !!}
{!! Form::text('lcl_cbm', null, array('placeholder' => 'CBM','class' => 'form-control','id'=>'lcl_cbm')) !!} {!! $errors->first('lcl_cbm', '

:message

') !!}
Product Quantity Packaging Length Width Height Weight Cbm
Total

OOG

{!! Form::text('og_cargo_product', null, array('placeholder' => 'Product','class' => 'form-control','id'=>'og_cargo_product')) !!} {!! $errors->first('og_cargo_product', '

:message

') !!}
{!! Form::text('og_quantity', null, array('placeholder' => 'Quantity','class' => 'form-control','id'=>'og_quantity')) !!} {!! $errors->first('og_quantity', '

:message

') !!}
{!! Form::text('og_packaging', null, array('placeholder' => 'Packaging','class' => 'form-control','id'=>'og_packaging')) !!} {!! $errors->first('og_packaging', '

:message

') !!}
{!! Form::text('og_length', null, array('placeholder' => 'Length','class' => 'form-control','id'=>'og_length')) !!} {!! $errors->first('og_length', '

:message

') !!}
{!! Form::text('og_width', null, array('placeholder' => 'Width','class' => 'form-control','id'=>'og_width')) !!} {!! $errors->first('og_width', '

:message

') !!}
{!! Form::text('og_height', null, array('placeholder' => 'Height','class' => 'form-control','id'=>'og_height')) !!} {!! $errors->first('og_height', '

:message

') !!}
{!! Form::text('og_weight', null, array('placeholder' => 'Weight','class' => 'form-control','id'=>'og_weight')) !!} {!! $errors->first('og_weight', '

:message

') !!}
{!! Form::text('og_cbm', null, array('placeholder' => 'CBM','class' => 'form-control','id'=>'og_cbm')) !!} {!! $errors->first('og_cbm', '

:message

') !!}
Product Quantity Packaging Length Width Height Weight Cbm
Total
{!! Form::close() !!}
@endsection