FIX_ISSUE
This commit is contained in:
parent
90144fe5d7
commit
be6417761c
@ -3930,10 +3930,14 @@ class EmployeeRestController extends AdminController
|
|||||||
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 {
|
||||||
// this call for TPA integration
|
// this call for TPA integration
|
||||||
$apiServiceController = new ApiServiceController();
|
$apiServiceController = new ApiServiceController();
|
||||||
$apiServiceController->pushClaims($ticket_id);
|
$apiServiceController->pushClaims($ticket_id);
|
||||||
log_message('error', "pushClaims function called with Ticket ID: {$ticket_id}, In Employee Rest Controller");
|
log_message('error', "pushClaims function called with Ticket ID: {$ticket_id}, In Employee Rest Controller");
|
||||||
|
} catch (\Throwable $e) {
|
||||||
|
log_message('error', "Error in TPA Claim Push via Benifits or HR : ApiServiceController pushClaims function call for Ticket ID: {$ticket_id}. Error: " . $e->getMessage() . " Trace: " . $e->getTraceAsString());
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if($tpa_claim_push == false){
|
if($tpa_claim_push == false){
|
||||||
log_message('error', 'Skip the TPA claim push for IR DOCUMENTS');
|
log_message('error', 'Skip the TPA claim push for IR DOCUMENTS');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user