{{ Form::label('test_name', __('messages.pathology_test.test_name') . ':', ['class' => 'form-label']) }}
{{ Form::text('test_name', null, ['class' => 'form-control', 'required']) }}
{{ Form::label('short_name', __('messages.pathology_test.short_name') . ':', ['class' => 'form-label']) }}
{{ Form::text('short_name', null, ['class' => 'form-control', 'required']) }}
{{ Form::label('test_type', __('messages.pathology_test.test_type') . ':', ['class' => 'form-label']) }}
{{ Form::text('test_type', null, ['class' => 'form-control', 'required']) }}
{{ Form::label('category_id', __('messages.pathology_test.category_name') . ':', ['class' => 'form-label']) }}
{{ Form::select('category_id', $data['pathologyCategories'], null, ['class' => 'form-select pathologyCategories', 'required', 'placeholder' => 'Select Category', 'required']) }}
{{ Form::label('unit', __('messages.pathology_test.unit') . ':', ['class' => 'form-label']) }}
{{ Form::number('unit', null, ['class' => 'form-control']) }}
{{ Form::label('subcategory', __('messages.pathology_test.subcategory') . ':', ['class' => 'form-label']) }}
{{ Form::text('subcategory', null, ['class' => 'form-control']) }}
{{ Form::label('method', __('messages.pathology_test.method') . ':', ['class' => 'form-label']) }}
{{ Form::text('method', null, ['class' => 'form-control']) }}
{{ Form::label('report_days', __('messages.pathology_test.report_days') . ':', ['class' => 'form-label']) }}
{{ Form::number('report_days', null, ['class' => 'form-control']) }}
{{ Form::label('charge_category_id', __('messages.pathology_test.charge_category') . ':', ['class' => 'form-label']) }}
{{ Form::select('charge_category_id', $data['chargeCategories'], null, ['class' => 'form-select pChargeCategories', 'required', 'placeholder' => __('messages.pathology_category.select_charge_category'), 'required']) }}
{{ Form::label('standard_charge', __('messages.pathology_test.standard_charge') . ':', ['class' => 'form-label']) }}
({{ getCurrencySymbol() }})
{{ Form::text('standard_charge', null, ['class' => 'form-control price-input pathologyStandardCharge', 'readonly', 'required']) }}
{{ __('messages.new_change.parameter_name') }}
|
{{ __('messages.new_change.patient_result') }}
|
{{ __('messages.new_change.reference_range') }}
|
{{ __('messages.pathology_test.unit') }}
|
{{ __('messages.common.add') }}
|
@if (isset($pathologyParameterItems))
@foreach ($pathologyParameterItems as $key => $pathologyParameterItem)
{{ Form::select('parameter_id[]', $data['pathologyParameters'], isset($pathologyParameterItem->pathologyParameter) ? $pathologyParameterItem->pathologyParameter->id : null, ['class' => 'form-select select2Selector patholory-parameter-data', 'required', 'placeholder' => __('messages.new_change.select_parameter_name'), 'data-id' => '1', 'data-control' => 'select2']) }}
|
{{ Form::text('patient_result[]', $pathologyParameterItem->patient_result ?? null, ['class' => 'form-control ', 'data-id' => 1, 'required']) }}
|
{{ Form::text('reference_range[]', $pathologyParameterItem->pathologyParameter->reference_range ?? null, ['class' => 'form-control', 'id' => 'rangeId', 'readonly']) }}
|
{{ Form::text('unit_id[]', $pathologyParameterItem->pathologyParameter->pathologyUnit->name ?? null, ['class' => 'form-control', 'id' => 'unitId', 'readonly']) }}
|
@if ($key != 0)
|
@endif
@endforeach
@endif
@if ($pathologyParameterItems->count() == false)
{{ Form::select('parameter_id[]', $data['pathologyParameters'], null, ['class' => 'form-select select2Selector patholory-parameter-data', 'required', 'placeholder' => __('messages.new_change.select_parameter_name'), 'data-id' => '1', 'data-control' => 'select2']) }}
|
{{ Form::text('patient_result[]', null, ['class' => 'form-control ', 'data-id' => 1, 'required']) }}
|
{{ Form::text('reference_range[]', null, ['class' => 'form-control', 'id' => 'rangeId', 'readonly']) }}
|
{{ Form::text('unit_id[]', null, ['class' => 'form-control', 'id' => 'unitId', 'readonly']) }}
|
@endif