修正前台查詢錯誤

This commit is contained in:
ericli1018
2025-07-10 14:31:51 +08:00
parent 355db2c0f9
commit cd366e559e
8 changed files with 6 additions and 6 deletions

View File

@ -405,7 +405,7 @@ class HealthAllowanceFillFormController extends Controller
if ($eventItem->check_state == 1) { if ($eventItem->check_state == 1) {
throw new \Exception('您已經登記審查,請等待審查完成。'); throw new \Exception('您已經登記審查,請等待審查完成。');
} }
if ($eventItem->check_state == 2) { if ($eventItem->check_state != 2) {
$rejectReason = $eventItem->check_reson; $rejectReason = $eventItem->check_reson;
throw new \Exception('您的審查未通過,請依以下原因說明重新登記。'); throw new \Exception('您的審查未通過,請依以下原因說明重新登記。');
} }

View File

@ -393,7 +393,7 @@ class ImprovedHealthFillFormController extends Controller
if ($eventItem->check_state == 1) { if ($eventItem->check_state == 1) {
throw new \Exception('您已經登記審查,請等待審查完成。'); throw new \Exception('您已經登記審查,請等待審查完成。');
} }
if ($eventItem->check_state == 2) { if ($eventItem->check_state != 2) {
$rejectReason = $eventItem->check_reson; $rejectReason = $eventItem->check_reson;
throw new \Exception('您的審查未通過,請依以下原因說明重新登記。'); throw new \Exception('您的審查未通過,請依以下原因說明重新登記。');
} }

View File

@ -320,7 +320,7 @@ class MetabolismFillFormController extends Controller
if ($eventItem->check_state == 1) { if ($eventItem->check_state == 1) {
throw new \Exception('您已經登記審查,請等待審查完成。'); throw new \Exception('您已經登記審查,請等待審查完成。');
} }
if ($eventItem->check_state == 2) { if ($eventItem->check_state != 2) {
$rejectReason = $eventItem->check_reson; $rejectReason = $eventItem->check_reson;
throw new \Exception('您的審查未通過,請依以下原因說明重新登記。'); throw new \Exception('您的審查未通過,請依以下原因說明重新登記。');
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 380 KiB

After

Width:  |  Height:  |  Size: 900 KiB

View File

@ -7,7 +7,7 @@
<div class="row justify-content-center"> <div class="row justify-content-center">
<div class="col-md-8 main-area"> <div class="col-md-8 main-area">
<h1 style="text-align: center;"> <h1 style="text-align: center;">
轉代謝新人生 皮蛇疫苗加碼補 轉代謝新人生 皮蛇疫苗加碼補
</h1> </h1>
</div> </div>
</div> </div>

View File

@ -6,7 +6,7 @@
<div class="row justify-content-center"> <div class="row justify-content-center">
<div class="col-md-8 main-area"> <div class="col-md-8 main-area">
<h1 style="text-align: center;"> <h1 style="text-align: center;">
轉代謝新人生 皮蛇疫苗加碼補 轉代謝新人生 皮蛇疫苗加碼補
</h1> </h1>
</div> </div>
</div> </div>

View File

@ -7,7 +7,7 @@
<div class="row justify-content-center"> <div class="row justify-content-center">
<div class="col-md-8 main-area"> <div class="col-md-8 main-area">
<h1 style="text-align: center;"> <h1 style="text-align: center;">
轉代謝新人生 皮蛇疫苗加碼補 轉代謝新人生 皮蛇疫苗加碼補
</h1> </h1>
</div> </div>
</div> </div>