{!! Form::text('name', $invoice_layout->name, ['class' => 'form-control', 'required', 'placeholder' => __('invoice.layout_name')]) !!}
{!! Form::label('name', __('invoice.layout_name') . ':*') !!}
{!! Form::select('design', $designs, $invoice_layout->design, ['class' => 'form-control select2']) !!}
{!! Form::label('design', __('lang_v1.design') . ':*') !!}
{!! Form::text('invoice_heading', $invoice_layout->invoice_heading ?? null, ['class' => 'form-control', 'placeholder' => __('invoice.invoice_heading')]) !!}
{!! Form::label('invoice_heading', __('invoice.invoice_heading') . ':') !!}
{!! Form::text('invoice_heading_not_paid', $invoice_layout->invoice_heading_not_paid ?? null, ['class' => 'form-control', 'placeholder' => __('invoice.invoice_heading_not_paid')]) !!}
{!! Form::label('invoice_heading_not_paid', __('invoice.invoice_heading_not_paid') . ':') !!}
{!! Form::text('invoice_heading_paid', $invoice_layout->invoice_heading_paid ?? null, ['class' => 'form-control', 'placeholder' => __('invoice.invoice_heading_paid')]) !!}
{!! Form::label('invoice_heading_paid', __('invoice.invoice_heading_paid') . ':') !!}
{!! Form::text('common_settings[proforma_heading]', $invoice_layout->common_settings['proforma_heading'] ?? null, ['class' => 'form-control', 'placeholder' => __('lang_v1.proforma_heading'), 'id' => 'proforma_heading']) !!}
{!! Form::label('proforma_heading', __('lang_v1.proforma_heading') . ':') !!}
{!! Form::text('quotation_heading', $invoice_layout->quotation_heading ?? null, ['class' => 'form-control', 'placeholder' => __('lang_v1.quotation_heading')]) !!}
{!! Form::label('quotation_heading', __('lang_v1.quotation_heading') . ':') !!}
{!! Form::text('common_settings[sales_order_heading]', $invoice_layout->common_settings['sales_order_heading'] ?? null, ['class' => 'form-control', 'placeholder' => __('lang_v1.sales_order_heading'), 'id' => 'sales_order_heading']) !!}
{!! Form::label('sales_order_heading', __('lang_v1.sales_order_heading') . ':') !!}
{!! Form::text('invoice_no_prefix', $invoice_layout->invoice_no_prefix ?? null, ['class' => 'form-control', 'placeholder' => __('invoice.invoice_no_prefix')]) !!}
{!! Form::label('invoice_no_prefix', __('invoice.invoice_no_prefix') . ':') !!}
{!! Form::text('quotation_no_prefix', $invoice_layout->quotation_no_prefix ?? null, ['class' => 'form-control', 'placeholder' => __('lang_v1.quotation_no_prefix')]) !!}
{!! Form::label('quotation_no_prefix', __('lang_v1.quotation_no_prefix') . ':') !!}
{!! Form::text('date_label', $invoice_layout->date_label ?? null, ['class' => 'form-control', 'placeholder' => __('lang_v1.date_label')]) !!}
{!! Form::label('date_label', __('lang_v1.date_label') . ':') !!}
{!! Form::text('common_settings[due_date_label]', $invoice_layout->common_settings['due_date_label'] ?? null, ['class' => 'form-control', 'placeholder' => __('lang_v1.due_date_label'), 'id' => 'due_date_label']) !!}
{!! Form::label('due_date_label', __('lang_v1.due_date_label') . ':') !!}
{!! Form::text('date_time_format', $invoice_layout->date_time_format, ['class' => 'form-control', 'placeholder' => __('lang_v1.date_time_format')]) !!}
{!! Form::label('date_time_format', __('lang_v1.date_time_format') . ':') !!}
{!! Form::text('sales_person_label', $invoice_layout->sales_person_label ?? null, ['class' => 'form-control', 'placeholder' => __('lang_v1.sales_person_label')]); !!}
{!! Form::label('sales_person_label', __('lang_v1.sales_person_label') . ':') !!}
@lang('lang_v1.fields_for_customer_details'):
{!! Form::text('customer_label',$invoice_layout->customer_label, ['class' => 'form-control',
'placeholder' => __('invoice.customer_label') ]); !!}
{!! Form::label('customer_label', __('invoice.customer_label') . ':' ) !!}
{!! Form::text('client_id_label', $invoice_layout->client_id_label, ['class' => 'form-control',
'placeholder' => __('lang_v1.client_id_label') ]); !!}
{!! Form::label('client_id_label', __('lang_v1.client_id_label') . ':' ) !!}
{!! Form::text('client_tax_label', $invoice_layout->client_tax_label, ['class' => 'form-control',
'placeholder' => __('lang_v1.client_tax_label') ]); !!}
{!! Form::label('client_tax_label', __('lang_v1.client_tax_label') . ':' ) !!}
{!! Form::text('table_product_label', $invoice_layout->table_product_label, ['class' => 'form-control', 'placeholder' => __('lang_v1.product_label')]) !!}
{!! Form::label('table_product_label', __('lang_v1.product_label') . ':') !!}
{!! Form::text('table_qty_label', $invoice_layout->table_qty_label, ['class' => 'form-control', 'placeholder' => __('lang_v1.qty_label')]) !!}
{!! Form::label('table_qty_label', __('lang_v1.qty_label') . ':') !!}
{!! Form::text('table_unit_price_label', $invoice_layout->table_unit_price_label, ['class' => 'form-control', 'placeholder' => __('lang_v1.unit_price_label')]) !!}
{!! Form::label('table_unit_price_label', __('lang_v1.unit_price_label') . ':') !!}
{!! Form::text('table_subtotal_label',$invoice_layout->table_subtotal_label, ['class' => 'form-control', 'placeholder' => __('lang_v1.subtotal_label')]) !!}
{!! Form::label('table_subtotal_label', __('lang_v1.subtotal_label') . ':') !!}
{!! Form::text('cat_code_label', $invoice_layout->cat_code_label, ['class' => 'form-control', 'placeholder' => 'HSN or Category Code']) !!}
{!! Form::label('cat_code_label', __('lang_v1.cat_code_label') . ':') !!}
{!! Form::text('common_settings[total_quantity_label]',!empty($invoice_layout->common_settings['total_quantity_label']) ? $invoice_layout->common_settings['total_quantity_label'] : null, ['class' => 'form-control', 'placeholder' => __('lang_v1.total_quantity_label'), 'id' => 'total_quantity_label']) !!}
{!! Form::label('total_quantity_label', __('lang_v1.total_quantity_label') . ':') !!}
{!! Form::text('common_settings[item_discount_label]',!empty($invoice_layout->common_settings['item_discount_label']) ? $invoice_layout->common_settings['item_discount_label'] : null, ['class' => 'form-control', 'placeholder' => __('lang_v1.item_discount_label'), 'id' => 'item_discount_label']) !!}
{!! Form::label('item_discount_label', __('lang_v1.item_discount_label') . ':') !!}
{!! Form::text('common_settings[discounted_unit_price_label]',!empty($invoice_layout->common_settings['discounted_unit_price_label']) ? $invoice_layout->common_settings['discounted_unit_price_label'] : null, ['class' => 'form-control', 'placeholder' => __('lang_v1.discounted_unit_price_label'), 'id' => 'discounted_unit_price_label']) !!}
{!! Form::label('discounted_unit_price_label', __('lang_v1.discounted_unit_price_label') . ':') !!}
@lang('lang_v1.product_details_to_be_shown'):
@lang('lang_v1.product_imei_or_sn')
{!! Form::text('sub_total_label',$invoice_layout->sub_total_label, ['class' => 'form-control',
'placeholder' => __('invoice.sub_total_label') ]); !!}
{!! Form::label('sub_total_label', __('invoice.sub_total_label') . ':' ) !!}
{!! Form::text('discount_label',$invoice_layout->discount_label, ['class' => 'form-control',
'placeholder' => __('invoice.discount_label') ]); !!}
{!! Form::label('discount_label', __('invoice.discount_label') . ':' ) !!}
{!! Form::text('tax_label', $invoice_layout->tax_label, ['class' => 'form-control',
'placeholder' => __('invoice.tax_label') ]); !!}
{!! Form::label('tax_label', __('invoice.tax_label') . ':' ) !!}
{!! Form::text('total_label', $invoice_layout->total_label, ['class' => 'form-control',
'placeholder' => __('invoice.total_label') ]); !!}
{!! Form::label('total_label', __('invoice.total_label') . ':' ) !!}
{!! Form::text('common_settings[total_items_label]', !empty($invoice_layout->common_settings['total_items_label']) ? $invoice_layout->common_settings['total_items_label'] : null, ['class' => 'form-control',
'placeholder' => __('lang_v1.total_items_label'), 'id' => 'total_items_label' ]); !!}
{!! Form::label('total_items_label', __('lang_v1.total_items_label') . ':' ) !!}
{!! Form::text('round_off_label',$invoice_layout->round_off_label, ['class' => 'form-control',
'placeholder' => __('lang_v1.round_off_label') ]); !!}
{!! Form::label('round_off_label', __('lang_v1.round_off_label') . ':' ) !!}
{!! Form::text('total_due_label', $invoice_layout->total_due_label, ['class' => 'form-control',
'placeholder' => __('invoice.total_due_label') ]); !!}
{!! Form::label('total_due_label', __('invoice.total_due_label') . ' (' . __('lang_v1.current_sale') . '):' ) !!}
{!! Form::text('paid_label', $invoice_layout->paid_label, ['class' => 'form-control',
'placeholder' => __('invoice.paid_label') ]); !!}
{!! Form::label('paid_label', __('invoice.paid_label') . ':' ) !!}
{!! Form::text('prev_bal_label',$invoice_layout->prev_bal_label, ['class' => 'form-control',
'placeholder' => __('invoice.total_due_label') ]); !!}
{!! Form::label('prev_bal_label', __('invoice.total_due_label') . ' (' . __('lang_v1.all_sales') . '):' ) !!}
@show_tooltip(__('lang_v1.previous_bal_due_help'))
{!! Form::text('change_return_label', $invoice_layout->change_return_label, ['class' => 'form-control',
'placeholder' => __('lang_v1.change_return_label') ]); !!}
{!! Form::label('change_return_label', __('lang_v1.change_return_label') . ':' ) !!} @show_tooltip(__('lang_v1.change_return_help'))
@show_tooltip(__('lang_v1.show_in_word_help'))
{!! Form::text('common_settings[tax_summary_label]', !empty($invoice_layout->common_settings['tax_summary_label']) ? $invoice_layout->common_settings['tax_summary_label'] : null, ['class' => 'form-control', 'placeholder' => __('lang_v1.tax_summary_label'), 'id' => 'tax_summary_label' ]); !!}
{!! Form::label('tax_summary_label', __('lang_v1.tax_summary_label') . ':' ) !!}
{!! Form::label('footer_text', __('invoice.footer_text') . ':' ) !!}
{!! Form::textarea('footer_text', $invoice_layout->footer_text, ['class' => 'form-control',
'placeholder' => __('invoice.footer_text'), 'rows' => 3]); !!}
@lang('lang_v1.fields_to_be_shown'):