Fix nh_medical_prescriptions verification while execute health care sheet

This commit is contained in:
Djery-Tom 2021-12-20 10:32:08 +01:00
parent 3146f94378
commit a69b3253dc
1 changed files with 1 additions and 1 deletions

View File

@ -766,7 +766,7 @@ class HealthCareSheetController extends Controller
'practitioner_firstname' => 'nullable|string', 'practitioner_firstname' => 'nullable|string',
'practitioner_provider_class_id' => 'required|integer', 'practitioner_provider_class_id' => 'required|integer',
'prescriptions' => 'nullable|array', 'prescriptions' => 'nullable|array',
'prescriptions.*.id' => 'required|integer|exists:nh_drugs_and_devices,id', 'prescriptions.*.id' => 'required|integer|exists:nh_medical_prescriptions,id',
'prescriptions.*.unit_price' => 'required|numeric', 'prescriptions.*.unit_price' => 'required|numeric',
'exams' => 'nullable|array', 'exams' => 'nullable|array',
'exams.*.id' => 'nullable|integer|exists:nh_exams,id', 'exams.*.id' => 'nullable|integer|exists:nh_exams,id',