Commit b492644c by lujunyi

处方打印

parent 4883b7d1
......@@ -67,7 +67,7 @@ public function search()
$font->valign('top'); // 确保文本垂直对齐方式
});
// 处方单编号
$img->text($prescription->id, 1170, 190, function ($font) {
$img->text("处方单编号:{$prescription->id}", 1170, 190, function ($font) {
$font->filename(public_path('static/fonts/SimHei.ttf'));
$font->size(24);
$font->color('#000000');
......
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