@can('account manage')
{{ Form::open(array('route' => 'accounts.setting.save','method' => 'post')) }}
{{ __('Account Settings') }}
{{Form::label('customer_prefix',__('Customer Prefix'),array('class'=>'form-label')) }} {{Form::text('customer_prefix',!empty(company_setting('customer_prefix')) ? company_setting('customer_prefix') :'#CUST00000',array('class'=>'form-control', 'placeholder' => 'Enter Customer Prefix'))}}
{{Form::label('vendor_prefix',__('Vendor Prefix'),array('class'=>'form-label')) }} {{Form::text('vendor_prefix',!empty(company_setting('vendor_prefix')) ? company_setting('vendor_prefix') :'#VEND',array('class'=>'form-control', 'placeholder' => 'Enter Vendor Prefix'))}}
{{Form::close()}}
{{ __('Bill Print Settings') }}
{{ __('Edit your Company Bill details') }}
@csrf
{{Form::label('bill_prefix',__('Prefix'),array('class'=>'form-label')) }} {{Form::text('bill_prefix',!empty(company_setting('bill_prefix')) ? company_setting('bill_prefix') :'#BILL',array('class'=>'form-control', 'placeholder' => 'Enter Bill Prefix'))}}
{{Form::label('bill_starting_number',__('Starting Number'),array('class'=>'form-label')) }} {{Form::number('bill_starting_number',!empty(company_setting('bill_starting_number')) ? company_setting('bill_starting_number') : 1 ,array('class'=>'form-control', 'placeholder' => 'Enter Bill Starting Number'))}}
{{Form::label('bill_footer_title',__('Footer Title'),array('class'=>'form-label')) }} {{Form::text('bill_footer_title',!empty(company_setting('bill_footer_title')) ? company_setting('bill_footer_title') :'',array('class'=>'form-control', 'placeholder' => 'Enter Footer Title'))}}
{{Form::label('bill_footer_notes',__('Footer Notes'),array('class'=>'form-label')) }} {{Form::textarea('bill_footer_notes',!empty(company_setting('bill_footer_notes')) ? company_setting('bill_footer_notes') : '',array('class'=>'form-control','rows'=>'1' ,'placeholder' => 'Enter Bill Footer Notes'))}}
{{Form::label('bill_shipping_display',__('Shipping Display?'),array('class'=>'form-label')) }}
{{Form::label('bill_template',__('Bill Template'),array('class'=>'form-label')) }} {{ Form::select('bill_template',Modules\Account\Entities\AccountUtility::templateData()['templates'],!empty(company_setting('bill_template')) ? company_setting('bill_template') : null, array('class' => 'form-control','required'=>'required')) }}
@foreach( Modules\Account\Entities\AccountUtility::templateData()['colors'] as $key => $color)
@endforeach
@if(!empty( company_setting('bill_template')) && !empty(company_setting('bill_color'))) @else @endif
@endcan