{{ Form::open(['route' => ['company.settings.save'], 'enctype' => 'multipart/form-data', 'id' => 'setting-form']) }} @method('post')
{{ __('Brand Settings') }}
{{ __('Logo Dark') }}
@php $logo_dark = isset($settings['logo_dark']) ? (check_file($settings['logo_dark']) ? $settings['logo_dark'] : 'uploads/logo/logo_dark.png') : 'uploads/logo/logo_dark.png'; @endphp
{{ __('Logo Light') }}
{{ __('Favicon') }}
@php $favicon = isset($settings['favicon']) ? (check_file($settings['favicon']) ? $settings['favicon'] : 'uploads/logo/favicon.png') : 'uploads/logo/favicon.png'; @endphp
{{ Form::text('title_text', !empty($settings['title_text']) ? $settings['title_text'] : null, ['class' => 'form-control', 'placeholder' => __('Enter Title Text')]) }}
{{ Form::text('footer_text', !empty($settings['footer_text']) ? $settings['footer_text'] : null, ['class' => 'form-control', 'placeholder' => __('Enter Footer Text')]) }}

{{ __('Theme Customizer') }}

{{ __('Primary color settings') }}
{{ __('Sidebar settings') }}
{{ __('Layout settings') }}
{{ __('Enable RTL') }}
{{ __('Category Wise Sidemenu') }}
{{ Form::close() }}
{{ __('System Settings') }}
{{ Form::open(['route' => ['company.system.setting.store'], 'id' => 'setting-system-form']) }} @method('post')
{{ Form::label('defult_language', __('Default Language'), ['class' => ' form-label']) }}
{{ Form::label('defult_timezone', __('Default Timezone'), ['class' => ' form-label']) }} {{ Form::select('defult_timezone', $timezones, isset($settings['defult_timezone']) ? $settings['defult_timezone'] : null, ['id' => 'timezone', 'class' => 'form-control choices', 'searchEnabled' => 'true']) }}
{{ Form::close() }}
{{-- company setting --}}
{{ Form::open(['route' => 'company.setting.save']) }}
{{ __('Company Settings') }}
{{ Form::label('company_name', __('Company Name'), ['class' => 'form-label']) }} {{ Form::text('company_name', !empty($settings['company_name']) ? $settings['company_name'] : null, ['class' => 'form-control ', 'placeholder' => __('Enter Company Name')]) }}
{{ Form::label('company_address', __('Address'), ['class' => 'form-label']) }} {{ Form::text('company_address', !empty($settings['company_address']) ? $settings['company_address'] : null, ['class' => 'form-control ', 'placeholder' => __('Enter Address')]) }}
{{ Form::label('company_city', __('City'), ['class' => 'form-label']) }} {{ Form::text('company_city', !empty($settings['company_city']) ? $settings['company_city'] : null, ['class' => 'form-control ', 'placeholder' => __('Enter City')]) }}
{{ Form::label('company_state', __('State'), ['class' => 'form-label']) }} {{ Form::text('company_state', !empty($settings['company_state']) ? $settings['company_state'] : null, ['class' => 'form-control ', 'placeholder' => __('Enter State')]) }}
{{ Form::label('company_country', __('Country'), ['class' => 'form-label']) }} {{ Form::text('company_country', !empty($settings['company_country']) ? $settings['company_country'] : null, ['class' => 'form-control ', 'placeholder' => __('Enter Country')]) }}
{{ Form::label('company_zipcode', __('Zip/Post Code'), ['class' => 'form-label']) }} {{ Form::text('company_zipcode', !empty($settings['company_zipcode']) ? $settings['company_zipcode'] : null, ['class' => 'form-control ', 'placeholder' => __('Enter Zip/Post Code')]) }}
{{ Form::label('company_telephone', __('Telephone'), ['class' => 'form-label']) }} {{ Form::text('company_telephone', !empty($settings['company_telephone']) ? $settings['company_telephone'] : null, ['class' => 'form-control ', 'placeholder' => __('Enter Telephone')]) }}
{{ Form::label('company_email_from_name', __('Email (From Name)'), ['class' => 'form-label']) }} {{ Form::text('company_email_from_name', !empty($settings['company_email_from_name']) ? $settings['company_email_from_name'] : null, ['class' => 'form-control ', 'placeholder' => __('Enter Email From Name')]) }}
{{ Form::label('registration_number', __('Company Registration Number'), ['class' => 'form-label']) }} {{ Form::text('registration_number', !empty($settings['registration_number']) ? $settings['registration_number'] : null, ['class' => 'form-control ', 'placeholder' => __('Enter Company Registration Number')]) }}
{{ Form::label('company_email', __('System Email'), ['class' => 'form-label']) }} {{ Form::text('company_email', !empty($settings['company_email']) ? $settings['company_email'] : null, ['class' => 'form-control ', 'placeholder' => __('Enter System Email')]) }}
{{ Form::text('vat_number', !empty($settings['vat_number']) ? $settings['vat_number'] : null, ['class' => 'form-control flex-1', 'placeholder' => __('Enter VAT / GST Number')]) }}
{{ Form::close() }}
{{ __('Currency Settings') }}
{{ Form::open(['route' => ['company.setting.currency.settings'], 'method' => 'post', 'id' => 'setting-currency-form']) }}
{{ Form::label('currency_format', __('Decimal Format'), ['class' => ' form-label']) }}
{{ Form::label('defult_currancy', __('Default Currancy'), ['class' => ' form-label']) }}
{{ Form::label('currency_space', __('Currency Symbol Space'), ['class' => 'form-label mb-0 h6']) }}
@error('currency_space') {{ $message }} @enderror
{{ Form::close() }}
@php $active_module = ActivatedModule(); $dependency = explode(',', 'Account,Taskly'); @endphp @if (!empty(array_intersect($dependency, $active_module))) @php $proposal_template = isset($settings['proposal_template']) ? $settings['proposal_template'] : ''; $proposal_color = isset($settings['proposal_color']) ? $settings['proposal_color'] : ''; @endphp
{{ __('Proposal Print Settings') }}
{{ __('Edit your Company Proposal details') }}
@csrf
{{ Form::label('proposal_prefix', __('Prefix'), ['class' => 'form-label']) }} {{ Form::text('proposal_prefix', isset($settings['proposal_prefix']) ? $settings['proposal_prefix'] : '#PROP0', ['class' => 'form-control', 'placeholder' => 'Enter Prefix']) }}
{{ Form::label('proposal_starting_number', __('Starting Number'), ['class' => 'form-label']) }} {{ Form::number('proposal_starting_number', isset($settings['proposal_starting_number']) ? $settings['proposal_starting_number'] : 1, ['class' => 'form-control', 'placeholder' => 'Enter Starting Number']) }}
{{ Form::label('proposal_footer_title', __('Footer Title'), ['class' => 'form-label']) }} {{ Form::text('proposal_footer_title', isset($settings['proposal_footer_title']) ? $settings['proposal_footer_title'] : '', ['class' => 'form-control', 'placeholder' => 'Enter Footer Title']) }}
{{ Form::label('proposal_footer_notes', __('Footer Notes'), ['class' => 'form-label']) }} {{ Form::textarea('proposal_footer_notes', isset($settings['proposal_footer_notes']) ? $settings['proposal_footer_notes'] : '', ['class' => 'form-control', 'rows' => '2', 'placeholder' => 'Enter Footer Notes']) }}
{{ Form::label('proposal_shipping_display', __('Shipping Display?'), ['class' => 'form-label mb-0']) }}
{{ Form::label('proposal_qr_display', __('QR Display?'), ['class' => 'form-label mb-0']) }}
{{ __('Color Input') }}
@foreach (templateData()['colors'] as $key => $color) @endforeach

