@if(!empty($pos_settings['show_invoice_layout']))
{!! Form::select('invoice_layout_id',
$invoice_layouts, $default_location->invoice_layout_id, ['class' => 'form-control select2', 'placeholder' => __('lang_v1.select_invoice_layout'), 'id' => 'invoice_layout_id']); !!}
@endif
@if(!empty($commission_agent))
@php
$is_commission_agent_required = !empty($pos_settings['is_commission_agent_required']);
@endphp
{!! Form::select('commission_agent',
$commission_agent, null, ['class' => 'form-control select2', 'placeholder' => __('lang_v1.commission_agent'), 'id' => 'commission_agent', 'required' => $is_commission_agent_required]); !!}
@endif
@if(!empty($pos_settings['enable_transaction_date']))
@endif
@if(config('constants.enable_sell_in_diff_currency') == true)
@endif
@if(!empty($price_groups) && count($price_groups) > 1)
@else
@php
reset($price_groups);
@endphp
{!! Form::hidden('price_group', key($price_groups), ['id' => 'price_group']) !!}
@endif
@if(!empty($default_price_group_id))
{!! Form::hidden('default_price_group', $default_price_group_id, ['id' => 'default_price_group']) !!}
@endif
@if(in_array('types_of_service', $enabled_modules) && !empty($types_of_service))
@endif
@if(!empty($pos_settings['show_invoice_scheme']))
@php
$invoice_scheme_id = $default_invoice_schemes->id;
if(!empty($default_location->invoice_scheme_id)) {
$invoice_scheme_id = $default_location->invoice_scheme_id;
}
@endphp
{!! Form::select('invoice_scheme_id', $invoice_schemes, $invoice_scheme_id,
['class' => 'form-control', 'placeholder' => __('lang_v1.select_invoice_scheme'),
'id' => 'invoice_scheme_id']); !!}
@endif
@if(in_array('subscription', $enabled_modules))
@show_tooltip(__('lang_v1.recurring_invoice_help'))
@endif
@if(in_array('tables' ,$enabled_modules) || in_array('service_staff' ,$enabled_modules))
@endif
@if(!empty($pos_module_data))
@foreach($pos_module_data as $key => $value)
@if(!empty($value['view_path']))
@includeIf($value['view_path'], ['view_data' => $value['view_data']])
@endif
@endforeach
@endif