{!! Form::number('pay_term_number', $purchase->pay_term_number, ['class' => 'form-control width-40 pull-left', 'placeholder' => __('contact.pay_term')]); !!} {!! Form::select('pay_term_type', ['months' => __('lang_v1.months'), 'days' => __('lang_v1.days')], $purchase->pay_term_type, ['class' => 'form-control width-60 pull-left','placeholder' => __('messages.please_select'), 'id' => 'pay_term_type']); !!}
@lang('purchase.max_file_size', ['size' => (config('constants.document_size_limit') / 1000000)])
@lang( 'purchase.total_before_tax' ): | |
---|---|
@lang( 'purchase.net_total_amount' ): | {{$purchase->total_before_tax/$purchase->exchange_rate}} |
{!! Form::label('discount_type', __( 'purchase.discount_type' ) . ':') !!}
{!! Form::select('discount_type', [ '' => __('lang_v1.none'), 'fixed' => __( 'lang_v1.fixed' ), 'percentage' => __( 'lang_v1.percentage' )], $purchase->discount_type, ['class' => 'form-control select2', 'placeholder' => __('messages.please_select')]); !!}
|
{!! Form::label('discount_amount', __( 'purchase.discount_amount' ) . ':') !!}
{!! Form::text('discount_amount',
($purchase->discount_type == 'fixed' ?
number_format($purchase->discount_amount/$purchase->exchange_rate, $currency_precision, $currency_details->decimal_separator, $currency_details->thousand_separator)
:
number_format($purchase->discount_amount, $currency_precision, $currency_details->decimal_separator, $currency_details->thousand_separator)
)
, ['class' => 'form-control input_number']); !!}
|
Discount:(-) 0 | |
{!! Form::label('tax_id', __( 'purchase.purchase_tax' ) . ':') !!}
{!! Form::hidden('tax_amount', $purchase->tax_amount, ['id' => 'tax_amount']); !!}
|
@lang( 'purchase.purchase_tax' ):(+) 0 | ||
{!! Form::label('shipping_details', __( 'purchase.shipping_details' ) . ':') !!}
{!! Form::text('shipping_details', $purchase->shipping_details, ['class' => 'form-control']); !!}
|
{!! Form::label('shipping_charges','(+) ' . __( 'purchase.additional_shipping_charges') . ':') !!}
{!! Form::text('shipping_charges', number_format($purchase->shipping_charges/$purchase->exchange_rate, $currency_precision, $currency_details->decimal_separator, $currency_details->thousand_separator), ['class' => 'form-control input_number']); !!}
|
||
{!! Form::hidden('final_total', $purchase->final_total , ['id' => 'grand_total_hidden']); !!} @lang('purchase.purchase_total'): {{$purchase->final_total}} | |||
{!! Form::label('additional_notes',__('purchase.additional_notes')) !!}
{!! Form::textarea('additional_notes', $purchase->additional_notes, ['class' => 'form-control', 'rows' => 3]); !!}
|