@extends('layouts.app') @section('title', __('invoice.edit_invoice_layout')) @section('content') @lang('invoice.edit_invoice_layout') {!! Form::open(['url' => action('InvoiceLayoutController@update', [$invoice_layout->id]), 'method' => 'put', 'id' => 'add_invoice_layout_form', 'files' => true]) !!} {!! Form::label('name', __('invoice.layout_name') . ':*') !!} {!! Form::text('name', $invoice_layout->name, ['class' => 'form-control', 'required', 'placeholder' => __('invoice.layout_name')]); !!} {!! Form::label('design', __('lang_v1.design') . ':*') !!} {!! Form::select('design', $designs, $invoice_layout->design, ['class' => 'form-control']); !!} Used for browser based printing {!! Form::label('logo', __('invoice.invoice_logo') . ':') !!} {!! Form::file('logo'); !!} @lang('lang_v1.invoice_logo_help', ['max_size' => '1 MB']) @lang('lang_v1.invoice_logo_help2') {!! Form::checkbox('show_logo', 1, $invoice_layout->show_logo, ['class' => 'input-icheck']); !!} @lang('invoice.show_logo') {!! Form::label('header_text', __('invoice.header_text') . ':' ) !!} {!! Form::textarea('header_text', $invoice_layout->header_text, ['class' => 'form-control', 'placeholder' => __('invoice.header_text'), 'rows' => 3]); !!} {!! Form::label('sub_heading_line1', __('lang_v1.sub_heading_line', ['_number_' => 1]) . ':' ) !!} {!! Form::text('sub_heading_line1', $invoice_layout->sub_heading_line1, ['class' => 'form-control', 'placeholder' => __('lang_v1.sub_heading_line', ['_number_' => 1]) ]); !!} {!! Form::label('sub_heading_line2', __('lang_v1.sub_heading_line', ['_number_' => 2]) . ':' ) !!} {!! Form::text('sub_heading_line2', $invoice_layout->sub_heading_line2, ['class' => 'form-control', 'placeholder' => __('lang_v1.sub_heading_line', ['_number_' => 2]) ]); !!} {!! Form::label('sub_heading_line3', __('lang_v1.sub_heading_line', ['_number_' => 3]) . ':' ) !!} {!! Form::text('sub_heading_line3', $invoice_layout->sub_heading_line3, ['class' => 'form-control', 'placeholder' => __('lang_v1.sub_heading_line', ['_number_' => 3]) ]); !!} {!! Form::label('sub_heading_line4', __('lang_v1.sub_heading_line', ['_number_' => 4]) . ':' ) !!} {!! Form::text('sub_heading_line4', $invoice_layout->sub_heading_line4, ['class' => 'form-control', 'placeholder' => __('lang_v1.sub_heading_line', ['_number_' => 4]) ]); !!} {!! Form::label('sub_heading_line5', __('lang_v1.sub_heading_line', ['_number_' => 5]) . ':' ) !!} {!! Form::text('sub_heading_line5', $invoice_layout->sub_heading_line5, ['class' => 'form-control', 'placeholder' => __('lang_v1.sub_heading_line', ['_number_' => 5]) ]); !!} {!! Form::label('invoice_heading', __('invoice.invoice_heading') . ':' ) !!} {!! Form::text('invoice_heading', $invoice_layout->invoice_heading, ['class' => 'form-control', 'placeholder' => __('invoice.invoice_heading') ]); !!} {!! Form::label('invoice_heading_not_paid', __('invoice.invoice_heading_not_paid') . ':' ) !!} {!! Form::text('invoice_heading_not_paid', $invoice_layout->invoice_heading_not_paid, ['class' => 'form-control', 'placeholder' => __('invoice.invoice_heading_not_paid') ]); !!} {!! Form::label('invoice_heading_paid', __('invoice.invoice_heading_paid') . ':' ) !!} {!! Form::text('invoice_heading_paid', $invoice_layout->invoice_heading_paid, ['class' => 'form-control', 'placeholder' => __('invoice.invoice_heading_paid') ]); !!} {!! Form::label('quotation_heading', __('lang_v1.quotation_heading') . ':' ) !!}@show_tooltip(__('lang_v1.tooltip_quotation_heading')) {!! Form::text('quotation_heading', $invoice_layout->quotation_heading, ['class' => 'form-control', 'placeholder' => __('lang_v1.quotation_heading') ]); !!} {!! Form::label('invoice_no_prefix', __('invoice.invoice_no_prefix') . ':' ) !!} {!! Form::text('invoice_no_prefix', $invoice_layout->invoice_no_prefix, ['class' => 'form-control', 'placeholder' => __('invoice.invoice_no_prefix') ]); !!} {!! Form::label('quotation_no_prefix', __('lang_v1.quotation_no_prefix') . ':' ) !!} {!! Form::text('quotation_no_prefix', $invoice_layout->quotation_no_prefix, ['class' => 'form-control', 'placeholder' => __('lang_v1.quotation_no_prefix') ]); !!} {!! Form::label('customer_label', __('invoice.customer_label') . ':' ) !!} {!! Form::text('customer_label', $invoice_layout->customer_label, ['class' => 'form-control', 'placeholder' => __('invoice.customer_label') ]); !!} {!! Form::label('date_label', __('lang_v1.date_label') . ':' ) !!} {!! Form::text('date_label', $invoice_layout->date_label, ['class' => 'form-control', 'placeholder' => __('lang_v1.date_label') ]); !!} {!! Form::label('client_id_label', __('lang_v1.client_id_label') . ':' ) !!} {!! Form::text('client_id_label', $invoice_layout->client_id_label, ['class' => 'form-control', 'placeholder' => __('lang_v1.client_id_label') ]); !!} {!! Form::label('client_tax_label', __('lang_v1.client_tax_label') . ':' ) !!} {!! Form::text('client_tax_label', $invoice_layout->client_tax_label, ['class' => 'form-control', 'placeholder' => __('lang_v1.client_tax_label') ]); !!} {!! Form::checkbox('show_client_id', 1, $invoice_layout->show_client_id, ['class' => 'input-icheck']); !!} @lang('lang_v1.show_client_id') {!! Form::checkbox('show_customer', 1, $invoice_layout->show_customer, ['class' => 'input-icheck']); !!} @lang('invoice.show_customer') {!! Form::checkbox('show_business_name', 1, $invoice_layout->show_business_name, ['class' => 'input-icheck']); !!} @lang('invoice.show_business_name') {!! Form::checkbox('show_location_name', 1, $invoice_layout->show_location_name, ['class' => 'input-icheck']); !!} @lang('invoice.show_location_name') {!! Form::checkbox('show_time', 1, $invoice_layout->show_time, ['class' => 'input-icheck']); !!} @lang('lang_v1.show_time_with_date') @lang('invoice.fields_to_be_shown_in_address'): {!! Form::checkbox('show_landmark', 1, $invoice_layout->show_landmark, ['class' => 'input-icheck']); !!} @lang('business.landmark') {!! Form::checkbox('show_city', 1, $invoice_layout->show_city, ['class' => 'input-icheck']); !!} @lang('business.city') {!! Form::checkbox('show_state', 1, $invoice_layout->show_state, ['class' => 'input-icheck']); !!} @lang('business.state') {!! Form::checkbox('show_country', 1, $invoice_layout->show_country, ['class' => 'input-icheck']); !!} @lang('business.country') {!! Form::checkbox('show_zip_code', 1, $invoice_layout->show_zip_code, ['class' => 'input-icheck']); !!} @lang('business.zip_code') @lang('invoice.fields_to_shown_for_communication'): {!! Form::checkbox('show_mobile_number', 1, $invoice_layout->show_mobile_number, ['class' => 'input-icheck']); !!} @lang('invoice.show_mobile_number') {!! Form::checkbox('show_alternate_number', 1, $invoice_layout->show_alternate_number, ['class' => 'input-icheck']); !!} @lang('invoice.show_alternate_number') {!! Form::checkbox('show_email', 1, $invoice_layout->show_email, ['class' => 'input-icheck']); !!} @lang('invoice.show_email') @lang('invoice.fields_to_shown_for_tax'): {!! Form::checkbox('show_tax_1', 1, $invoice_layout->show_tax_1, ['class' => 'input-icheck']); !!} @lang('invoice.show_tax_1') {!! Form::checkbox('show_tax_2', 1, $invoice_layout->show_tax_2, ['class' => 'input-icheck']); !!} @lang('invoice.show_tax_2') {!! Form::label('table_product_label', __('lang_v1.product_label') . ':' ) !!} {!! Form::text('table_product_label', $invoice_layout->table_product_label, ['class' => 'form-control', 'placeholder' => __('lang_v1.product_label') ]); !!} {!! Form::label('table_qty_label', __('lang_v1.qty_label') . ':' ) !!} {!! Form::text('table_qty_label', $invoice_layout->table_qty_label, ['class' => 'form-control', 'placeholder' => __('lang_v1.qty_label') ]); !!} {!! Form::label('table_unit_price_label', __('lang_v1.unit_price_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_subtotal_label', __('lang_v1.subtotal_label') . ':' ) !!} {!! Form::text('table_subtotal_label', $invoice_layout->table_subtotal_label, ['class' => 'form-control', 'placeholder' => __('lang_v1.subtotal_label') ]); !!} {!! Form::label('cat_code_label', __('lang_v1.cat_code_label') . ':' ) !!} {!! Form::text('cat_code_label', $invoice_layout->cat_code_label, ['class' => 'form-control', 'placeholder' => 'HSN or Category Code' ]); !!} @lang('lang_v1.product_details_to_be_shown'): {!! Form::checkbox('show_brand', 1, $invoice_layout->show_brand, ['class' => 'input-icheck']); !!} @lang('lang_v1.show_brand') {!! Form::checkbox('show_sku', 1, $invoice_layout->show_sku, ['class' => 'input-icheck']); !!} @lang('lang_v1.show_sku') {!! Form::checkbox('show_cat_code', 1, $invoice_layout->show_cat_code, ['class' => 'input-icheck']); !!} @lang('lang_v1.show_cat_code') {!! Form::checkbox('show_sale_description', 1, $invoice_layout->show_sale_description, ['class' => 'input-icheck']); !!} @lang('lang_v1.show_sale_description') @lang('lang_v1.product_imei_or_sn') {!! Form::label('sub_total_label', __('invoice.sub_total_label') . ':' ) !!} {!! Form::text('sub_total_label', $invoice_layout->sub_total_label, ['class' => 'form-control', 'placeholder' => __('invoice.sub_total_label') ]); !!} {!! Form::label('discount_label', __('invoice.discount_label') . ':' ) !!} {!! Form::text('discount_label', $invoice_layout->discount_label, ['class' => 'form-control', 'placeholder' => __('invoice.discount_label') ]); !!} {!! Form::label('tax_label', __('invoice.tax_label') . ':' ) !!} {!! Form::text('tax_label', $invoice_layout->tax_label, ['class' => 'form-control', 'placeholder' => __('invoice.tax_label') ]); !!} {!! Form::label('total_label', __('invoice.total_label') . ':' ) !!} {!! Form::text('total_label', $invoice_layout->total_label, ['class' => 'form-control', 'placeholder' => __('invoice.total_label') ]); !!} {!! Form::label('total_due_label', __('invoice.total_due_label') . ':' ) !!} {!! Form::text('total_due_label', $invoice_layout->total_due_label, ['class' => 'form-control', 'placeholder' => __('invoice.total_due_label') ]); !!} {!! Form::label('paid_label', __('invoice.paid_label') . ':' ) !!} {!! Form::text('paid_label', $invoice_layout->paid_label, ['class' => 'form-control', 'placeholder' => __('invoice.paid_label') ]); !!} {!! Form::checkbox('show_payments', 1, $invoice_layout->show_payments, ['class' => 'input-icheck']); !!} @lang('invoice.show_payments') {!! Form::checkbox('show_barcode', 1, $invoice_layout->show_barcode, ['class' => 'input-icheck']); !!} @lang('invoice.show_barcode') {!! Form::label('highlight_color', __('invoice.highlight_color') . ':' ) !!} {!! Form::text('highlight_color', $invoice_layout->highlight_color, ['class' => 'form-control', 'placeholder' => __('invoice.highlight_color') ]); !!} {!! Form::label('footer_text', __('invoice.footer_text') . ':' ) !!} {!! Form::textarea('footer_text', $invoice_layout->footer_text, ['class' => 'form-control', 'placeholder' => __('invoice.footer_text'), 'rows' => 3]); !!} @if(empty($invoice_layout->is_default)) {!! Form::checkbox('is_default', 1, $invoice_layout->is_default, ['class' => 'input-icheck']); !!} @lang('barcode.set_as_default') @endif @include('restaurant.partials.invoice_layout', ['module_info' => $invoice_layout->module_info, 'edit_il' => true]) @lang('lang_v1.layout_credit_note') {!! Form::label('cn_heading', __('lang_v1.cn_heading') . ':' ) !!} {!! Form::text('cn_heading', $invoice_layout->cn_heading, ['class' => 'form-control', 'placeholder' => __('lang_v1.cn_heading') ]); !!} {!! Form::label('cn_no_label', __('lang_v1.cn_no_label') . ':' ) !!} {!! Form::text('cn_no_label', $invoice_layout->cn_no_label, ['class' => 'form-control', 'placeholder' => __('lang_v1.cn_no_label') ]); !!} {!! Form::label('cn_amount_label', __('lang_v1.cn_amount_label') . ':' ) !!} {!! Form::text('cn_amount_label', $invoice_layout->cn_amount_label, ['class' => 'form-control', 'placeholder' => __('lang_v1.cn_amount_label') ]); !!} @lang('messages.update') {!! Form::close() !!} @stop @section('javascript') @endsection
@lang('lang_v1.product_imei_or_sn')