Merge branch 'dev' of bitbucket.org:jubilian/nhance into dev

This commit is contained in:
VENKATESHWARAN 2026-03-27 14:26:01 +05:30
commit cb0cd390f2

View File

@ -506,6 +506,7 @@ class VidalApiController extends BaseController
$tpa_claim_no = $claimData['claimNumber'] ?? '';
$currentStatus = $claimData['status'] ?? '';
$tpa_claim_type = $claimData['claimType'] ?? '';
$tpa_shortfall_no = $claimData['shortfallNo'] ?? '';
$doa = !empty($claimData['doa'] ?? null) ? date('Y-m-d', strtotime(str_replace('/', '-', $claimData['doa']))) : null;
@ -532,6 +533,9 @@ class VidalApiController extends BaseController
if (!empty($tpa_claim_type)) {
$updateArray['tpa_claim_type'] = $tpa_claim_type;
}
if (!empty($tpa_shortfall_no)) {
$updateArray['tpa_shortfall_no'] = $tpa_shortfall_no;
}
if($ticket['doa'] == $doa || $ticket['claim_number'] == $tpa_claim_no){
// UPDATE ticket_master
@ -1078,6 +1082,7 @@ class VidalApiController extends BaseController
tm.tpa_no as memberId,
tm.tpa_claim_push_reference_no as claimInwardNO,
tm.tpa_claim_id as claimNO,
tm.tpa_shortfall_no as shortfallNO,
cp.policy_no as policyNo,
cp.policy_start_date as startDate,
cp.policy_end_date as endDate,
@ -1150,7 +1155,7 @@ class VidalApiController extends BaseController
// 4. PREPARE REQUEST BODY
$body = [
"shortFallNo" => $ticket['claimNO'], // or actual shortfall number if different (GUR-0326-CL-0001471)
"shortFallNo" => $ticket['shortfallNO'],
];
// If single file → fileId