update member
This commit is contained in:
@@ -464,6 +464,7 @@ class MemberEnrollmentService
|
||||
"terminated_date" => $row['date_terminated'] ?? null,
|
||||
];
|
||||
|
||||
$this->validateRow($row);
|
||||
if (!isset($corporate->currentPolicy) || $corporate->currentPolicy->code != $row['policy_number']) {
|
||||
throw new ImportRowException(__('enrollment.POLICY_NUMBER_NOT_MATCH', [
|
||||
'policy_id' => $row['policy_number']
|
||||
@@ -552,6 +553,7 @@ class MemberEnrollmentService
|
||||
'corporate_id' => $row['corporate_id']
|
||||
]), 0, null, $row);
|
||||
}
|
||||
|
||||
switch ($row['record_mode']) {
|
||||
case "1": // New Member
|
||||
$member = Member::query()
|
||||
|
||||
Reference in New Issue
Block a user