FEAT_IR_FILE_CLAIM_PUSH
This commit is contained in:
parent
9576ef412a
commit
369a1f297d
@ -3711,6 +3711,7 @@ class EmployeeRestController extends AdminController
|
|||||||
|
|
||||||
$claimData = [
|
$claimData = [
|
||||||
'ticket_type_id' => $data['policy_type_id'],
|
'ticket_type_id' => $data['policy_type_id'],
|
||||||
|
'policy_transaction_id' => $data['policy_transaction_id'],
|
||||||
'claim_status_id' => 62,
|
'claim_status_id' => 62,
|
||||||
'policy_no' => $policy['policy_no'],
|
'policy_no' => $policy['policy_no'],
|
||||||
'client_policy_id' => $policy['client_policy_id'],
|
'client_policy_id' => $policy['client_policy_id'],
|
||||||
@ -5011,7 +5012,9 @@ class EmployeeRestController extends AdminController
|
|||||||
"UPDATE ticket_master SET required_docs = ? WHERE id = ?",
|
"UPDATE ticket_master SET required_docs = ? WHERE id = ?",
|
||||||
[$required_docs, $ticket_id]
|
[$required_docs, $ticket_id]
|
||||||
);
|
);
|
||||||
return $this->respond(['status' => true, 'code' => 200, 'message' => 'Files uploaded successfully'], 200);
|
$apiServiceController = new ApiServiceController();
|
||||||
|
$tpaIrFilePushResponce = $apiServiceController->pushClaimFiles($ticket_id);
|
||||||
|
return $this->respond(['status' => true, 'code' => 200, 'message' => 'Files uploaded successfully', 'tpaIrFilePushResponce' => $tpaIrFilePushResponce], 200);
|
||||||
}else{
|
}else{
|
||||||
return $this->respond(['status' => false, 'code' => 400, 'message' => 'Failed to upload the file'], 200);
|
return $this->respond(['status' => false, 'code' => 400, 'message' => 'Failed to upload the file'], 200);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -91,6 +91,7 @@ class TicketMasterModel extends Model
|
|||||||
'hospital_phone_no',
|
'hospital_phone_no',
|
||||||
'claim_description',
|
'claim_description',
|
||||||
'required_docs',
|
'required_docs',
|
||||||
|
'policy_transaction_id',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user