@extends('layouts.fixed')
@section('title','Export Register Form')
@section('css')
@endsection
@section('content')
{{ Form::open(['action'=>'ExportRegisterController@store','method'=>'POST','id'=>'form','class'=>'form-horizontal']) }}
{{ Form::select('pi_details_id',$pi_numbers,null,['class'=>'form-control select-2','id'=>'exp_lc_no','onchange'=>'getInfo()','placeholder'=>'Select Export Cont. / lc'])}}
{{----}}
{{ Form::label('','Company Unit') }}
{{ Form::text('company_unit',null,['class'=>'form-control','id'=>'company_unit','readonly' => 'true']) }}
@if($errors->has('company_unit'))
{{ $errors->first('company_unit') }}
@endif
{{--
{{ Form::label('','Export L/C Value : ') }}
{{ Form::text('exp_lc_value',null,['id'=>'exp_lc_value','class'=>'form-control','placeholder'=>'Export L/C Value','readonly']) }}
@if($errors->has('exp_lc_value'))
{{ $errors->first('exp_lc_value') }}
@endif
--}}
{{ Form::label('','Order Qty : ') }}
{{ Form::text('shipment_qty',null,['id'=>'shipment_qty','class'=>'form-control','placeholder'=>'Order Qty','readonly']) }}
@if($errors->has('shipment_qty'))
{{ $errors->first('shipment_qty') }}
@endif
{{ Form::label('','Order Value : ') }}
{{ Form::text('shipment_value',null,['id'=>'shipment_value','class'=>'form-control','placeholder'=>'Order Value','readonly']) }}
@if($errors->has('shipment_value'))
{{ $errors->first('shipment_value') }}
@endif
{{ Form::label('','File No: ') }}
{{ Form::text('file_no',null,['id'=>'file_no','class'=>'form-control','placeholder'=>'File No']) }}
@if($errors->has('file_no'))
{{ $errors->first('file_no') }}
@endif
{{ Form::hidden('ord_ref',null,['id'=>'ord_ref','class'=>'form-control','placeholder'=>'Order Ref']) }}
{{--
--}}
{{--
--}}
{{--{{ Form::label('','Order Ref : ') }}--}}
{{--@if($errors->has('ord_ref'))--}}
{{----}}
{{--{{ $errors->first('ord_ref') }}--}}
{{----}}
{{--@endif--}}
{{--
--}}
{{--
--}}
{{ Form::label('','Invoice No : ') }}
{{ Form::text('inv_no',null,['class'=>'form-control','placeholder'=>'Invoice No.']) }}
@if($errors->has('inv_no'))
{{ $errors->first('inv_no') }}
@endif
{{ Form::label('','Invoice Date : ') }}
{{ Form::date('invoice_date',null,['class'=>'form-control']) }}
@if($errors->has('invoice_date'))
{{ $errors->first('invoice_date') }}
@endif
{{ Form::label('','Invoice Value: ') }}
{{ Form::number('inv_value',null,['id'=>'inv_value','class'=>'form-control','step'=>'any','placeholder'=>'Invoice Value','onKeyup'=>'cm_calculate()']) }}
@if($errors->has('inv_value'))
{{ $errors->first('inv_value') }}
@endif
{{ Form::label('','CM%: ') }}
{{ Form::number('cm_percent',null,['step'=>'any','id'=>'cm_percent','class'=>'form-control','placeholder'=>'CM%','onKeyup'=>'cm_calculate()']) }}
@if($errors->has('cm_percent'))
{{ $errors->first('cm_percent') }}
@endif
{{ Form::label('','CM Total: ') }}
{{ Form::number('cm_total',null,['step'=>'any','id'=>'cm_total','class'=>'form-control','placeholder'=>'CM Total']) }}
@if($errors->has('cm_total'))
{{ $errors->first('cm_total') }}
@endif
{{ Form::label('','Bill Value : ') }}
{{ Form::number('bill_value',null,['class'=>'form-control','step'=>'any','placeholder'=>'Bill Value']) }}
@if($errors->has('bill_value'))
{{ $errors->first('bill_value') }}
@endif
{{ Form::label('','Nego Date : ') }}
{{ Form::date('nego_date',null,['class'=>'form-control','placeholder'=>'Nego Date']) }}
@if($errors->has('nego_date'))
{{ $errors->first('nego_date') }}
@endif
{{ Form::label('','Style No/p.o No : ') }}
{{ Form::text('style_no',null,['class'=>'form-control','placeholder'=>'Style No/p.o No']) }}
@if($errors->has('style_no'))
{{ $errors->first('style_no') }}
@endif
{{ Form::label('','Quantity(pcs) : ') }}
{{ Form::number('qty_pcs',null,['id'=>'qty_pcs','class'=>'form-control','step'=>'any','onKeyup'=>'dzn_calculate()','placeholder'=>'Quantity(pcs)']) }}
@if($errors->has('qty_pcs'))
{{ $errors->first('qty_pcs') }}
@endif
{{ Form::label('','Quantity(dzs) : ') }}
{{ Form::number('qty_dzs',null,['id'=>'qty_dzs','step'=>'any','class'=>'form-control','placeholder'=>'Quantity(dzs)','readonly']) }}
@if($errors->has('qty_dzs'))
{{ $errors->first('qty_dzs') }}
@endif
{{ Form::label('','Bank Ref. No : ') }}
{{ Form::text('ref_no',null,['class'=>'form-control','placeholder'=>'Bank Ref. No']) }}
@if($errors->has('ref_no'))
{{ $errors->first('ref_no') }}
@endif
{{ Form::label('','Export LC No : ') }}
{{ Form::text('export_lc_no',null,['class'=>'form-control','id'=>'export_lc_no_down','placeholder'=>'Export LC No']) }}
@if($errors->has('export_lc_no'))
{{ $errors->first('export_lc_no') }}
@endif
{{----}}
{{ Form::label('','B/L No. / AWB No : ') }}
{{ Form::text('bl_no',null,['class'=>'form-control','placeholder'=>'B/L No. / AWB No']) }}
@if($errors->has('bl_no'))
{{ $errors->first('bl_no') }}
@endif
{{ Form::label('','B/L Date : ') }}
{{ Form::date('bl_date',null,['class'=>'form-control','placeholder'=>'B/L Date']) }}
@if($errors->has('bl_date'))
{{ $errors->first('bl_date') }}
@endif
{{ Form::label('','Shipping Bill No : ') }}
{{ Form::text('shipping_bill_no',null,['class'=>'form-control','placeholder'=>'Shipping Bill No']) }}
@if($errors->has('shipping_bill_no'))
{{ $errors->first('shipping_bill_no') }}
@endif
{{ Form::label('','Shipping Date : ') }}
{{ Form::date('shipping_date',null,['class'=>'form-control','placeholder'=>'Shipping Date']) }}
@if($errors->has('shipping_date'))
{{ $errors->first('shipping_date') }}
@endif
{{ Form::label('','Exp No : ') }}
{{ Form::text('exp_no',null,['class'=>'form-control','placeholder'=>'Exp No']) }}
@if($errors->has('exp_no'))
{{ $errors->first('exp_no') }}
@endif
{{ Form::label('','Exp Date : ') }}
{{ Form::date('exp_date',null,['class'=>'form-control','placeholder'=>'Exp Date']) }}
@if($errors->has('exp_date'))
{{ $errors->first('exp_date') }}
@endif
{{ Form::close() }}
@endsection
@section('script')
@endsection