@extends ('core.layouts.app') @section ('title', trans('labels.backend.purchaseorders.management') . ' | ' . trans('labels.backend.purchaseorders.create')) @section('page-header')

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

@endsection @section('content')

{{trans('purchaseorders.bill_from')}} {{trans('purchaseorders.add_supplier')}}

{{ Form::label( 'cst', trans('purchaseorders.search_supplier'),['class' => 'caption']) }} {{ Form::text('cst', null, ['class' => 'form-control round user-box', 'placeholder' =>trans('purchaseorders.supplier_search'), 'id'=>'suppliers-box','data-section'=>'suppliers','autocomplete'=>'off']) }}
{{trans('purchaseorders.supplier_details')}}


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

{{trans('purchaseorders.properties')}}

{{ Form::number('tid', @$last_invoice->tid+1, ['class' => 'form-control round', 'placeholder' => trans('purchaseorders.tid')]) }}
{{ Form::text('refer', null, ['class' => 'form-control round', 'placeholder' => trans('general.reference')]) }}
{{ Form::text('invoicedate', null, ['class' => 'form-control round required', 'placeholder' => trans('purchaseorders.invoicedate'),'data-toggle'=>'datepicker','autocomplete'=>'false']) }}
{{ Form::text('invoiceduedate', null, ['class' => 'form-control round required', 'placeholder' => trans('invoices.invoicedate'),'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.payment_currency_client')}} {{trans('general.based_live_market')}} {{trans('general.extra_discount')}} ( {{config('currency.symbol')}} 0 )
{{trans('general.payment_terms')}} {{trans('general.grand_total')}} ({{config('currency.symbol')}})
{{trans('sales_channel.sales_channel')}}
{!! $fields !!}
@if(@$defaults[4][0]->ship_tax['id']>0) @else @endif
@include("focus.modal.supplier") @endsection @section('extra-scripts') @endsection