@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
{{ Form::open(['route' => 'accounts.setting.save', 'method' => 'post']) }}
{{ __('Account Settings') }}
{{ Form::label('customer_prefix', __('Customer Prefix'), ['class' => 'form-label']) }} {{ Form::text('customer_prefix', !empty($settings['customer_prefix']) ? $settings['customer_prefix'] : '#CUST00000', ['class' => 'form-control', 'placeholder' => 'Enter Customer Prefix']) }}
{{ Form::label('vendor_prefix', __('Vendor Prefix'), ['class' => 'form-label']) }} {{ Form::text('vendor_prefix', !empty($settings['vendor_prefix']) ? $settings['vendor_prefix'] : '#VEND', ['class' => 'form-control', 'placeholder' => 'Enter Vendor Prefix']) }}
{{ Form::close() }}
{{ __('Bill Print Settings') }}
{{ __('Edit your Company Bill details') }}
@csrf
{{ Form::label('bill_prefix', __('Prefix'), ['class' => 'form-label']) }} {{ Form::text('bill_prefix', !empty($settings['bill_prefix']) ? $settings['bill_prefix'] : '#BILL', ['class' => 'form-control', 'placeholder' => 'Enter Bill Prefix']) }}
{{ Form::label('bill_starting_number', __('Starting Number'), ['class' => 'form-label']) }} {{ Form::number('bill_starting_number', !empty($settings['bill_starting_number']) ? $settings['bill_starting_number'] : 1, ['class' => 'form-control', 'placeholder' => 'Enter Bill Starting Number']) }}
{{ Form::label('bill_footer_title', __('Footer Title'), ['class' => 'form-label']) }} {{ Form::text('bill_footer_title', !empty($settings['bill_footer_title']) ? $settings['bill_footer_title'] : '', ['class' => 'form-control', 'placeholder' => 'Enter Footer Title']) }}
{{ Form::label('bill_footer_notes', __('Footer Notes'), ['class' => 'form-label']) }} {{ Form::textarea('bill_footer_notes', !empty($settings['bill_footer_notes']) ? $settings['bill_footer_notes'] : '', ['class' => 'form-control', 'rows' => '2', 'placeholder' => 'Enter Bill Footer Notes']) }}
{{ Form::label('bill_shipping_display', __('Shipping Display?'), ['class' => 'form-label mb-0']) }}
{{ Form::label('bill_qr_display', __('QR Display?'), ['class' => 'form-label mb-0']) }}
{{ Form::label('bill_template', __('Bill Template'), ['class' => 'form-label']) }} {{ Form::select('bill_template', Workdo\Account\Entities\AccountUtility::templateData()['templates'], !empty($settings['bill_template']) ? $settings['bill_template'] : null, ['class' => 'form-control', 'required' => 'required']) }}
{{ __('Color Input') }}
@foreach (Workdo\Account\Entities\AccountUtility::templateData()['colors'] as $key => $color) @endforeach

{{ __('Bill Logo')}}

image
@if (!empty($settings['bill_template']) && !empty($settings['bill_color'])) @else @endif