From 369a1f297d4f781dcf35986bdf7e31f7d3685533 Mon Sep 17 00:00:00 2001 From: "venkatesh.r" Date: Wed, 10 Dec 2025 14:18:57 +0530 Subject: [PATCH] FEAT_IR_FILE_CLAIM_PUSH --- app/Controllers/EmployeeRestController.php | 5 ++++- app/Models/TicketMasterModel.php | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Controllers/EmployeeRestController.php b/app/Controllers/EmployeeRestController.php index 0c60223e..2c78d14a 100755 --- a/app/Controllers/EmployeeRestController.php +++ b/app/Controllers/EmployeeRestController.php @@ -3711,6 +3711,7 @@ class EmployeeRestController extends AdminController $claimData = [ 'ticket_type_id' => $data['policy_type_id'], + 'policy_transaction_id' => $data['policy_transaction_id'], 'claim_status_id' => 62, 'policy_no' => $policy['policy_no'], 'client_policy_id' => $policy['client_policy_id'], @@ -5011,7 +5012,9 @@ class EmployeeRestController extends AdminController "UPDATE ticket_master SET required_docs = ? WHERE 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{ return $this->respond(['status' => false, 'code' => 400, 'message' => 'Failed to upload the file'], 200); } diff --git a/app/Models/TicketMasterModel.php b/app/Models/TicketMasterModel.php index 0236b837..a44286a9 100644 --- a/app/Models/TicketMasterModel.php +++ b/app/Models/TicketMasterModel.php @@ -91,6 +91,7 @@ class TicketMasterModel extends Model 'hospital_phone_no', 'claim_description', 'required_docs', + 'policy_transaction_id', ];