Commit d99c8b38 by 赵增煜

医师开方log

parent f488e00b
......@@ -89,7 +89,7 @@ public function prescription(Request $request)
$doctorLog = new PrescriptionLogModel;
$doctorLog->pharmacy_id = $prescription->pharmacy_id;
$doctorLog->pharmacy_name = $prescription->pharmacy_name;
$doctorLog->log_info = $doctor->mame.'在'.$prescription_at.'为'.$prescription->patient_name.'('.$patient->mobile.')开具处方单(处方单编号:'.$prescription_id.')';
$doctorLog->log_info = $doctor->name.'在'.$prescription_at.'为'.$prescription->patient_name.'('.$patient->mobile.')开具处方单(处方单编号:'.$prescription_id.')';
$doctorLog->save();
return $this->success('开方成功');
......
......@@ -300,7 +300,7 @@ public function create(Request $request)
$doctorLog->pharmacy_id = $pharmacy_id;
$doctorLog->pharmacy_name = $pharmacy->name;
$currentTime = $prescription_at;
$doctorLog->log_info = $randomDoctor->mame.'在'.$prescription_at.'为'.$patient->name.'('.$patient->mobile.')开具处方单(处方单编号:'.$prescription_number.')';
$doctorLog->log_info = $randomDoctor->name.'在'.$prescription_at.'为'.$patient->name.'('.$patient->mobile.')开具处方单(处方单编号:'.$prescription_number.')';
$doctorLog->save();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment