update
This commit is contained in:
@@ -92,6 +92,15 @@ class ClaimRequestService{
|
|||||||
|
|
||||||
public static function updateClaimRequest(){
|
public static function updateClaimRequest(){
|
||||||
try {
|
try {
|
||||||
|
$data = [
|
||||||
|
'member_id' => $member->id,
|
||||||
|
'currency' => 'IDR',
|
||||||
|
'plan_id' => $member->currentPlan->id,
|
||||||
|
'total_claim' => $row['tot_amt_insurred'],
|
||||||
|
'claim_request_id' => $claim_request_id,
|
||||||
|
'organization_id' => $organization ? $organization->id : NULL,
|
||||||
|
'status' => 'requested'
|
||||||
|
];
|
||||||
|
|
||||||
} catch (\Exception $error) {
|
} catch (\Exception $error) {
|
||||||
DB::rollBack();
|
DB::rollBack();
|
||||||
|
|||||||
Reference in New Issue
Block a user