{{ __('Logo') }}

image
@if (!empty($proposal_template) && !empty($proposal_color)) @else @endif
@php $invoice_template = isset($settings['invoice_template']) ? $settings['invoice_template'] : ''; $invoice_color = isset($settings['invoice_color']) ? $settings['invoice_color'] : ''; @endphp
{{ __('Invoice Print Settings') }}
{{ __('Edit your Company invoice details') }}
@csrf
{{ Form::label('invoice_prefix', __('Prefix'), ['class' => 'form-label']) }} {{ Form::text('invoice_prefix', isset($settings['invoice_prefix']) ? $settings['invoice_prefix'] : '#INV', ['class' => 'form-control', 'placeholder' => 'Enter Prefix']) }}
{{ Form::label('invoice_starting_number', __('Starting Number'), ['class' => 'form-label']) }} {{ Form::number('invoice_starting_number', isset($settings['invoice_starting_number']) ? $settings['invoice_starting_number'] : 1, ['class' => 'form-control', 'placeholder' => 'Enter Invoice Starting Number']) }}
{{ Form::label('invoice_footer_title', __('Footer Title'), ['class' => 'form-label']) }} {{ Form::text('invoice_footer_title', isset($settings['invoice_footer_title']) ? $settings['invoice_footer_title'] : '', ['class' => 'form-control', 'placeholder' => 'Enter Footer Title']) }}
{{ Form::label('invoice_footer_notes', __('Footer Notes'), ['class' => 'form-label']) }} {{ Form::textarea('invoice_footer_notes', isset($settings['invoice_footer_notes']) ? $settings['invoice_footer_notes'] : '', ['class' => 'form-control', 'rows' => '2', 'placeholder' => 'Enter Footer Notes']) }}
{{ Form::label('invoice_shipping_display', __('Shipping Display?'), ['class' => 'form-label mb-0']) }}
{{ Form::label('invoice_qr_display', __('QR Display?'), ['class' => 'form-label mb-0']) }}
{{ __('Color Input') }}
@foreach (templateData()['colors'] as $key => $color) @endforeach

