CHANGE_live_ui_fix_in_qcr - VADIVEL J 2025-10-17
This commit is contained in:
parent
ecadc26b09
commit
b1c6caa54e
@ -3259,7 +3259,7 @@ public function reportBDSNew()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 📊 Fetch report data
|
// 📊 Fetch report data
|
||||||
$data['report_list'] = $this->policyTransactionModel->getBDSReportListNew(
|
$data['report_list'] = $this->policyTransactionModel->reportBDSNew(
|
||||||
$start_date,
|
$start_date,
|
||||||
$end_date,
|
$end_date,
|
||||||
$client_id,
|
$client_id,
|
||||||
|
|||||||
@ -1807,7 +1807,7 @@ class PolicyTransactionModel extends Model
|
|||||||
return $result[0];
|
return $result[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getBDSReportListNew(
|
public function reportBDSNew(
|
||||||
$start_date = 0,
|
$start_date = 0,
|
||||||
$end_date = 0,
|
$end_date = 0,
|
||||||
$client_id = 0,
|
$client_id = 0,
|
||||||
|
|||||||
@ -742,6 +742,8 @@ input:checked + .slider::before {
|
|||||||
|
|
||||||
var policy_name_data = `${item.policy_type_name ?? ''}` + ' - ' + `${item.policy_no ?? ''}`;
|
var policy_name_data = `${item.policy_type_name ?? ''}` + ' - ' + `${item.policy_no ?? ''}`;
|
||||||
|
|
||||||
|
if(checkDateStatus(item.policy_end_date) != 'Expired'){
|
||||||
|
|
||||||
policyTable += `
|
policyTable += `
|
||||||
<tr>
|
<tr>
|
||||||
<td>${item.insurer_short} - ${item.insurer_branch_name}</td>
|
<td>${item.insurer_short} - ${item.insurer_branch_name}</td>
|
||||||
@ -773,6 +775,8 @@ input:checked + .slider::before {
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
`;
|
`;
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
$('#policy_table').append(policyTable);
|
$('#policy_table').append(policyTable);
|
||||||
// console.log(policyTable);
|
// console.log(policyTable);
|
||||||
@ -799,6 +803,9 @@ input:checked + .slider::before {
|
|||||||
//console.log('Unknown error occurred', 'Warning');
|
//console.log('Unknown error occurred', 'Warning');
|
||||||
}
|
}
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
},
|
||||||
|
complete :function(){
|
||||||
|
console.log('AJAX request completed');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user