GWM : 500 error
This commit is contained in:
parent
b005dde089
commit
9307d4a5e2
@ -153,7 +153,6 @@ class EndorsementController extends ResourceController
|
||||
$policy = $this->PolicyModel
|
||||
->select('partner_policy.*,
|
||||
Q.insurer_id, Q.insurer_branch_id, Q.payment_mode_id,
|
||||
E.client_id,
|
||||
E.name as insured_name,
|
||||
E.mobile as client_mobile,
|
||||
E.email as client_email,
|
||||
@ -194,7 +193,6 @@ class EndorsementController extends ResourceController
|
||||
'client_policy_id' => $policy['client_policy_id'] ?? null,
|
||||
'insurer_id' => $policy['insurer_id'] ?? null,
|
||||
'insurer_branch_id' => $policy['insurer_branch_id'] ?? null,
|
||||
'client_id' => $policy['client_id'] ?? null,
|
||||
'policy_start_date' => $policy['start_date'] ?? null,
|
||||
'policy_end_date' => $policy['end_date'] ?? null,
|
||||
'reg_no' => $policy['reg_no'] ?? null,
|
||||
@ -211,7 +209,6 @@ class EndorsementController extends ResourceController
|
||||
'policy_number' => $reqData['policy_number'],
|
||||
'insurer_id' => $reqData['insurer_id'] ?? null,
|
||||
'insurer_branch_id' => $reqData['insurer_branch_id'] ?? null,
|
||||
'client_id' => $reqData['client_id'] ?? null,
|
||||
'policy_start_date' => format_date_for_database($reqData['policy_start_date'] ?? null),
|
||||
'policy_end_date' => format_date_for_database($reqData['policy_end_date'] ?? null),
|
||||
'reg_no' => $reqData['reg_no'] ?? null,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user