Commit 17cb9774 by lujunyi

处方打印

parent b492644c
......@@ -91,8 +91,8 @@ public function search()
$font->size(32);
$font->color('#000000');
});
// 日期
$date = \Carbon\Carbon::parse($prescription->created_at)->format('Y-m-d');
// 开放日期
$date = \Carbon\Carbon::parse($prescription->prescription_at)->format('Y-m-d');
$img->text($date, 1215, 330, function ($font) {
$font->filename(public_path('static/fonts/SimHei.ttf'));
$font->size(32);
......
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