From 8a4b8ff532b8a220331a68b36a02f8ce9d5c43da Mon Sep 17 00:00:00 2001 From: Venkatesh Date: Mon, 20 Apr 2026 18:30:12 +0530 Subject: [PATCH 1/4] FIX_PUSHCLAIM_FILES_VIA_CRM --- app/Controllers/EmployeeRestController.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/Controllers/EmployeeRestController.php b/app/Controllers/EmployeeRestController.php index 7d5e4c97..d261930b 100755 --- a/app/Controllers/EmployeeRestController.php +++ b/app/Controllers/EmployeeRestController.php @@ -3925,7 +3925,6 @@ class EmployeeRestController extends AdminController $count = $this->ticketMaster->where('id', $ticket_id)->where('is_active', 1)->where('tpa_claim_push_reference_no IS NULL')->countAllResults(); log_message('error', 'Ticket validation | Ticket ID: ' . $ticket_id . ' | Matching active tickets with NULL TPA reference: ' . $count); - if ($count > 0 && $pdf_exist_in_the_file && $tpa_claim_push == true) { try { // this call for TPA integration @@ -3945,6 +3944,16 @@ class EmployeeRestController extends AdminController } } + if($tpa_claim_push == false){ + try { + // this call for TPA integration Multiple document push for IR DOCUMENTS + $apiServiceController = new ApiServiceController(); + $apiServiceController->pushClaimFiles($ticket_id); + log_message('error', "pushClaimFiles IR FILE SUBMISSION function called with Ticket ID: {$ticket_id}, In Employee Rest Controller"); + } catch (\Throwable $e) { + log_message('error', "Error in TPA Claim Files Push via CRM : ApiServiceController pushClaims function call for Ticket ID: {$ticket_id}. Error: " . $e->getMessage() . " Trace: " . $e->getTraceAsString()); + } + } return $insert_ids; } From 923c97c9cba13442e0d3fa021a65dac5f393c576 Mon Sep 17 00:00:00 2001 From: Venkatesh Date: Tue, 21 Apr 2026 16:00:08 +0530 Subject: [PATCH 2/4] CHANGE_LEAD_TYPE_3_MIXED_WITH_1_AND_2 --- app/Views/leads_form.php | 257 ++++++++++++++++++------------- app/Views/leads_form_handler.php | 24 +++ app/Views/rfq/gmc.php | 38 ++--- app/Views/rfq/gpa.php | 10 +- 4 files changed, 199 insertions(+), 130 deletions(-) diff --git a/app/Views/leads_form.php b/app/Views/leads_form.php index 1f4811d0..3e077886 100644 --- a/app/Views/leads_form.php +++ b/app/Views/leads_form.php @@ -196,14 +196,15 @@
@@ -229,14 +230,14 @@
-