{{ Form::model($invoices, [ 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'PUT', 'id' => 'data_form','files'=>true]) }}
{{trans('warehouses.warehouse')}}
{{ Form::hidden('customer_id', $invoices['customer_id'],['id'=>'customer_id']) }}
{{ Form::text('order_id', null, ['class' => 'form-control round', 'placeholder' => trans('orders.order')]) }}
{{ Form::number('tid',null, ['class' => 'form-control round', 'placeholder' => trans('invoices.tid'),'readonly'=>'']) }}
{{ Form::text('refer', null, ['class' => 'form-control round', 'placeholder' => trans('general.reference')]) }}
{{ Form::text('invoicedate','', ['class' => 'form-control round required', 'placeholder' => trans('invoices.invoicedate'),'data-toggle'=>'datepicker','autocomplete'=>'false','id'=>'date1']) }}
@if($invoices->i_class>1)
@else
{{ Form::text('invoiceduedate', date_for_database($invoices['invoiceduedate']), ['class' => 'form-control round required', 'placeholder' => trans('invoices.invoicedate'),'data-toggle'=>'datepicker','autocomplete'=>'false','id'=>'date2']) }}
@endif
{{trans('invoices.bill_to')}} {{trans('invoices.add_client')}}
{{ Form::label( 'cst', trans('invoices.search_client'),['class' => 'caption']) }}
{{ Form::text('cst', null, ['class' => 'form-control round', 'placeholder' =>trans('invoices.enter_customer'), 'id'=>'customer-box','autocomplete'=>'off']) }}
{{trans('invoices.client_details')}}
{{$invoices->customer->name}}
{{$invoices->customer->address}}
, {{$invoices->customer->city}}
{{$invoices->customer->phone}}
{{trans('invoices.invoice_properties')}}
{{ Form::textarea('notes', null, ['class' => 'form-control round', 'placeholder' => trans('invoices.invoice_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')}} |
---|---|---|---|---|---|---|---|
{{numberFormat($product['total_tax'])}} | {{config('currency.symbol')}} {{numberFormat($product['product_subtotal'])}} | ||||||
{{ Form::hidden('subtotal',null,['id'=>'subttlform']) }} {{trans('general.total_tax')}} | {{config('currency.symbol')}} {{numberFormat($total_tax)}} | ||||||
{{trans('general.total_discount')}} | {{numberFormat($invoices['discount']-$invoices['extra_discount'])}} | ||||||
{{trans('general.shipping')}} | ( {{trans('general.tax')}} {{config('currency.symbol')}} {{numberFormat($invoices['ship_tax'])}} ) | ||||||
{{trans('general.payment_currency_client')}} {{trans('general.based_live_market')}} | {{trans('general.extra_discount')}} | ( {{config('currency.symbol')}} {{numberFormat($invoices['extra_discount'])}} ) | |||||
{{trans('general.payment_terms')}} | {{trans('general.grand_total')}} ({{config('currency.symbol')}}) | ||||||
{{trans('sales_channel.sales_channel')}} |
{!! $fields_data !!}