@php $default = []; $default['show_table'] = 1; $default['table_label'] = 'Table'; $default['show_service_staff'] = 1; $default['service_staff_label'] = 'Service staff'; if(!empty($edit_il)){ $default['show_table'] = isset($module_info['tables']['show_table']) ? $module_info['tables']['show_table'] : 0; $default['table_label'] = isset($module_info['tables']['table_label']) ? $module_info['tables']['table_label'] : ''; $default['show_service_staff'] = isset($module_info['service_staff']['show_service_staff']) ? $module_info['service_staff']['show_service_staff'] : 0; $default['service_staff_label'] = isset($module_info['service_staff']['service_staff_label']) ? $module_info['service_staff']['service_staff_label'] : ''; } @endphp @if(!empty($enabled_modules))

@lang('lang_v1.restaurant_module_settings')

@if(in_array('tables', $enabled_modules) )
{!! Form::label('module_info[tables][table_label]', __('restaurant.table_label') . ':' ) !!} {!! Form::text('module_info[tables][table_label]', $default['table_label'], ['class' => 'form-control', 'placeholder' => __('restaurant.table_label') ]); !!}
@endif @if(in_array('service_staff', $enabled_modules) )
{!! Form::label('module_info[service_staff][service_staff_label]', __('restaurant.service_staff_label') . ':' ) !!} {!! Form::text('module_info[service_staff][service_staff_label]', $default['service_staff_label'], ['class' => 'form-control', 'placeholder' => __('restaurant.service_staff_label') ]); !!}
@endif
@endif