温馨提示

main
鹿和sa0ChunLuyu 7 days ago
parent 05129d98ca
commit da405bba3f

@ -228,6 +228,18 @@ public function GetCheckPdf()
->values() ->values()
->toArray(); ->toArray();
$room['check_notice'] = implode("\n", $notices); $room['check_notice'] = implode("\n", $notices);
//温馨提示:从该诊室所有检查项目读取 warm_tips去重过滤
$tips = DB::table('s_check_item')
->whereIn('item_name', $itemNames)
->where('status', 1)
->where('is_del', 0)
->pluck('warm_tips')
->filter()
->unique()
->values()
->toArray();
$room['warm_tips'] = $tips;
} }
} }
} }
@ -546,6 +558,18 @@ public function GenerateGroupedCheckPdf()
->values() ->values()
->toArray(); ->toArray();
$room['check_notice'] = implode("\n", $notices); $room['check_notice'] = implode("\n", $notices);
//温馨提示:从该诊室所有检查项目读取 warm_tips去重过滤
$tips = DB::table('s_check_item')
->whereIn('item_name', $itemNames)
->where('status', 1)
->where('is_del', 0)
->pluck('warm_tips')
->filter()
->unique()
->values()
->toArray();
$room['warm_tips'] = $tips;
} }
} }
} }

@ -95,11 +95,13 @@
<div style="padding: 5px 4px;"> <div style="padding: 5px 4px;">
<table style="border: none;"> <table style="border: none;">
<tr style="border: none;"> <tr style="border: none;">
<td style="width: 15%; border: none; font-size: 22px; font-weight: 900; text-align: left; vertical-align: middle;">温馨提示:</td> <td style="width: 15%; border: none; font-size: 22px; font-weight: 900; text-align: left; vertical-align: middle; white-space: nowrap;">温馨提示:</td>
<td style="text-align: left; border: none; font-size: 20px; line-height: 1.5;"> <td style="text-align: left; border: none; font-size: 20px; line-height: 1.5;">
<div>1、预约后请您及时缴费门诊患者预约成功后60分钟内不缴费系统会自动取消您的预约申请。自动取消后如需继续预约请到相关检查科室重新预约。</div> @if (isset($room['warm_tips']) && count($room['warm_tips']) > 0)
<div>2、预约时间为8点~10点的请8点到登记处签到预约时间为10点~12点的请10点前到登记处签到便于工作人员进行检查评估和准备。</div> @foreach($room['warm_tips'] as $tip)
<div>3、预约时间不是实际检查时间以现场登记后排队号为准。</div> <div>{!! nl2br(e($tip)) !!}</div>
@endforeach
@endif
</td> </td>
</tr> </tr>
</table> </table>

Loading…
Cancel
Save