CHANGE_bds_issue-final-fix-6 - VADIVEL J 2025-10-31 16:24
This commit is contained in:
parent
25be0dceef
commit
036adda88a
@ -153,20 +153,28 @@
|
||||
|
||||
|
||||
|
||||
$uniqueRecord = "$policy_no-$policy_updated_month-$policy_type-$client_name-$insurer_branch_name" ;
|
||||
$uniqueRecord = "$policy_no-$policy_updated_month-$policy_type-$client_name-$insurer_branch_name-$statement_status" ;
|
||||
|
||||
// irrespective of months or multiple months
|
||||
$uniqueAgreedAmountPerInsurer = "$policy_no-$policy_type-$client_name-$insurer_branch_name" ;
|
||||
|
||||
|
||||
$pastMonth = explode("-",$uniqueRecord )[1] ;
|
||||
|
||||
$currentMonth = $policy_updated_month ;
|
||||
|
||||
if(isset($uniquePoliciesReport[$uniqueRecord]) && $statement_status == "no statement uploaded" ){
|
||||
$pastStatementStatus = explode("-",$uniqueRecord )[5] ;
|
||||
$currentStatementStatus = $statement_status;
|
||||
|
||||
if(
|
||||
isset($uniquePoliciesReport[$uniqueRecord])
|
||||
&& $pastStatementStatus == $currentStatementStatus
|
||||
){
|
||||
continue ;
|
||||
}
|
||||
else if(isset($uniquePoliciesReport[$uniqueRecord]) && $statement_status == "statement uploaded" ){
|
||||
else if(
|
||||
isset($uniquePoliciesReport[$uniqueRecord])
|
||||
&& $pastStatementStatus == $currentStatementStatus
|
||||
){
|
||||
continue;
|
||||
}else{
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user