修正前台查詢錯誤
This commit is contained in:
@ -405,7 +405,7 @@ class HealthAllowanceFillFormController extends Controller
|
||||
if ($eventItem->check_state == 1) {
|
||||
throw new \Exception('您已經登記審查,請等待審查完成。');
|
||||
}
|
||||
if ($eventItem->check_state == 2) {
|
||||
if ($eventItem->check_state != 2) {
|
||||
$rejectReason = $eventItem->check_reson;
|
||||
throw new \Exception('您的審查未通過,請依以下原因說明重新登記。');
|
||||
}
|
||||
|
@ -393,7 +393,7 @@ class ImprovedHealthFillFormController extends Controller
|
||||
if ($eventItem->check_state == 1) {
|
||||
throw new \Exception('您已經登記審查,請等待審查完成。');
|
||||
}
|
||||
if ($eventItem->check_state == 2) {
|
||||
if ($eventItem->check_state != 2) {
|
||||
$rejectReason = $eventItem->check_reson;
|
||||
throw new \Exception('您的審查未通過,請依以下原因說明重新登記。');
|
||||
}
|
||||
|
@ -320,7 +320,7 @@ class MetabolismFillFormController extends Controller
|
||||
if ($eventItem->check_state == 1) {
|
||||
throw new \Exception('您已經登記審查,請等待審查完成。');
|
||||
}
|
||||
if ($eventItem->check_state == 2) {
|
||||
if ($eventItem->check_state != 2) {
|
||||
$rejectReason = $eventItem->check_reson;
|
||||
throw new \Exception('您的審查未通過,請依以下原因說明重新登記。');
|
||||
}
|
||||
|
Reference in New Issue
Block a user