From 7a75536748766b7da82a80675207f76f2d625ab3 Mon Sep 17 00:00:00 2001 From: Muhimbura Brian Mart Date: Fri, 8 Dec 2023 16:22:50 +0300 Subject: [PATCH] FBR 489 --- app/global-translations/locale-en.json | 2 ++ app/global-translations/locale-es.json | 2 ++ .../controllers/product/EditLoanProductController.js | 1 + .../controllers/product/ViewLoanProductController.js | 1 + app/views/products/createloanproduct.html | 10 ++++++++++ app/views/products/editloanproduct.html | 9 +++++++++ app/views/products/viewloanproduct.html | 4 ++++ 7 files changed, 29 insertions(+) diff --git a/app/global-translations/locale-en.json b/app/global-translations/locale-en.json index b017068f18..328e69f943 100644 --- a/app/global-translations/locale-en.json +++ b/app/global-translations/locale-en.json @@ -1815,6 +1815,7 @@ "label.tooltip.loanproduct.floatinginterestrate": "These fields are used to define the minimum, default, maximum, and period for the floating interest rate allowed for the loan product. The minimum, default, and maximum floating interest rates are expressed as percentages.", "label.tooltip.loanproduct.variableinstallments": "These fields are used to define the minimum, maximum gap that should be present between the installments for the loan product", "label.tooltip.loanproduct.canUseForTopup": "If selected, the Loan Product can be used to apply for Topup Loans.", + "label.tooltip.loanproduct.requireCommitteeApproval": "Loan Product will required committee approval for the loan applciation to be approved.", "#tool tip for new loan account": "..", "label.tooltip.product": "The name of the loan product that the loan account is based upon", "label.tooltip.loanofficer": "The financial institution representative who has responsibility for, and interacts with, the client/group associated with a loan account", @@ -3466,6 +3467,7 @@ "label.input.sharereference": "Share reference", "label.input.sharecontrol": "Share Suspense control", "label.input.equity": "Equity", + "label.input.requireCommitteeApproval": "Required Committee Approval", "#Buttons": "..", "label.button.createcharge": "Create Charge", "label.button.createloanproduct": "Create Loan Product", diff --git a/app/global-translations/locale-es.json b/app/global-translations/locale-es.json index 83546dfdde..fd1844a6b4 100644 --- a/app/global-translations/locale-es.json +++ b/app/global-translations/locale-es.json @@ -334,6 +334,7 @@ "label.input.email": "Correo electrónico", "label.input.prequalification.duration": "Vida útil de la precalificación (Días)", "label.input.linkprequalification": "Grupo de Precalificación de Enlaces", + "label.input.requireCommitteeApproval": "Aprobación requerida del comité", "label.button.previous": "Anterior", "label.button.next": "Siguiente", "label.button.save": "Enviar", @@ -1640,6 +1641,7 @@ "label.tooltip.loanproduct.canUseForTopup": "Si se selecciona, el producto de préstamo se puede utilizar para solicitar préstamos de complemento.", "label.tooltip.loanproduct.usedFor": "Los productos de préstamo se pueden utilizar para préstamos individuales o grupales.", "label.tooltip.loanproduct.addNewLoanCycles": "Determina si se deben agregar nuevos ciclos de préstamo a un producto.", + "label.tooltip.loanproduct.requireCommitteeApproval": "El producto de préstamo requerirá la aprobación del comité para que se apruebe la solicitud de préstamo.", "label.tooltip.product": "El nombre del producto de crédito que la cuenta del préstamo se basa en", "label.tooltip.loanofficer": "El representante de la institución financiera que tiene la responsabilidad y que interactúa con el cliente/grupo asociado con una cuenta de préstamo", "label.tooltip.loanpurpose": "Proporciona una indicación de cómo los fondos proporcionados por el préstamo serán dirigidos y pueden utilizarse para créditos grupales con el mismo propósito de informar", diff --git a/app/scripts/controllers/product/EditLoanProductController.js b/app/scripts/controllers/product/EditLoanProductController.js index 81c4dbb0b3..f790bf0184 100755 --- a/app/scripts/controllers/product/EditLoanProductController.js +++ b/app/scripts/controllers/product/EditLoanProductController.js @@ -107,6 +107,7 @@ installmentAmountInMultiplesOf: scope.product.installmentAmountInMultiplesOf, canDefineInstallmentAmount : scope.product.canDefineInstallmentAmount, isEqualAmortization : scope.product.isEqualAmortization, + requireCommitteeApproval : data.requireCommitteeApproval, }; if (scope.product.isInterestRecalculationEnabled) { diff --git a/app/scripts/controllers/product/ViewLoanProductController.js b/app/scripts/controllers/product/ViewLoanProductController.js index c6360ae57f..82d32cc7ae 100755 --- a/app/scripts/controllers/product/ViewLoanProductController.js +++ b/app/scripts/controllers/product/ViewLoanProductController.js @@ -33,6 +33,7 @@ scope.allowAttributeConfiguration = false; } scope.enableRates = scope.loanproduct.isRatesEnabled; + scope.requireCommitteeApproval = data.requireCommitteeApproval; }); scope.scrollto = function (link) { diff --git a/app/views/products/createloanproduct.html b/app/views/products/createloanproduct.html index 1e3b13c082..626b532996 100755 --- a/app/views/products/createloanproduct.html +++ b/app/views/products/createloanproduct.html @@ -1031,6 +1031,16 @@ +
+
+ + {{'label.input.requireCommitteeApproval' | translate}} + +
+
+

{{ 'label.heading.interestRecalculation' | translate }}


diff --git a/app/views/products/editloanproduct.html b/app/views/products/editloanproduct.html index fb88e54ad1..c7a2e666b8 100755 --- a/app/views/products/editloanproduct.html +++ b/app/views/products/editloanproduct.html @@ -740,6 +740,15 @@

{{ 'label.heading.settings' | translate }}

+
+
+ + {{'label.input.requireCommitteeApproval' | translate}} + +
+
+

{{ 'label.heading.interestRecalculation' | translate }}


diff --git a/app/views/products/viewloanproduct.html b/app/views/products/viewloanproduct.html index f8625922fa..cfa8013edc 100755 --- a/app/views/products/viewloanproduct.html +++ b/app/views/products/viewloanproduct.html @@ -473,6 +473,10 @@ {{'label.input.no.of.overdue.days.to.move.loan.into.arrears' | translate}} {{graceOnArrearsAging}} + + {{'label.input.requireCommitteeApproval' | translate}} + {{requireCommitteeApproval}} + {{'label.heading.charges' | translate}}