add reason in corporate, plan, service
This commit is contained in:
@@ -70,10 +70,10 @@ class CorporateService
|
||||
'attribute' => 'Plan'
|
||||
]), 0, null, $row);
|
||||
} else if(!in_array($row['corporate_plan_id'], $current_corporate_plans)){
|
||||
throw new ImportRowException(__('plan.NOT_MATCH', [
|
||||
'attribute' => 'Plans',
|
||||
'code' => $row['corporate_plan_id']
|
||||
]), 0, null, $row);
|
||||
// throw new ImportRowException(__('plan.NOT_MATCH', [
|
||||
// 'attribute' => 'Plans',
|
||||
// 'code' => $row['corporate_plan_id']
|
||||
// ]), 0, null, $row);
|
||||
}
|
||||
|
||||
if (empty($row['code'])) {
|
||||
@@ -175,10 +175,10 @@ class CorporateService
|
||||
if (empty($row['plan_code'])) {
|
||||
throw new ImportRowException(__('benefit.PLAN_CODE_REQUIRED'), 0, null, $row);
|
||||
} else if (!in_array($row['plan_code'], $current_corporate_plans)){
|
||||
throw new ImportRowException(__('plan.NOT_MATCH', [
|
||||
'attribute' => 'Plan',
|
||||
'code' => $row['plan_code']
|
||||
]), 0, null, $row);
|
||||
// throw new ImportRowException(__('plan.NOT_MATCH', [
|
||||
// 'attribute' => 'Plan',
|
||||
// 'code' => $row['plan_code']
|
||||
// ]), 0, null, $row);
|
||||
}
|
||||
|
||||
if (empty($row['code'])) {
|
||||
|
||||
Reference in New Issue
Block a user