change address rule, email content and admin event crud

This commit is contained in:
Eric Li
2025-06-16 18:37:36 +08:00
parent b12cd07419
commit 32b04d09c3
29 changed files with 1139 additions and 122 deletions

View File

@ -351,6 +351,7 @@ class HealthAllowanceFillFormController extends Controller
Mail::to($request->input('email'))->send(new EventNotifyMail([
"title" => "反轉代謝新人生 皮蛇疫苗加碼補 登記成功!",
"body" => "登記資料:"
."\n流水號: C-".str_pad($eventItem->id, 6, '0', STR_PAD_LEFT)
."\n就醫院所:".$request->input('hospital_name')
."\n姓名:".$request->input('name')
."\n身份證字號:".substr($request->input('twid'),0,2)."xxxx".substr($request->input('twid'),-4)