From 99e6711c968d3d4a52c423b6d6c20bb114c48023 Mon Sep 17 00:00:00 2001 From: Srinivas-Saravanan Date: Fri, 24 Jan 2025 11:18:00 +0530 Subject: [PATCH] FIX_MINOR_CHANGE_IN_IRDA_REPORT_SRINIVAS --- app/Controllers/BDSReportController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/BDSReportController.php b/app/Controllers/BDSReportController.php index 2e0335ca..212b53ac 100644 --- a/app/Controllers/BDSReportController.php +++ b/app/Controllers/BDSReportController.php @@ -62,7 +62,7 @@ class BDSReportController extends AdminController left join pt_co_share_details pt_co on ins.id = pt_co.insurer_id and pt_co.is_active = 1 left join co_share_stmt_details stmt on pt_co.id = stmt.co_share_id and stmt.is_active = 1 left join policy_transaction pt on pt_co.pt_id = pt.id and pt.is_active = 1 and pt.policy_issue_date >= '$fromDate' and pt.policy_issue_date <= '$toDate' - left join policy_type ptp on pt.policy_type_id = ptp.id and ptp.policy_category = $insurerCategory + left join policy_type ptp on pt.policy_type_id = ptp.id and ptp.policy_category = $insurerCategory and ptp.is_active = 1 where ins.is_active = 1 and (ptp.policy_category = $insurerCategory or ptp.policy_category is null) group by ins.id ";