@extends ('core.layouts.app') @section ('title', $words['title']) @section('page-header')

{{ trans('labels.backend.orders.management') }} {{ trans('labels.backend.orders.create') }}

@endsection @section('content')

{{$words['bill_to_from']}} {{$words['add_person']}}

{{ Form::label( 'cst',$words['search_person'],['class' => 'caption']) }} {{ Form::text('cst', null, ['class' => 'form-control round user-box', 'placeholder' =>$words['enter_person'], 'data-section'=>$words['section_person'],'id'=>$words['section_person'].'-box','autocomplete'=>'off']) }}
{{$words['person_details']}}


{{trans('warehouses.warehouse')}} {{ Form::hidden('customer_id', '0',['id'=>'customer_id']) }}

{{$words['properties']}}

{{ Form::number('tid', @$last_invoice->tid+1, ['class' => 'form-control round', 'placeholder' => trans('general.serial_no')]) }}
{{ Form::text('refer', null, ['class' => 'form-control round', 'placeholder' => trans('general.reference')]) }}
{{ Form::text('invoicedate', null, ['class' => 'form-control round required', 'placeholder' => trans('general.date'),'data-toggle'=>'datepicker','autocomplete'=>'false']) }}
{{ Form::text('invoiceduedate', null, ['class' => 'form-control round required', 'placeholder' => trans('general.due_date'),'data-toggle'=>'datepicker','autocomplete'=>'false']) }}
{{ Form::textarea('notes', null, ['class' => 'form-control round', 'placeholder' => trans('general.note'),'rows'=>'2']) }}
{{trans('general.item_name')}} {{trans('general.quantity')}} {{trans('general.rate')}} {{trans('general.tax_p')}} {{trans('general.tax')}} {{trans('general.discount')}} {{trans('general.amount')}} ({{config('currency.symbol')}}) {{trans('general.action')}}
0 {{config('currency.symbol')}} 0

{{ Form::hidden('subtotal','0',['id'=>'subttlform']) }} {{trans('general.total_tax')}} {{config('currency.symbol')}} 0
{{trans('general.total_discount')}} 0
{{trans('general.shipping')}} ( {{trans('general.tax')}} {{config('currency.symbol')}} 0 )
{{trans('general.extra_discount')}} ( {{config('currency.symbol')}} 0 )
{{trans('general.payment_currency_client')}} {{trans('general.based_live_market')}} {{trans('general.grand_total')}} ({{config('currency.symbol')}})
{{trans('general.payment_terms')}}
{!! $fields !!}
@if(@$defaults[4][0]->ship_tax['id']>0) @else @endif
@if($words['m_id']==2 ) @include("focus.modal.customer") @else @include("focus.modal.supplier") @endif @endsection @section('extra-scripts') @endsection