{{ __('Logo') }}

image
@if (!empty($invoice_template) && !empty($invoice_color)) @else @endif
@php $purchase_template = isset($settings['purchase_template']) ? $settings['purchase_template'] : ''; $purchase_color = isset($settings['purchase_color']) ? $settings['purchase_color'] : ''; @endphp
{{ __('Purchase Print Settings') }}
{{ __('Edit details about your Company Bill') }}
@csrf
{{ Form::label('purchase_prefix', __('Prefix'), ['class' => 'form-label']) }} {{ Form::text('purchase_prefix', isset($settings['purchase_prefix']) && !empty($settings['purchase_prefix']) ? $settings['purchase_prefix'] : '#PUR', ['class' => 'form-control', 'placeholder' => 'Enter Purchase Prefix']) }}
{{ Form::label('purchase_footer_title', __('Footer Title'), ['class' => 'form-label']) }} {{ Form::text('purchase_footer_title', isset($settings['purchase_footer_title']) && !empty($settings['purchase_footer_title']) ? $settings['purchase_footer_title'] : '', ['class' => 'form-control', 'placeholder' => 'Enter Footer Title']) }}
{{ Form::label('purchase_footer_notes', __('Footer Notes'), ['class' => 'form-label']) }} {{ Form::textarea('purchase_footer_notes', isset($settings['purchase_footer_notes']) && !empty($settings['purchase_footer_notes']) ? $settings['purchase_footer_notes'] : '', ['class' => 'form-control', 'rows' => '2', 'placeholder' => 'Enter Purchase Footer Notes']) }}
{{ Form::label('purchase_shipping_display', __('Shipping Display?'), ['class' => 'form-label mb-0']) }}
{{ Form::label('purchase_qr_display', __('QR Display?'), ['class' => 'form-label mb-0']) }}
{{ __('Color Input') }}
@foreach (templateData()['colors'] as $key => $color) @endforeach

{{ __('Logo') }}

image
@if (!empty($purchase_template) && !empty($purchase_color)) @else @endif
@endif {{-- Dark Mod --}} {{-- VAT & GST Number --}} {{-- theme color --}}