Skip to content

Commit

Permalink
Merge pull request #215 from fiterlatam/feature/FBR-489
Browse files Browse the repository at this point in the history
FBR 489
  • Loading branch information
BrianMuhimbura authored Dec 8, 2023
2 parents 58f21f2 + 7a75536 commit 479dbf0
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/global-translations/locale-en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions app/global-translations/locale-es.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
installmentAmountInMultiplesOf: scope.product.installmentAmountInMultiplesOf,
canDefineInstallmentAmount : scope.product.canDefineInstallmentAmount,
isEqualAmortization : scope.product.isEqualAmortization,
requireCommitteeApproval : data.requireCommitteeApproval,
};

if (scope.product.isInterestRecalculationEnabled) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
scope.allowAttributeConfiguration = false;
}
scope.enableRates = scope.loanproduct.isRatesEnabled;
scope.requireCommitteeApproval = data.requireCommitteeApproval;
});

scope.scrollto = function (link) {
Expand Down
10 changes: 10 additions & 0 deletions app/views/products/createloanproduct.html
Original file line number Diff line number Diff line change
Expand Up @@ -1031,6 +1031,16 @@
</div>
</div>

<div class="form-group">
<div class="col-sm-3">
<input type="checkbox" name="requireCommitteeApproval" ng-model="formData.requireCommitteeApproval"/>
{{'label.input.requireCommitteeApproval' | translate}}
<i class="fa fa-question-circle"
uib-tooltip="{{'label.tooltip.loanproduct.requireCommitteeApproval' | translate}}"
tooltip-append-to-body="true"></i>
</div>
</div>


<h3>{{ 'label.heading.interestRecalculation' | translate }}</h3>
<hr>
Expand Down
9 changes: 9 additions & 0 deletions app/views/products/editloanproduct.html
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,15 @@ <h3>{{ 'label.heading.settings' | translate }}</h3>
</div>
</div>

<div class="form-group">
<div class="col-sm-3">
<input type="checkbox" name="requireCommitteeApproval" ng-model="formData.requireCommitteeApproval"/>
{{'label.input.requireCommitteeApproval' | translate}}
<i class="icon-question-sign" tooltip="{{'label.tooltip.loanproduct.requireCommitteeApproval' | translate}}"
tooltip-append-to-body="true"></i>
</div>
</div>

<h3>{{ 'label.heading.interestRecalculation' | translate }}</h3>
<hr>
<div class="form-group">
Expand Down
4 changes: 4 additions & 0 deletions app/views/products/viewloanproduct.html
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,10 @@
<td>{{'label.input.no.of.overdue.days.to.move.loan.into.arrears' | translate}}</td>
<td colspan="3">{{graceOnArrearsAging}}</td>
</tr>
<tr>
<td>{{'label.input.requireCommitteeApproval' | translate}}</td>
<td colspan="3">{{requireCommitteeApproval}}</td>
</tr>
<tr class="bottomborder">
<td colspan="4"><strong>{{'label.heading.charges' | translate}}</strong></td>
</tr>
Expand Down

0 comments on commit 479dbf0

Please sign in to comment.