Apply Pagination
This commit is contained in:
@@ -167,7 +167,7 @@ class MemberEnrollmentService
|
||||
"end_no_claim" => $row['end_no_claim'],
|
||||
];
|
||||
|
||||
if ($corporate->currentPolicy->code != $row['policy_number']) {
|
||||
if (!isset($corporate->currentPolicy) || $corporate->currentPolicy->code != $row['policy_number']) {
|
||||
throw new ImportRowException(__('enrollment.POLICY_NUMBER_NOT_MATCH', [
|
||||
'policy_id' => $row['policy_number']
|
||||
]), 0, null, $row);
|
||||
@@ -555,7 +555,7 @@ class MemberEnrollmentService
|
||||
throw new ImportRowException(__("enrollment.MODE_UNAVAILABLE"), 0, null, $row);
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
throw $e; //new ImportRowException($e->getMessage(), (int) $e->getCode(), $e, $row);
|
||||
throw new ImportRowException($e->getMessage(), (int) $e->getCode(), $e, $row);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user