@if($__is_repair_enabled) @php $default = [ 'show_repair_status' => 1, 'repair_status_label' => 'Repair Status', 'show_repair_warranty' => 1, 'repair_warranty_label' => 'Repair Warranty', 'show_serial_no' => 1, 'serial_no_label' => 'Serial No.', 'show_defects' => 1, 'defects_label' => 'Defects', 'show_model' => 1, 'model_no_label' => 'Model No.', 'show_repair_checklist' => 1, 'repair_checklist_label' => 'Repair Checklist', 'show_device' => 1, 'device_label' => 'Device', 'show_brand' => 1, 'brand_label' => 'Brand', ]; if(!empty($edit_il)){ $default = [ 'show_repair_status' => !empty($module_info['repair']['show_repair_status']) ? 1 : 0, 'repair_status_label' => !empty($module_info['repair']['repair_status_label']) ? $module_info['repair']['repair_status_label'] : '', 'show_repair_warranty' => !empty($module_info['repair']['show_repair_warranty']) ? 1 : 0, 'repair_warranty_label' => !empty($module_info['repair']['repair_warranty_label']) ? $module_info['repair']['repair_warranty_label'] : '', 'show_serial_no' => !empty($module_info['repair']['show_serial_no']) ? 1 : 0, 'serial_no_label' => !empty($module_info['repair']['serial_no_label']) ? $module_info['repair']['serial_no_label'] : '', 'show_defects' => !empty($module_info['repair']['show_defects']) ? 1 : 0, 'defects_label' => !empty($module_info['repair']['defects_label']) ? $module_info['repair']['defects_label'] : '', 'show_model' => !empty($module_info['repair']['show_model']) ? 1 : 0, 'model_no_label' => !empty($module_info['repair']['model_no_label']) ? $module_info['repair']['model_no_label'] : '', 'show_repair_checklist' => !empty($module_info['repair']['show_repair_checklist']) ? 1 : 0, 'repair_checklist_label' => !empty($module_info['repair']['repair_checklist_label']) ? $module_info['repair']['repair_checklist_label'] : '', 'show_device' => !empty($module_info['repair']['show_device']) ? 1 : 0, 'device_label' => !empty($module_info['repair']['device_label']) ? $module_info['repair']['device_label'] : '', 'show_brand' => !empty($module_info['repair']['show_brand']) ? 1 : 0, 'brand_label' => !empty($module_info['repair']['brand_label']) ? $module_info['repair']['brand_label'] : '', ]; } @endphp @component('components.widget', ['class' => 'box-solid','icon' =>'fa fa-wrench text-yellow', 'title' => __('repair::lang.repair_module_settings')])
{!! Form::label('module_info[repair][repair_status_label]', __('repair::lang.repair_status_label') . ':' ) !!} {!! Form::text('module_info[repair][repair_status_label]', $default['repair_status_label'], ['class' => 'form-control bd-rd-7', 'placeholder' => '' ]); !!}
{!! Form::label('module_info[repair][repair_warranty_label]', __('repair::lang.repair_warranty_label') . ':' ) !!} {!! Form::text('module_info[repair][repair_warranty_label]', $default['repair_warranty_label'], ['class' => 'form-control bd-rd-7', 'placeholder' => '' ]); !!}
{!! Form::label('module_info[repair][brand_label]', __('repair::lang.brand_label') . ':' ) !!} {!! Form::text('module_info[repair][brand_label]', $default['brand_label'], ['class' => 'form-control bd-rd-7', 'placeholder' => '' ]); !!}
{!! Form::label('module_info[repair][device_label]', __('repair::lang.device_label') . ':' ) !!} {!! Form::text('module_info[repair][device_label]', $default['device_label'], ['class' => 'form-control bd-rd-7', 'placeholder' => '' ]); !!}
{!! Form::label('module_info[repair][model_no_label]', __('repair::lang.model_no_label') . ':' ) !!} {!! Form::text('module_info[repair][model_no_label]', $default['model_no_label'], ['class' => 'form-control bd-rd-7', 'placeholder' => '' ]); !!}
{!! Form::label('module_info[repair][serial_no_label]', __('repair::lang.serial_no_label') . ':' ) !!} {!! Form::text('module_info[repair][serial_no_label]', $default['serial_no_label'], ['class' => 'form-control bd-rd-7', 'placeholder' => '' ]); !!}
{!! Form::label('module_info[repair][defects_label]', __('repair::lang.defects_label') . ':' ) !!} {!! Form::text('module_info[repair][defects_label]', $default['defects_label'], ['class' => 'form-control bd-rd-7', 'placeholder' => '' ]); !!}
{!! Form::label('module_info[repair][repair_checklist_label]', __('repair::lang.repair_checklist_label') . ':' ) !!} {!! Form::text('module_info[repair][repair_checklist_label]', $default['repair_checklist_label'], ['class' => 'form-control bd-rd-7', 'placeholder' => '' ]); !!}
@endcomponent @endif