{!! Form::text('name', $business->name, ['class' => 'form-control', 'required',
'placeholder' => __('business.business_name')]); !!}
{!! Form::label('name',__('business.business_name') . ':*') !!}
{!! Form::text('start_date', @format_date($business->start_date), ['class' => 'form-control start-date-picker','placeholder' => __('business.start_date'), 'readonly']); !!}
{!! Form::label('start_date', __('business.start_date') . ':') !!}
{!! Form::text('default_profit_percent', @num_format($business->default_profit_percent), ['class' => 'form-control input_number']); !!}
{!! Form::label('default_profit_percent', __('business.default_profit_percent') . ':*') !!}
{!! Form::select('currency_id', $currencies, $business->currency_id, ['class' => 'form-control select2','placeholder' => __('business.currency'), 'required']); !!}
{!! Form::label('currency_id', __('business.currency') . ':') !!}
{!! Form::select('currency_symbol_placement', ['before' => __('lang_v1.before_amount'), 'after' => __('lang_v1.after_amount')], $business->currency_symbol_placement, ['class' => 'form-control select2', 'required']); !!}
{!! Form::label('currency_symbol_placement', __('lang_v1.currency_symbol_placement') . ':') !!}
{!! Form::select('time_zone', $timezone_list, $business->time_zone, ['class' => 'form-control select2', 'required']); !!}
{!! Form::label('time_zone', __('business.time_zone') . ':') !!}
{!! Form::select('fy_start_month', $months, $business->fy_start_month, ['class' => 'form-control select2', 'required']); !!}
{!! Form::label('fy_start_month', __('business.fy_start_month') . ':') !!}
{!! Form::select('accounting_method', $accounting_methods, $business->accounting_method, ['class' => 'form-control select2', 'required']); !!}
{!! Form::label('accounting_method', __('business.accounting_method') . ':*') !!}
{!! Form::number('transaction_edit_days', $business->transaction_edit_days, ['class' => 'form-control','placeholder' => __('business.transaction_edit_days'), 'required']); !!}
{!! Form::label('transaction_edit_days', __('business.transaction_edit_days') . ':*') !!}
{!! Form::select('date_format', $date_formats, $business->date_format, ['class' => 'form-control select2', 'required']); !!}
{!! Form::label('date_format', __('lang_v1.date_format') . ':*') !!}
{!! Form::select('time_format', [12 => __('lang_v1.12_hour'), 24 => __('lang_v1.24_hour')], $business->time_format, ['class' => 'form-control select2', 'required']); !!}
{!! Form::label('time_format', __('lang_v1.time_format') . ':*') !!}
{!! Form::select('currency_precision', [0 =>0, 1=>1, 2=>2, 3=>3,4=>4], $business->currency_precision, ['class' => ' form-select select2', 'required']); !!}
{!! Form::label('currency_precision', __('lang_v1.currency_precision') . ':*') !!}
{!! Form::select('quantity_precision', [0 =>0, 1=>1, 2=>2, 3=>3,4=>4], $business->quantity_precision, ['class' => ' form-select select2', 'required']); !!}
{!! Form::label('quantity_precision', __('lang_v1.quantity_precision') . ':*') !!}
{!! Form::text('tax_label_1', $business->tax_label_1, ['class' => 'form-control','placeholder' => __('business.tax_1_placeholder')]); !!}
{!! Form::label('tax_label_1', __('business.tax_1_name') . ':') !!}
{!! Form::text('tax_number_1', $business->tax_number_1, ['class' => 'form-control','placeholder' => __('business.tax_1_no')]); !!}
{!! Form::label('tax_number_1', __('business.tax_1_no') . ':') !!}
{!! Form::text('common_settings[default_credit_limit]', $common_settings['default_credit_limit'] ?? '', ['class' => 'form-control input_number',
'placeholder' => __('lang_v1.default_credit_limit'), 'id' => 'default_credit_limit']); !!}
{!! Form::label('default_credit_limit',__('lang_v1.default_credit_limit') . ':') !!}
@php
$page_entries = [25 => 25, 50 => 50, 100 => 100, 200 => 200, 500 => 500, 1000 => 1000, -1 => __('lang_v1.all')];
@endphp
{!! Form::select('common_settings[default_datatable_page_entries]', $page_entries, !empty($common_settings['default_datatable_page_entries']) ? $common_settings['default_datatable_page_entries'] : 25 ,
['class' => 'form-control select2', 'style' => 'width: 100%;', 'id' => 'default_datatable_page_entries']); !!}
{!! Form::label('default_datatable_page_entries', __('lang_v1.default_datatable_page_entries')); !!}
{!! Form::file('business_logo', ['accept' => 'image/*','class'=>'form-control','id'=>'formFile']); !!}
{!! Form::label('business_logo', __('business.upload_logo')) !!}
{{-- code --}}