Commit f6e770a2 by lujunyi

打印处方bug

parent 520dbdc2
......@@ -79,7 +79,7 @@ public function search()
// 创建处方图片
// 处方背景图宽1653,高2339
$backgroudImg = public_path('static/images/zhongyao.jpg');
if ($prescription->prescription_type == PRESCRIPTION_TYPE_WM) {
if ($prescription->prescription_type == PrescriptionModel::PRESCRIPTION_TYPE_WM) {
$backgroudImg = public_path('static/images/xiyao.jpg');
}
......
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