CHANGE_bds_issue-final-fix - VADIVEL J 2025-10-30 11:44
This commit is contained in:
parent
f2e79abfe7
commit
45a762df13
@ -2236,12 +2236,12 @@ class PolicyTransactionModel extends Model
|
||||
$startDate = date('Y-m-d', strtotime($start_date));
|
||||
$endDate = date('Y-m-d', strtotime($end_date));
|
||||
|
||||
$builder->join('co_share_stmt_details', 'pt_co_share_details.id = co_share_stmt_details.co_share_id', 'left')
|
||||
->join('insurer_statements', 'co_share_stmt_details.statement_id = insurer_statements.id', 'left')
|
||||
$builder->join('co_share_stmt_details cssdfilter', 'pt_co_share_details.id = cssdfilter.co_share_id', 'left')
|
||||
->join('insurer_statements', 'cssdfilter.statement_id = insurer_statements.id', 'left')
|
||||
->where('insurer_statements.is_active', 1)
|
||||
->where('insurer_statements.month >=', $startDate)
|
||||
->where('insurer_statements.month <=', $endDate)
|
||||
->groupBy('co_share_stmt_details.co_share_id');
|
||||
->groupBy('cssdfilter.co_share_id');
|
||||
}
|
||||
|
||||
// ==============================
|
||||
|
||||
Loading…
Reference in New Issue
Block a user