Fix bugs v3
This commit is contained in:
parent
3503ba65ce
commit
20d0824276
|
@ -699,12 +699,11 @@ class HealthCareSheetController extends Controller
|
||||||
$prescription->created_at = $prescription->updated_at = $datetime;
|
$prescription->created_at = $prescription->updated_at = $datetime;
|
||||||
$prescription->save();
|
$prescription->save();
|
||||||
|
|
||||||
$nhPrescription = NhHealthCareSheetsPrescription::create([
|
NhHealthCareSheetsPrescription::create([
|
||||||
'sheet_id' => $healthCareSheet->id,
|
'sheet_id' => $healthCareSheet->id,
|
||||||
'prescription_id' => $prescription->id,
|
'prescription_id' => $prescription->id,
|
||||||
|
'created_at' => $datetime, 'updated_at' => $datetime,
|
||||||
]);
|
]);
|
||||||
$nhPrescription->created_at = $nhPrescription->updated_at = $datetime;
|
|
||||||
$nhPrescription->save();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($request->input('exams', []) as $e) {
|
foreach ($request->input('exams', []) as $e) {
|
||||||
|
|
Loading…
Reference in New Issue