FIX_PUSHCLAIM_FILES_VIA_CRM
This commit is contained in:
parent
87ef4d499b
commit
8a4b8ff532
@ -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();
|
$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);
|
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) {
|
if ($count > 0 && $pdf_exist_in_the_file && $tpa_claim_push == true) {
|
||||||
try {
|
try {
|
||||||
// this call for TPA integration
|
// 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;
|
return $insert_ids;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user