From 254eb3a7ad71d009a50054a95a0e233c63abe75e Mon Sep 17 00:00:00 2001 From: "sanjeev.p" Date: Wed, 7 Jan 2026 09:16:39 +0530 Subject: [PATCH] FIX_InvoicePolicyMappingPage_summaryBar_DoubleTimeDeclared --- app/Views/invoice_policy_mapping.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Views/invoice_policy_mapping.php b/app/Views/invoice_policy_mapping.php index c103ec1d..3c357172 100644 --- a/app/Views/invoice_policy_mapping.php +++ b/app/Views/invoice_policy_mapping.php @@ -525,7 +525,8 @@ table.dataTable tbody td { padding: 4px 4px !important; } function loadPolicies() { // const agentId = getEl('agentSelect')?.value || ''; const posId = getEl('posSelect')?.value || ''; - console.log('-->',posId); + console.log(':) POS --> ',posId); + console.log(window.allPolicies); const policyTillDate = getEl('policyTillDate')?.value || ''; const list = getEl('policyListBody'); if (!list) return; @@ -623,7 +624,6 @@ table.dataTable tbody td { padding: 4px 4px !important; } if (selectedPolicies.size === 0) { summaryBar.classList.remove('show') - const summaryBar = getEl('summaryBar');; if (selectedCountBadge) selectedCountBadge.style.display = 'none'; totalPoliciesEl.textContent = '0'; totalAmountEl.textContent = '₹0.00';