增加RESEND信件功能、修正信件流水編號錯誤

This commit is contained in:
ericli1018
2025-07-14 15:39:45 +08:00
parent cd366e559e
commit 8a2e680f85
6 changed files with 277 additions and 6 deletions

View File

@ -349,7 +349,7 @@ class EventHealthAllowanceCrudController extends CrudController
[
"title" => "翻轉代謝新人生,皮蛇疫苗加碼補 審核通過!",
"body" => "一、登記資料:"
."\n流水號: A-".str_pad($entry->id, 6, '0', STR_PAD_LEFT)
."\n流水號: C-".str_pad($entry->id, 6, '0', STR_PAD_LEFT)
."\n就醫院所:".$entry->hospital_name
."\n姓名:".(mb_strlen($entry->name) > 2 ? mb_substr($entry->name,0,1)."*".mb_substr($entry->name,-1) : mb_substr($entry->name,0,1)."*")
."\n身份證字號:".substr($entry->twid,0,2)."****".substr($entry->twid,-4)
@ -380,7 +380,7 @@ class EventHealthAllowanceCrudController extends CrudController
"body" => "抱歉,您的審核未通過!請依以下理由重新上活動網站登記。"
."\n理由:".$entry->check_reson
."\n\n登記資料:"
."\n流水號: A-".str_pad($entry->id, 6, '0', STR_PAD_LEFT)
."\n流水號: C-".str_pad($entry->id, 6, '0', STR_PAD_LEFT)
."\n就醫院所:".$entry->hospital_name
."\n姓名:".(mb_strlen($entry->name) > 2 ? mb_substr($entry->name,0,1)."*".mb_substr($entry->name,-1) : mb_substr($entry->name,0,1)."*")
."\n身份證字號:".substr($entry->twid,0,2)."****".substr($entry->twid,-4)