From d5a2e99af0f71fbe144303cb3913f998391caf35 Mon Sep 17 00:00:00 2001 From: Jose Alberto Hernandez Date: Sun, 24 Mar 2024 22:47:37 -0600 Subject: [PATCH] Loan and Savings products translations --- src/app/core/utils/accounting.ts | 6 +- .../loan-product-summary.component.ts | 6 +- .../create-loan-product.component.html | 16 +- .../create-loan-product.component.ts | 5 +- .../edit-loan-product.component.html | 16 +- .../edit-loan-product.component.ts | 5 +- ...oan-product-accounting-step.component.html | 39 +- .../loan-product-charges-step.component.html | 52 +-- .../loan-product-currency-step.component.html | 16 +- .../loan-product-details-step.component.html | 22 +- ...ance-payment-allocation-tab.component.html | 2 +- .../loan-product-preview-step.component.html | 6 +- .../loan-product-settings-step.component.html | 190 +++++----- .../loan-product-terms-step.component.html | 136 +++---- .../loan-products.component.html | 32 +- .../view-loan-product.component.html | 2 +- .../create-saving-product.component.html | 14 +- .../edit-saving-product.component.html | 14 +- ...ing-product-accounting-step.component.html | 44 ++- ...aving-product-accounting-step.component.ts | 4 + ...saving-product-charges-step.component.html | 18 +- ...aving-product-currency-step.component.html | 18 +- ...saving-product-details-step.component.html | 14 +- ...saving-product-preview-step.component.html | 100 ++--- ...aving-product-settings-step.component.html | 50 +-- .../saving-product-terms-step.component.html | 26 +- .../saving-products.component.html | 30 +- .../saving-product-general-tab.component.html | 98 ++--- .../view-saving-product.component.html | 2 +- .../transactions-tab.component.html | 2 +- ...-savings-accounting-details.component.html | 4 +- src/assets/styles/_colours.scss | 14 + src/assets/translations/cs-CS.json | 45 ++- src/assets/translations/de-DE.json | 45 ++- src/assets/translations/en-US.json | 47 ++- src/assets/translations/es-MX.json | 347 ++++++++++-------- src/assets/translations/fr-FR.json | 45 ++- src/assets/translations/it-IT.json | 45 ++- src/assets/translations/ko-KO.json | 45 ++- src/assets/translations/lt-LT.json | 45 ++- src/assets/translations/lv-LV.json | 45 ++- src/assets/translations/ne-NE.json | 45 ++- src/assets/translations/pt-PT.json | 45 ++- src/assets/translations/sw-SW.json | 45 ++- 44 files changed, 1186 insertions(+), 661 deletions(-) diff --git a/src/app/core/utils/accounting.ts b/src/app/core/utils/accounting.ts index ecd3c1eae..8f6188367 100644 --- a/src/app/core/utils/accounting.ts +++ b/src/app/core/utils/accounting.ts @@ -9,7 +9,11 @@ import { OptionData } from 'app/shared/models/option-data.model'; export class Accounting { public getAccountingRulesForSavings(): string[] { - return ['None', 'Cash', 'Accrual (periodic)']; + return ['NONE', 'Cash', 'Accrual (periodic)']; + } + + public getAccountingRulesForLoans(): string[] { + return ['NONE', 'Cash', 'Accrual (periodic)', 'Accrual (upfront)']; } public isNoneAccounting(accountingRule: OptionData): boolean { diff --git a/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.ts b/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.ts index 8dbaf0472..4e4d40fbe 100644 --- a/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.ts +++ b/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.ts @@ -4,6 +4,7 @@ import { AccountingMapping, Charge, ChargeToIncomeAccountMapping, GLAccount, Pay import { AdvancePaymentAllocationData, CreditAllocation, PaymentAllocation } from '../../loan-product-stepper/loan-product-payment-strategy-step/payment-allocation-model'; import { LoanProducts } from '../../loan-products'; import { CodeName, OptionData } from '../../../../shared/models/option-data.model'; +import { Accounting } from 'app/core/utils/accounting'; @Component({ selector: 'mifosx-loan-product-summary', @@ -23,7 +24,7 @@ export class LoanProductSummaryComponent implements OnInit, OnChanges { chargesDisplayedColumns: string[] = ['name', 'chargeCalculationType', 'amount', 'chargeTimeType']; paymentFundSourceDisplayedColumns: string[] = ['paymentTypeId', 'fundSourceAccountId']; feesPenaltyIncomeDisplayedColumns: string[] = ['chargeId', 'incomeAccountId']; - accountingRuleData = ['None', 'Cash', 'Accrual (periodic)', 'Accrual (upfront)']; + accountingRuleData: string[] = []; isAdvancedPaymentAllocation = false; @@ -34,9 +35,10 @@ export class LoanProductSummaryComponent implements OnInit, OnChanges { feeToIncomeAccountMappings: ChargeToIncomeAccountMapping[] = []; penaltyToIncomeAccountMappings: ChargeToIncomeAccountMapping[] = []; - constructor() { } + constructor(private accounting: Accounting) { } ngOnInit() { + this.accountingRuleData = this.accounting.getAccountingRulesForLoans(); this.setCurrentValues(); } diff --git a/src/app/products/loan-products/create-loan-product/create-loan-product.component.html b/src/app/products/loan-products/create-loan-product/create-loan-product.component.html index f1d0cc6b0..5d2b433e7 100644 --- a/src/app/products/loan-products/create-loan-product/create-loan-product.component.html +++ b/src/app/products/loan-products/create-loan-product/create-loan-product.component.html @@ -24,7 +24,7 @@ - DETAILS + {{'labels.inputs.DETAILS' | translate}} @@ -32,7 +32,7 @@ - CURRENCY + {{'labels.inputs.CURRENCY' | translate}} @@ -40,7 +40,7 @@ - SETTINGS + {{'labels.inputs.SETTINGS' | translate}} - PAYMENT ALLOCATION + {{'labels.inputs.PAYMENT ALLOCATION' | translate}} - TERMS + {{'labels.inputs.TERMS' | translate}} @@ -81,7 +81,7 @@ - CHARGES + {{'labels.inputs.CHARGES' | translate}} - ACCOUNTING + {{'labels.inputs.ACCOUNTING' | translate}} - PREVIEW + {{'labels.inputs.PREVIEW' | translate}} { this.loanProductsTemplate = data.loanProductsTemplate; @@ -63,6 +65,7 @@ export class CreateLoanProductComponent implements OnInit { } ngOnInit() { + this.accountingRuleData = this.accounting.getAccountingRulesForLoans(); this.buildAdvancedPaymentAllocation(); } diff --git a/src/app/products/loan-products/edit-loan-product/edit-loan-product.component.html b/src/app/products/loan-products/edit-loan-product/edit-loan-product.component.html index 6073b91fd..cf9629de8 100644 --- a/src/app/products/loan-products/edit-loan-product/edit-loan-product.component.html +++ b/src/app/products/loan-products/edit-loan-product/edit-loan-product.component.html @@ -24,7 +24,7 @@ - DETAILS + {{'labels.inputs.DETAILS' | translate}} @@ -32,7 +32,7 @@ - CURRENCY + {{'labels.inputs.CURRENCY' | translate}} @@ -40,7 +40,7 @@ - SETTINGS + {{'labels.inputs.SETTINGS' | translate}} - PAYMENT ALLOCATION + {{'labels.inputs.PAYMENT ALLOCATION' | translate}} - TERMS + {{'labels.inputs.TERMS' | translate}} @@ -81,7 +81,7 @@ - CHARGES + {{'labels.inputs.CHARGES' | translate}} - ACCOUNTING + {{'labels.inputs.ACCOUNTING' | translate}} - PREVIEW + {{'labels.inputs.PREVIEW' | translate}} { this.loanProductAndTemplate = data.loanProductAndTemplate; @@ -66,6 +68,7 @@ export class EditLoanProductComponent implements OnInit { } ngOnInit() { + this.accountingRuleData = this.accounting.getAccountingRulesForLoans(); this.buildAdvancedPaymentAllocation(); this.advancePaymentStrategy(this.loanProductAndTemplate.transactionProcessingStrategyCode); if (this.isAdvancedPaymentStrategy) { diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-accounting-step/loan-product-accounting-step.component.html b/src/app/products/loan-products/loan-product-stepper/loan-product-accounting-step/loan-product-accounting-step.component.html index b7371df16..5f5df1cb9 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-accounting-step/loan-product-accounting-step.component.html +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-accounting-step/loan-product-accounting-step.component.html @@ -4,7 +4,7 @@ - {{ accountingRule }} + {{ 'labels.accounting.' + accountingRule | translate }} @@ -202,37 +202,37 @@ - Advanced Accounting Rules + {{'labels.heading.Advanced Accounting Rules' | translate}}
-

Configure Fund Sources for Payment Channels

+

{{'labels.heading.Configure Fund Sources for Payment Channels' | translate}}

- + - + - +
Payment Type {{'labels.inputs.Payment Type' | translate}} {{ paymentFundSource.paymentTypeId | find:paymentTypeData:'id':'name' }} Fund Source {{'labels.inputs.Fund Source' | translate}} {{ paymentFundSource.fundSourceAccountId | find:assetAccountData:'id':'name' }} Actions {{'labels.inputs.Actions' | translate}}
-

Map Fees to Specific Income Accounts

+

{{'labels.heading.Map Fees to Specific Income Accounts' | translate}}

- + - + - +
Fees {{'labels.inputs.Fees' | translate}} {{ feesIncome.chargeId | find:chargeData:'id':'name' }} Income Account {{'labels.inputs.Income Account' | translate}} {{ feesIncome.incomeAccountId | find:incomeAndLiabilityAccountData:'id':'name' }} Actions {{'labels.inputs.Actions' | translate}}
-

Map Penalties to Specific Income Accounts

+

{{'labels.heading.Map Penalties to Specific Income Accounts' | translate}}

@@ -303,21 +303,21 @@ - + - + - +
Penalty {{'labels.inputs.Penalty' | translate}} {{ penaltyIncome.chargeId | find:penaltyData:'id':'name' }} Income Account {{'labels.inputs.Income Account' | translate}} {{ penaltyIncome.incomeAccountId | find:incomeAccountData:'id':'name' }} Actions {{'labels.inputs.Actions' | translate}} - diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-charges-step/loan-product-charges-step.component.html b/src/app/products/loan-products/loan-product-stepper/loan-product-charges-step/loan-product-charges-step.component.html index de7da0911..1d33beacd 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-charges-step/loan-product-charges-step.component.html +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-charges-step/loan-product-charges-step.component.html @@ -1,9 +1,11 @@
- Charge + {{'labels.inputs.Charge' | translate}} - + {{ charge.name }} @@ -12,42 +14,43 @@
- +
- + - + - + - + - +
Name {{'labels.inputs.Name' | translate}} {{ charge.name + ', ' + charge.currency.displaySymbol }} Type {{'labels.inputs.Type' | translate}} {{ charge.chargeCalculationType.value }} Amount {{'labels.inputs.Amount' | translate}} {{ charge.amount }} Collected On {{'labels.inputs.Collected On' | translate}} {{ charge.chargeTimeType.value }} Actions {{'labels.inputs.Actions' | translate}} - +
- + - + - + - + - +
Name {{'labels.inputs.Name' | translate}} {{ overdueCharge.name + ', ' + overdueCharge.currency.displaySymbol }} Type {{'labels.inputs.Type' | translate}} {{ overdueCharge.chargeCalculationType.value }} Amount {{'labels.inputs.Amount' | translate}} {{ overdueCharge.amount }} Collected On {{'labels.inputs.Collected On' | translate}} {{ overdueCharge.chargeTimeType.value }} Actions {{'labels.inputs.Actions' | translate}} diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-currency-step/loan-product-currency-step.component.html b/src/app/products/loan-products/loan-product-stepper/loan-product-currency-step/loan-product-currency-step.component.html index f32de9ffa..d3457133c 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-currency-step/loan-product-currency-step.component.html +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-currency-step/loan-product-currency-step.component.html @@ -3,32 +3,32 @@
- Currency + {{'labels.inputs.Currency' | translate}} {{ currency.name }} - Currency is required + {{'labels.inputs.Currency' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Decimal Places + {{'labels.inputs.Decimal Places' | translate}} - Decimal Places is required + {{'labels.inputs.Decimal Places' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Currency in multiples of + {{'labels.inputs.Currency in multiples of' | translate}} - Installment in multiples of + {{'labels.inputs.Installment in multiples of' | translate}} @@ -37,10 +37,10 @@
diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-details-step/loan-product-details-step.component.html b/src/app/products/loan-products/loan-product-stepper/loan-product-details-step/loan-product-details-step.component.html index 64bb03506..e649a96f1 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-details-step/loan-product-details-step.component.html +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-details-step/loan-product-details-step.component.html @@ -3,23 +3,23 @@
- Product Name + {{'labels.inputs.Product Name' | translate}} - Product Name is required + {{'labels.inputs.Product Name' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Short Name + {{'labels.inputs.Short Name' | translate}} - Short Name is required + {{'labels.inputs.Short Name' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Fund + {{'labels.inputs.Fund' | translate}} {{ fund.name }} @@ -28,25 +28,25 @@ - Include in Customer Loan Counter + {{'labels.inputs.Include in Customer Loan Counter' | translate}} - Start Date + {{'labels.inputs.Start Date' | translate}} - Close Date + {{'labels.inputs.Close Date' | translate}} - Description + {{'labels.inputs.Description' | translate}} @@ -55,10 +55,10 @@
diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/advance-payment-allocation-tab/advance-payment-allocation-tab.component.html b/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/advance-payment-allocation-tab/advance-payment-allocation-tab.component.html index 6b2bef9cb..ca73b5d13 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/advance-payment-allocation-tab/advance-payment-allocation-tab.component.html +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-payment-strategy-step/advance-payment-allocation-tab/advance-payment-allocation-tab.component.html @@ -1,6 +1,6 @@
-

You can drag and drop the rows to set a Payment Allocations order

+

{{'labels.heading.You can drag and drop the rows to set a Payment Allocations order' | translate}}

diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-settings-step/loan-product-settings-step.component.html b/src/app/products/loan-products/loan-product-stepper/loan-product-settings-step/loan-product-settings-step.component.html index 5baada16f..cf176dac4 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-settings-step/loan-product-settings-step.component.html +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-settings-step/loan-product-settings-step.component.html @@ -2,7 +2,7 @@
- + {{'labels.inputs.products.loan.Amortization' | translate}} @@ -10,28 +10,24 @@ - Amortization is required + {{'labels.inputs.products.loan.Amortization' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - - {{'labels.inputs.products.loan.Is Equal Amortization?' | translate}} - - - - Interest Method + + {{'labels.inputs.Interest Method' | translate}} {{ interestType.value }} - Interest Method is required + {{'labels.inputs.Interest Method' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - - Interest calculation period + + {{'labels.inputs.Interest calculation period' | translate}} @@ -39,23 +35,27 @@ - Interest calculation period is required + {{'labels.inputs.Interest calculation period' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - + {{'labels.inputs.products.loan.Is Equal Amortization?' | translate}} + + + - Calculate interest for exact days in partial period + {{'labels.inputs.Calculate interest for exact days in partial period' | translate}} -

Loan Schedule

+

{{'labels.inputs.Loan Schedule' | translate}}

- - Loan Schedule Type + + {{'labels.inputs.Loan Schedule Type' | translate}} {{ loanScheduleType.value }} @@ -63,8 +63,8 @@ - - Repayment strategy + + {{'labels.inputs.Repayment strategy' | translate}} @@ -72,12 +72,12 @@ - Repayment strategy is required + {{'labels.inputs.Repayment strategy' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - - Loan Schedule Processing Type + + {{'labels.inputs.Loan Schedule Processing Type' | translate}} {{ loanScheduleProcessingType.value }} @@ -85,54 +85,54 @@ -

Loan Tranche Details

+

{{'labels.inputs.Loan Tranche Details' | translate}}

- Enable Multiple Disbursals + {{'labels.inputs.Enable Multiple Disbursals' | translate}}
- Maximum Tranche count + {{'labels.inputs.Maximum Tranche count' | translate}} - Maximum Tranche count is required + {{'labels.inputs.Maximum Tranche count' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Maximum allowed outstanding balance + {{'labels.inputs.Maximum allowed outstanding balance' | translate}} - Disallow Expected Disbursements + {{'labels.inputs.Disallow Expected Disbursements' | translate}}
-

Down Payment

+

{{'labels.heading.Down Payment' | translate}}

- Enable Down Payment + {{'labels.inputs.Enable Down Payment' | translate}}
- Disbursed Amount Percentage Down Payment (%) + {{'labels.inputs.Disbursed Amount Percentage Down Payment' | translate}} (%) - Disbursed Amount Percentage Down Payment is required + {{'labels.inputs.Disbursed Amount Percentage Down Payment' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Disbursed Amount Percentage Down Payment is out percentage range + {{'labels.inputs.Disbursed Amount Percentage Down Payment' | translate}} is out percentage range - Enable Auto Repayment for Down Payment + {{'labels.inputs.Enable Auto Repayment for Down Payment' | translate}}
@@ -140,22 +140,22 @@ -

Moratorium

+

{{'labels.inputs.Moratorium' | translate}}

- Grace on principal payment + {{'labels.inputs.Grace on principal payment' | translate}} - Grace on interest payment + {{'labels.inputs.Grace on interest payment' | translate}} - Delinquency Bucket + {{'labels.inputs.Delinquency Bucket' | translate}} {{ delinquencyBucket.name }} @@ -168,78 +168,78 @@ - Enable installment level Delinquency + {{'labels.inputs.Enable installment level Delinquency' | translate}} - Interest free period + {{'labels.inputs.Interest free period' | translate}} - Arrears tolerance + {{'labels.inputs.Arrears tolerance' | translate}} - Days in year + {{'labels.inputs.Days in year' | translate}} {{ daysInYearType.value }} - Days in year is required + {{'labels.inputs.Days in year' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Days in month + {{'labels.inputs.Days in month' | translate}} {{ daysInMonthType.value }} - Days in month is required + {{'labels.inputs.Days in month' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Allow fixing of the installment amount + {{'labels.inputs.Allow fixing of the installment amount' | translate}} -

Number of days a loan may be overdue before moving into arrears {{'labels.inputs.Number of days a loan may be overdue before moving into arrears' | translate}}

- On arrears ageing + {{'labels.inputs.On arrears ageing' | translate}} -

Maximum number of days a loan may be overdue before becoming a NPA (non-performing asset) {{'labels.inputs.Maximum number of days a loan may be overdue before becoming a NPA (non performing asset)' | translate}}

- Overdue days for NPA + {{'labels.inputs.Overdue days for NPA' | translate}} - Account moves out of NPA only after all arrears have been cleared? + {{'labels.inputs.Account moves out of NPA only after all arrears have been cleared' | translate}} - Principal Threshold (%) for Last Instalment + {{'labels.inputs.Principal Threshold (%) for Last Instalment' | translate}} - Are Variable Installments allowed? + {{'labels.inputs.Are Variable Installments allowed?' | translate}}
@@ -247,70 +247,70 @@

Variable Installments

- Minimum gap between Installments + {{'labels.inputs.Minimum gap between Installments' | translate}} - Minimum gap between Installments is required + {{'labels.inputs.Minimum gap between Installments' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Maximum gap between Installments + {{'labels.inputs.Maximum gap between Installments' | translate}} - Maximum gap between Installments is required + {{'labels.inputs.Maximum gap between Installments' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}}
- Allowed to be used for providing Topup Loans + {{'labels.inputs.Allowed to be used for providing Topup Loans' | translate}} -

Interest Recalculation

+

{{'labels.heading.Interest Recalculation' | translate}}

- Recalculate Interest + {{'labels.inputs.Recalculate Interest' | translate}}
- Pre-closure interest calculation rule + {{'labels.inputs.Pre-closure interest calculation rule' | translate}} {{ preClosureInterestCalculationStrategy.value }} - Pre-closure interest calculation rule is required + {{'labels.inputs.Pre-closure interest calculation rule' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Advance payments adjustment type + {{'labels.inputs.Advance payments adjustment type' | translate}} {{ rescheduleStrategyType.value }} - Advance payments adjustment type is required + {{'labels.inputs.Advance payments adjustment type' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Interest recalculation compounding on + {{'labels.inputs.Interest recalculation compounding on' | translate}} {{ interestRecalculationCompoundingType.value }} - Interest recalculation compounding on is required + {{'labels.inputs.Interest recalculation compounding on' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} @@ -319,18 +319,18 @@
- Frequency Interval for compounding + {{'labels.inputs.Frequency Interval for compounding' | translate}} - Frequency Interval for compounding is required + {{'labels.inputs.Frequency Interval for compounding' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Frequency Interval for recalculation + {{'labels.inputs.Frequency Interval for recalculation' | translate}} - Frequency Interval for recalculation is required + {{'labels.inputs.Frequency Interval for recalculation' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} @@ -339,7 +339,7 @@
- Frequency for compounding + {{'labels.inputs.Frequency for compounding' | translate}} {{ interestRecalculationFrequencyType.value }} @@ -388,14 +388,14 @@
- Frequency for recalculate Outstanding Principal + {{'labels.inputs.Frequency for recalculate Outstanding Principal' | translate}} {{ interestRecalculationFrequencyType.value }} - Frequency for recalculate Outstanding Principal is required + {{'labels.inputs.Frequency for recalculate Outstanding Principal' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} @@ -437,36 +437,36 @@
- Is Arrears recognization based on original schedule? + {{'labels.inputs.Is Arrears recognization based on original schedule' | translate}}?
-

Guarantee Requirements

+

{{'labels.heading.Guarantee Requirements' | translate}}

- Place Guarantee Funds On-Hold? + {{'labels.inputs.Place Guarantee Funds On-Hold' | translate}}
- Mandatory Guarantee(%) + {{'labels.inputs.Mandatory Guarantee(%)' | translate}} - Mandatory Guarantee is required + {{'labels.inputs.Mandatory Guarantee' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Minimum Guarantee from Own Funds(%) + {{'labels.inputs.Minimum Guarantee from Own Funds(%)' | translate}} - Minimum Guarantee from Guarantor Funds(%) + {{'labels.inputs.Minimum Guarantee from Guarantor Funds(%)' | translate}} @@ -478,62 +478,62 @@ matTooltip="Setting for event notifications to be sent before or after repayments. Blue color means default value from global configurations."> - Use the Global Configurations values to the Repayment Event (notifications) + {{'labels.inputs.Use the Global Configurations values to the Repayment Event (notifications)' | translate}}
- Due days for repayment event + {{'labels.inputs.Due days for repayment event' | translate}} - OverDue days for repayment event + {{'labels.inputs.OverDue days for repayment event' | translate}}
-

Configurable Terms and Settings

+

{{'labels.inputs.Configurable Terms and Settings' | translate}}

- Allow overriding select terms and settings in loan accounts + {{'labels.inputs.Allow overriding select terms and settings in loan accounts' | translate}}
- Amortization + {{'labels.inputs.Amortization' | translate}} - Interest method + {{'labels.inputs.Interest method' | translate}} - Repayment strategy + {{'labels.inputs.Repayment strategy' | translate}} - Interest calculation period + {{'labels.inputs.Interest calculation period' | translate}} - Arrears tolerance + {{'labels.inputs.Arrears tolerance' | translate}} - Repaid every + {{'labels.inputs.Repaid every' | translate}} - Moratorium + {{'labels.inputs.Moratorium' | translate}} - Number of days a loan may be overdue before moving into arrears + {{'labels.inputs.Number of days a loan may be overdue before moving into arrears' | translate}}
@@ -543,10 +543,10 @@
diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-terms-step/loan-product-terms-step.component.html b/src/app/products/loan-products/loan-product-stepper/loan-product-terms-step/loan-product-terms-step.component.html index 32732a771..dd247f1b4 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-terms-step/loan-product-terms-step.component.html +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-terms-step/loan-product-terms-step.component.html @@ -2,10 +2,10 @@
-

Principal

+

{{'labels.inputs.Principal' | translate}}

- Minimum + {{'labels.inputs.Minimum' | translate}} Minimum Value must be greater equal to than 0 @@ -13,15 +13,15 @@ - Default + {{'labels.inputs.Default' | translate}} - Default Principal is required + {{'labels.inputs.Default Principal' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Maximum + {{'labels.inputs.Maximum' | translate}} Maximum Value must be greater equal to than 0 and must be greater than Minimum Principal @@ -29,12 +29,12 @@ - Allow approval / disbursal above loan applied amount? + {{'labels.inputs.Allow approval / disbursal above loan applied amount' | translate}}
- Over Amount Calculation Type + {{'labels.inputs.Over Amount Calculation Type' | translate}} {{ overAppliedCalculationType.value }} @@ -43,13 +43,13 @@ - Over Amount + {{'labels.inputs.Over Amount' | translate}}
- Installment day calculation from + {{'labels.inputs.Installment day calculation from' | translate}} {{ repaymentStartDateType.value | translate}} @@ -57,10 +57,10 @@ -

Number of repayments

+

{{'labels.inputs.Number of repayments' | translate}}

- Minimum + {{'labels.inputs.Minimum' | translate}} Minimum Value must be greater equal to than 0 @@ -68,39 +68,39 @@ - Default + {{'labels.inputs.Default' | translate}} - Default number of repayments is required + {{'labels.inputs.Default number of repayments' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Maximum + {{'labels.inputs.Maximum' | translate}} - Maximum Value must be greater equal to than 0 and must be greater than Minimum Principal + {{'labels.inputs.Maximum' | translate}} Value must be greater equal to than 0 and must be greater than Minimum Principal -

Interest Rates

+

{{'labels.inputs.Interest Rates' | translate}}

- Is Zero Interest? + {{'labels.inputs.Is Zero Interest Rate?' | translate}} - Is Linked to floating interest rates? + {{'labels.inputs.Is Linked to floating interest rates?' | translate}}
-

Nominal interest rate

+

{{'labels.inputs.Nominal interest rate' | translate}}

- Minimum + {{'labels.inputs.Minimum' | translate}} Minimum Value must be greater than 0 @@ -108,30 +108,30 @@ - Default + {{'labels.inputs.Default' | translate}} - Default nominal interest rate is required + {{'labels.inputs.Default nominal interest rate' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Maximum + {{'labels.inputs.Maximum' | translate}} - Maximum Value must be greater equal to than 0 and must be greater than Minimum Principal + {{'labels.inputs.Maximum' | translate}} Value must be greater equal to than 0 and must be greater than Minimum Principal - Frequency + {{'labels.inputs.Frequency' | translate}} {{ interestRateFrequencyType.value }} - Nominal interest rate frequency is required + {{'labels.inputs.Nominal interest rate frequency' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} @@ -139,53 +139,53 @@
-

Floating interest rate

+

{{'labels.inputs.Floating Interest Rate' | translate}}

- Floating Rate + {{'labels.inputs.Floating Rate' | translate}} {{ floatingRate.name }} - Floating rate is required + {{'labels.inputs.Floating rate' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Differential Rate + {{'labels.inputs.Differential Rate' | translate}} - Differential rate is required + {{'labels.inputs.Differential rate' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Is Floating calculation allowed? + {{'labels.inputs.Is Floating calculation allowed?' | translate}} - Minimum + {{'labels.inputs.Minimum' | translate}} - Minimum interest rate is required + {{'labels.inputs.Minimum interest rate' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Default + {{'labels.inputs.Default' | translate}} - Default interest rate is required + {{'labels.inputs.Default interest rate' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Maximum + {{'labels.inputs.Maximum' | translate}} - Maximum interest rate is required + {{'labels.inputs.Maximum interest rate' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} @@ -193,62 +193,62 @@ -

Variations

+

{{'labels.inputs.Variations' | translate}}

- Terms vary based on loan cycle + {{'labels.inputs.Terms vary based on loan cycle' | translate}}
-

Principal by loan cycle

+

{{'labels.inputs.Principal by loan cycle' | translate}}

- + - + - + - + - + - +
Condition {{'labels.inputs.Condition' | translate}} {{ variation.valueConditionType | find:valueConditionTypeData:'id':'value' }} Loan Cycle {{'labels.inputs.Loan Cycle' | translate}} {{ variation.borrowerCycleNumber }} Minimum {{'labels.inputs.Minimum' | translate}} {{ variation.minValue }} Default {{'labels.inputs.Default' | translate}} {{ variation.defaultValue }} Maximum {{'labels.inputs.Maximum' | translate}} {{ variation.maxValue }} Actions {{'labels.inputs.Actions' | translate}}
-

Number of repayments by loan cycle

+

{{'labels.inputs.Number of repayments by loan cycle' | translate}}

- + - + - + - + - + - +
Condition {{'labels.inputs.Condition' | translate}} {{ variation.valueConditionType | find:valueConditionTypeData:'id':'value' }} Loan Cycle {{'labels.inputs.Loan Cycle' | translate}} {{ variation.borrowerCycleNumber }} Minimum {{'labels.inputs.Minimum' | translate}} {{ variation.minValue }} Default {{'labels.inputs.Default' | translate}} {{ variation.defaultValue }} Maximum {{'labels.inputs.Maximum' | translate}} {{ variation.maxValue }} Actions {{'labels.inputs.Actions' | translate}}
-

Nominal interest rate by loan cycle

+

{{'labels.inputs.Nominal interest rate by loan cycle' | translate}}

@@ -394,39 +394,39 @@ -

Repaid every

+

{{'labels.inputs.Repaid every' | translate}}

- Frequency + {{'labels.inputs.Frequency' | translate}} - Repaid every frequency is required + {{'labels.inputs.Repaid every frequency' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} - Type + {{'labels.inputs.Frequency Type' | translate}} {{ repaymentFrequencyType.value }} - Repaid every type is required + {{'labels.inputs.Repaid every type' | translate}} {{'labels.commons.is' | translate}} {{'labels.commons.required' | translate}} -

Fixed Length {{'labels.inputs.Fixed Length' | translate}}

- Fixed Length + {{'labels.inputs.Fixed Length' | translate}} {{ loanProductTermsForm.value.repaymentFrequencyType | find:repaymentFrequencyTypeData:'id':'value' }} - Minimum days between disbursal and first repayment date + {{'labels.inputs.Minimum days between disbursal and first repayment date' | translate}} @@ -435,10 +435,10 @@
diff --git a/src/app/products/loan-products/loan-products.component.html b/src/app/products/loan-products/loan-products.component.html index 5976b5a9b..c529945e3 100644 --- a/src/app/products/loan-products/loan-products.component.html +++ b/src/app/products/loan-products/loan-products.component.html @@ -2,7 +2,7 @@
@@ -21,22 +21,22 @@ - + - + - + - +
Name {{'labels.inputs.Name' | translate}} {{ loanProduct.name }} Short Name {{'labels.inputs.Short Name' | translate}} {{ loanProduct.shortName }} Expiry Date {{'labels.inputs.Expiry Date' | translate}} {{ loanProduct.closeDate | dateFormat }} Status {{'labels.inputs.Status' | translate}}
@@ -56,29 +56,29 @@
-

Create loan product

+

{{'labels.heading.Create Loan Product' | translate}}t

This option allows you to create new loan product.

- - - + + +
-

Search bar to filter loan products.

+

{{'labels.heading.Search bar to filter loan products.' | translate}}

- - - + + +

List of loan products in the organization. For more details click: Loan Products

- - - + + +
diff --git a/src/app/products/loan-products/view-loan-product/view-loan-product.component.html b/src/app/products/loan-products/view-loan-product/view-loan-product.component.html index 84c50c845..1374d418f 100644 --- a/src/app/products/loan-products/view-loan-product/view-loan-product.component.html +++ b/src/app/products/loan-products/view-loan-product/view-loan-product.component.html @@ -5,7 +5,7 @@