@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]) !!}
{{-- --}}
@if ($errors->has('template_name')) {{ $errors->first('nametemplate_name') }} @endif
@error('prefix') {{ $message }} @enderror
@if ($errors->has('numbering_type')) {{ $errors->first('number_of_digit') }} @endif
{{--
--}}
{{--
--}}
@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
@foreach ($checkboxes as $field => $label)
@endforeach
{!! Form::close() !!}
@endsection @push('scripts') @endpush