From 6867e0f5aac5ef26b3176e5df509c08948e2e0f2 Mon Sep 17 00:00:00 2001 From: Srinivas-Saravanan Date: Tue, 13 May 2025 12:40:55 +0530 Subject: [PATCH] FEAT_NON_EB_ADDITIONAL_EXCESS --- app/Views/policyRegisterModel.php | 10 ++- app/Views/view_rfq_non_eb.php | 114 ++++++++++++++++++++++++++++-- 2 files changed, 117 insertions(+), 7 deletions(-) diff --git a/app/Views/policyRegisterModel.php b/app/Views/policyRegisterModel.php index 1e12dbbe..9cfadf3c 100644 --- a/app/Views/policyRegisterModel.php +++ b/app/Views/policyRegisterModel.php @@ -1144,15 +1144,21 @@ function registerPolicyData() { var policyType; + var policyAcronym; - if (totalSI < 50000000) { + if (totalSI <= 50000000) { policyType = "Bharat Sookshma Udyam Suraksha (BSUS)" - } else if (totalSI > 50000000 && totalSI < 500000000) { + policyAcronym = "bsu" + } else if (totalSI > 50000000 && totalSI <= 500000000) { policyType = "Bharat Laghu Udyam Suraksha (BLUS)" + policyAcronym = "blu" } else if (totalSI > 500000000) { policyType = "Standard Fire and Special Perils (SFSP)"; + policyAcronym = "sfsp" } + modifyExcessTable(policyAcronym); + // Build the initial JSON object with productSelection and policyDetails var outputData = { policyType: policyType, diff --git a/app/Views/view_rfq_non_eb.php b/app/Views/view_rfq_non_eb.php index 8fe7d058..977d1c82 100644 --- a/app/Views/view_rfq_non_eb.php +++ b/app/Views/view_rfq_non_eb.php @@ -517,6 +517,22 @@ \ No newline at end of file + + + + + +