@extends('backend.layout.main') @push('css') @endpush @section('content') {{ __('db.Add Invoice Setting') }} {{ __('db.The field labels marked with * are required input fields') }}. {!! Form::open(['route' => 'settings.invoice.store', 'method' => 'post', 'files' => true]) !!} {{ __('db.Invoice Type') }} A4 58mm(Thermal receipt) 80mm(Thermal receipt) {{-- --}} {{ __('db.Template Name') }} * @if ($errors->has('template_name')) {{ $errors->first('nametemplate_name') }} @endif {{ __('db.Prefix') }} * @error('prefix') {{ $message }} @enderror {{ __('db.Numbering Type') }} * {{ __('db.Sequential') }} {{ __('db.Random') }} {{ __('db.Date Wise') }} @if ($errors->has('numbering_type')) {{ $errors->first('number_of_digit') }} @endif {{ __('db.Number Of Digit (min-6, max-12)') }}* {{ __('db.Start Number') }} * {{ __('db.Header Text') }} {{ __('db.Footer Text') }} {{-- {{ __('db.Footer Title') }} --}} {{ __('db.Company Logo') }} {{ __('db.Logo Height') }} {{ __('db.Logo Width') }} {{ __('db.Primary Color') }} {{ __('db.Invoice Date Format') }} d.m.y h:m A m.d.y h:m A y.m.d h:m A d-m-y h:m A y-m-dd h:m A d/m/y h:m A {{-- {{ __('db.Preview Image') }} --}} {{ __('db.Default') }} @php $checkboxes = [ 'show_barcode' => 'db.Show Barcode', 'show_qr_code' => 'db.Show QR Code', 'show_description' => 'db.Show Description[58mm,80mm]', 'show_in_words' => 'db.Show Amount In Words', 'active_primary_color' => 'db.Active Primary Color', 'show_warehouse_info' => 'db.Show Warehouse Info', 'show_bill_to_info' => 'db.Show Bill To Info', 'show_biller_info' => 'db.Served By', 'show_paid_info' => 'db.Show Paid Info', 'show_footer_text' => 'db.Show Footer Text', 'show_payment_note' => 'db.Show Payment Note', 'show_ref_number' => 'db.Show Reference No', 'active_date_format' => 'db.Active Date Format', 'active_generat_settings' => 'db.Auto Generate Numbering Type', 'active_logo_height_width' => 'db.Active Logo Height Width', 'hide_total_due' => 'db.Hide Total Due', 'show_vat_registration_number' => 'db.Show Vat Registration Number', 'show_sale_note' => 'db.Show Sale Note', ]; $show_column = old('show_column', $invoice->show_column ?? []); if (is_string($show_column)) { $show_column = json_decode($show_column, true); } @endphp {{ __('db.Select All') }} @foreach ($checkboxes as $field => $label) {{ __($label) }} @endforeach {!! Form::close() !!} @endsection @push('scripts') @endpush
{{ __('db.The field labels marked with * are required input fields') }}.