diff --git a/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.html b/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.html index f2bc4a2d7..6eb18f022 100644 --- a/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.html +++ b/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.html @@ -1,48 +1,43 @@ -
+
+

{{ loanProduct.name }}

+

{{ 'labels.heading.Details' | translate }}

- {{ 'labels.inputs.Name' | translate }}: - - - -
- -
- {{ 'labels.inputs.Short Name' | translate }}: - {{ loanProduct.shortName }} + {{ 'labels.inputs.Short Name' | translate }}: + {{ loanProduct.shortName }}
- {{ 'labels.inputs.External Id' | translate }}: - {{ loanProduct.externalId }} + {{ 'labels.inputs.External Id' | translate }}: + {{ loanProduct.externalId }}
- {{ 'labels.inputs.Fund' | translate }}: - {{ loanProduct.fundName }} + {{ 'labels.inputs.Fund' | translate }}: + {{ loanProduct.fundName }}
- {{ 'labels.inputs.Include in Customer Loan Counter' | translate }}: - {{ loanProduct.includeInBorrowerCycle | yesNo }} + {{ 'labels.inputs.Include in Customer Loan Counter' | translate }}: + {{ loanProduct.includeInBorrowerCycle | yesNo }}
- {{ 'labels.inputs.Start Date' | translate }}: - {{ loanProduct.startDate | dateFormat }} + {{ 'labels.inputs.Start Date' | translate }}: + {{ loanProduct.startDate | dateFormat }}
- {{ 'labels.inputs.Close Date' | translate }}: - {{ loanProduct.closeDate | dateFormat }} + {{ 'labels.inputs.Close Date' | translate }}: + {{ loanProduct.closeDate | dateFormat }}
- {{ 'labels.inputs.Description' | translate }}: - {{ loanProduct.description }} + {{ 'labels.inputs.Description' | translate }}: + {{ loanProduct.description }}

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

@@ -50,28 +45,28 @@
- {{ 'labels.inputs.Currency' | translate }}: - {{ loanProduct.currency.code }} + {{ 'labels.inputs.Currency' | translate }}: + {{ loanProduct.currency.code }}
- {{ 'labels.inputs.Currency' | translate }}: - {{ loanProduct.currency.displayLabel }} + {{ 'labels.inputs.Currency' | translate }}: + {{ loanProduct.currency.displayLabel }}
- {{ 'labels.inputs.Decimal Places' | translate }}: - {{ loanProduct.currency.decimalPlaces }} + {{ 'labels.inputs.Decimal Places' | translate }}: + {{ loanProduct.currency.decimalPlaces }}
- {{ 'labels.inputs.Currency in multiples of' | translate }}: - {{ loanProduct.currency.inMultiplesOf }} + {{ 'labels.inputs.Currency in multiples of' | translate }}: + {{ loanProduct.currency.inMultiplesOf }}
- {{ 'labels.inputs.Installment in multiples of' | translate }}: - {{ loanProduct.installmentAmountInMultiplesOf }} + {{ 'labels.inputs.Installment in multiples of' | translate }}: + {{ loanProduct.installmentAmountInMultiplesOf }}

{{ 'labels.heading.Terms' | translate }}

@@ -79,8 +74,8 @@
- {{ 'labels.inputs.Principal' | translate }}: - {{ 'labels.inputs.Principal' | translate }}: + {{ loanProduct.principal | formatNumber }} (Min {{ (loanProduct.minPrincipal ? loanProduct.minPrincipal : loanProduct.principal) | formatNumber }} : Max {{ (loanProduct.maxPrincipal ? loanProduct.maxPrincipal : loanProduct.principal) | formatNumber }}) @@ -88,28 +83,28 @@
- {{ 'labels.inputs.Allow Approved / Disbursed Amounts Over Applied' | translate }}: - {{ loanProduct.allowApprovedDisbursedAmountsOverApplied | yesNo }} + {{ 'labels.inputs.Allow Approved / Disbursed Amounts Over Applied' | translate }}: + {{ loanProduct.allowApprovedDisbursedAmountsOverApplied | yesNo }}
- {{ 'labels.inputs.Over Amount' | translate }}: - {{ 'labels.inputs.Over Amount' | translate }}: + {{ loanProduct.overAppliedNumber | formatNumber: 0 }} % - {{ loanProduct.overAppliedNumber | formatNumber }} {{ loanProduct.currencyCode }}
- {{ 'labels.inputs.Installment day calculation from' | translate }}: - {{ loanProduct.repaymentStartDateType?.value | translateKey: 'catalogs' }} + {{ 'labels.inputs.Installment day calculation from' | translate }}: + {{ loanProduct.repaymentStartDateType?.value | translateKey: 'catalogs' }}
- {{ 'labels.inputs.Number of Repayments' | translate }}: - {{ + {{ 'labels.inputs.Number of Repayments' | translate }}: + {{ loanProduct.numberOfRepayments + ' (Min: ' + (loanProduct.minNumberOfRepayments ? loanProduct.minNumberOfRepayments : loanProduct.numberOfRepayments) + @@ -120,13 +115,13 @@
- {{ 'labels.inputs.Linked to floating interest rates' | translate }}: - {{ loanProduct.isLinkedToFloatingInterestRates | yesNo }} + {{ 'labels.inputs.Linked to floating interest rates' | translate }}: + {{ loanProduct.isLinkedToFloatingInterestRates | yesNo }}
- {{ 'labels.inputs.Nominal interest rate' | translate }}: - {{ 'labels.inputs.Nominal interest rate' | translate }}: + {{ loanProduct.interestRatePerPeriod + ' (Min: ' + @@ -143,31 +138,39 @@ >
-
- {{ 'labels.inputs.Floating Lending Interest Rate' | translate }}: - {{ loanProduct.floatingRateName }} - {{ 'labels.inputs.Interest Rate Differential' | translate }}: - {{ loanProduct.interestRateDifferential }} - {{ 'labels.inputs.Floating Interest Rate Calculation Allowed' | translate }}: - {{ loanProduct.isFloatingInterestRateCalculationAllowed | yesNo }} - {{ 'labels.inputs.Floating Interest Rate' | translate }}: - {{ - loanProduct.defaultDifferentialLendingRate + - ' (Min: ' + - (loanProduct.minDifferentialLendingRate - ? loanProduct.minDifferentialLendingRate - : loanProduct.defaultDifferentialLendingRate) + - ', Max: ' + - (loanProduct.maxDifferentialLendingRate - ? loanProduct.maxDifferentialLendingRate - : loanProduct.defaultDifferentialLendingRate) + - ')' - }} +
+
+ {{ 'labels.inputs.Floating Lending Interest Rate' | translate }}: + {{ loanProduct.floatingRateName }} +
+
+ {{ 'labels.inputs.Interest Rate Differential' | translate }}: + {{ loanProduct.interestRateDifferential }} +
+
+ {{ 'labels.inputs.Floating Interest Rate Calculation Allowed' | translate }}: + {{ loanProduct.isFloatingInterestRateCalculationAllowed | yesNo }} +
+
+ {{ 'labels.inputs.Floating Interest Rate' | translate }}: + {{ + loanProduct.defaultDifferentialLendingRate + + ' (Min: ' + + (loanProduct.minDifferentialLendingRate + ? loanProduct.minDifferentialLendingRate + : loanProduct.defaultDifferentialLendingRate) + + ', Max: ' + + (loanProduct.maxDifferentialLendingRate + ? loanProduct.maxDifferentialLendingRate + : loanProduct.defaultDifferentialLendingRate) + + ')' + }} +
- {{ 'labels.inputs.Terms vary based on loan cycle' | translate }}: - {{ loanProduct.useBorrowerCycle | yesNo }} + {{ 'labels.inputs.Terms vary based on loan cycle' | translate }}: + {{ loanProduct.useBorrowerCycle | yesNo }}
@@ -311,24 +314,24 @@
- {{ 'labels.inputs.Repay Every' | translate }}: - {{ 'labels.inputs.Repay Every' | translate }}: + {{ loanProduct.repaymentEvery }} {{ loanProduct.repaymentFrequencyType.value | translateKey: 'catalogs' }}
- {{ 'labels.inputs.Fixed Length' | translate }}: - {{ 'labels.inputs.Fixed Length' | translate }}: + {{ loanProduct.fixedLength }} {{ loanProduct.repaymentFrequencyType.value | translateKey: 'catalogs' }}
- {{ 'labels.inputs.Minimum days between disbursal and first repayment date' | translate }}: - {{ loanProduct.minimumDaysBetweenDisbursalAndFirstRepayment | formatNumber }} + {{ loanProduct.minimumDaysBetweenDisbursalAndFirstRepayment | formatNumber }}

{{ 'labels.heading.Settings' | translate }}

@@ -336,35 +339,35 @@
- {{ 'labels.inputs.Amortization' | translate }}: - {{ loanProduct.amortizationType.value | translateKey: 'catalogs' }} + {{ 'labels.inputs.Amortization' | translate }}: + {{ loanProduct.amortizationType.value | translateKey: 'catalogs' }}
- {{ 'labels.inputs.Is Equal Amortization' | translate }}: - {{ loanProduct.isEqualAmortization | yesNo }} + {{ 'labels.inputs.Is Equal Amortization' | translate }}: + {{ loanProduct.isEqualAmortization | yesNo }}
- {{ 'labels.inputs.Interest Method' | translate }}: - {{ loanProduct.interestType?.value | translateKey: 'catalogs' }} + {{ 'labels.inputs.Interest Method' | translate }}: + {{ loanProduct.interestType?.value | translateKey: 'catalogs' }}
- {{ 'labels.inputs.Interest Calculation Period' | translate }}: - {{ loanProduct.interestCalculationPeriodType?.value | translateKey: 'catalogs' }} + {{ 'labels.inputs.Interest Calculation Period' | translate }}: + {{ loanProduct.interestCalculationPeriodType?.value | translateKey: 'catalogs' }}
- {{ 'labels.inputs.Allow Partial Interest Calculation with same as repayment' | translate }}: - {{ loanProduct.allowPartialPeriodInterestCalculation | yesNo }} + {{ loanProduct.allowPartialPeriodInterestCalculation | yesNo }}
- {{ 'labels.inputs.Is interest recognition on disbursement date?' | translate }}: - {{ loanProduct.interestRecognitionOnDisbursementDate | yesNo }} + {{ 'labels.inputs.Is interest recognition on disbursement date?' | translate }}: + {{ loanProduct.interestRecognitionOnDisbursementDate | yesNo }}

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

@@ -372,25 +375,25 @@
- {{ 'labels.inputs.Loan Schedule Type' | translate }}: - {{ loanProduct.loanScheduleType.value | translateKey: 'catalogs' }} + {{ 'labels.inputs.Loan Schedule Type' | translate }}: + {{ loanProduct.loanScheduleType.value | translateKey: 'catalogs' }}
- {{ 'labels.inputs.Repayment Strategy' | translate }}: - {{ + {{ 'labels.inputs.Repayment Strategy' | translate }}: + {{ loanProduct.transactionProcessingStrategyName | translateKey: 'catalogs' }}
- {{ 'labels.inputs.Loan Schedule Processing Type' | translate }}: - {{ loanProduct.loanScheduleProcessingType.value }} + {{ 'labels.inputs.Loan Schedule Processing Type' | translate }}: + {{ loanProduct.loanScheduleProcessingType.value }}
- {{ 'labels.inputs.Advanced Payment Allocation Transactions' | translate }}: - + {{ 'labels.inputs.Advanced Payment Allocation Transactions' | translate }}: +
- {{ 'labels.inputs.Advanced Credit Allocation Transactions' | translate }}: - + {{ 'labels.inputs.Advanced Credit Allocation Transactions' | translate }}: +
- {{ 'labels.inputs.Supported Interest Refund Types' | translate }}: - + {{ 'labels.inputs.Supported Interest Refund Types' | translate }}: + {{ mapHumanReadableValueStringEnumOptionDataList(supportedInterestRefundTypes) }}
@@ -428,18 +431,18 @@
- {{ 'labels.inputs.Enable Down Payments' | translate }}: - {{ loanProduct.enableDownPayment | yesNo }} + {{ 'labels.inputs.Enable Down Payments' | translate }}: + {{ loanProduct.enableDownPayment | yesNo }}
- {{ 'labels.inputs.Disbursed Amount Percentage Down Payment' | translate }} (%): - {{ loanProduct.disbursedAmountPercentageForDownPayment }} % + {{ 'labels.inputs.Disbursed Amount Percentage Down Payment' | translate }} (%): + {{ loanProduct.disbursedAmountPercentageForDownPayment }} %
- {{ 'labels.inputs.Enable Auto Repayment for Down Payment' | translate }}: - {{ loanProduct.enableAutoRepaymentForDownPayment | yesNo }} + {{ 'labels.inputs.Enable Auto Repayment for Down Payment' | translate }}: + {{ loanProduct.enableAutoRepaymentForDownPayment | yesNo }}
@@ -448,108 +451,108 @@
- {{ 'labels.inputs.Loan Charge-off behaviour' | translate }}: - {{ loanProduct.chargeOffBehaviour.value | translateKey: 'catalogs' }} + {{ 'labels.inputs.Loan Charge-off behaviour' | translate }}: + {{ loanProduct.chargeOffBehaviour.value | translateKey: 'catalogs' }}

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

- {{ 'labels.inputs.Delinquency Bucket' | translate }}: - {{ loanProduct.delinquencyBucket.name }} - {{ + {{ 'labels.inputs.Delinquency Bucket' | translate }}: + {{ loanProduct.delinquencyBucket.name }} + {{ 'labels.inputs.Unassigned' | translate }}
- {{ 'labels.inputs.Delinquency Bucket' | translate }}: - {{ 'labels.inputs.Unassigned' | translate }} + {{ 'labels.inputs.Delinquency Bucket' | translate }}: + {{ 'labels.inputs.Unassigned' | translate }}
- {{ 'labels.inputs.Enable installment level Delinquency' | translate }}: - {{ loanProduct.enableInstallmentLevelDelinquency | yesNo }} + {{ 'labels.inputs.Enable installment level Delinquency' | translate }}: + {{ loanProduct.enableInstallmentLevelDelinquency | yesNo }}
- {{ 'labels.inputs.Grace on principal payment' | translate }}: - {{ loanProduct.graceOnPrincipalPayment }} + {{ 'labels.inputs.Grace on principal payment' | translate }}: + {{ loanProduct.graceOnPrincipalPayment }}
- {{ 'labels.inputs.Grace on interest payment' | translate }}: - {{ loanProduct.graceOnInterestPayment }} + {{ 'labels.inputs.Grace on interest payment' | translate }}: + {{ loanProduct.graceOnInterestPayment }}
- {{ 'labels.inputs.Interest free period' | translate }}: - {{ loanProduct.graceOnInterestCharged }} + {{ 'labels.inputs.Interest free period' | translate }}: + {{ loanProduct.graceOnInterestCharged }}
- {{ 'labels.inputs.Arrears tolerance' | translate }}: - {{ loanProduct.inArrearsTolerance }} + {{ 'labels.inputs.Arrears tolerance' | translate }}: + {{ loanProduct.inArrearsTolerance }}
- {{ 'labels.inputs.Days in year' | translate }}: - {{ loanProduct.daysInYearType?.value | translateKey: 'catalogs' }} + {{ 'labels.inputs.Days in year' | translate }}: + {{ loanProduct.daysInYearType?.value | translateKey: 'catalogs' }}
- {{ 'labels.inputs.Days in year custom strategy' | translate }}: - {{ loanProduct.daysInYearCustomStrategy.value | translateKey: 'catalogs' }} + {{ 'labels.inputs.Days in year custom strategy' | translate }}: + {{ loanProduct.daysInYearCustomStrategy.value | translateKey: 'catalogs' }}
- {{ 'labels.inputs.Days in month' | translate }}: - {{ loanProduct.daysInMonthType?.value | translateKey: 'catalogs' }} + {{ 'labels.inputs.Days in month' | translate }}: + {{ loanProduct.daysInMonthType?.value | translateKey: 'catalogs' }}
- {{ 'labels.inputs.Allow fixing of the installment amount' | translate }}: - {{ loanProduct.canDefineInstallmentAmount | yesNo }} + {{ 'labels.inputs.Allow fixing of the installment amount' | translate }}: + {{ loanProduct.canDefineInstallmentAmount | yesNo }}
- {{ 'labels.inputs.Number of days a loan may be overdue before moving into arrears' | translate }}: - {{ loanProduct.graceOnArrearsAgeing }} + {{ loanProduct.graceOnArrearsAgeing }}
- {{ 'labels.inputs.Maximum number of days a loan may be overdue before becoming a NPA (non performing asset)' | translate }}: - {{ loanProduct.overdueDaysForNPA }} + {{ loanProduct.overdueDaysForNPA }}
- {{ 'labels.inputs.Account moves out of NPA only after all arrears have been cleared' | translate }}: - {{ loanProduct.accountMovesOutOfNPAOnlyOnArrearsCompletion | yesNo }} + {{ loanProduct.accountMovesOutOfNPAOnlyOnArrearsCompletion | yesNo }}
- {{ 'labels.inputs.Principal Threshold (%) for Last Instalment' | translate }}: - {{ loanProduct.principalThresholdForLastInstallment }} + {{ 'labels.inputs.Principal Threshold (%) for Last Instalment' | translate }}: + {{ loanProduct.principalThresholdForLastInstallment }}
- {{ 'labels.inputs.Variable Installments allowed' | translate }}: - {{ loanProduct.allowVariableInstallments | yesNo }} + {{ 'labels.inputs.Variable Installments allowed' | translate }}: + {{ loanProduct.allowVariableInstallments | yesNo }}
- {{ 'labels.inputs.Variable Installments' | translate }}: - {{ + {{ 'labels.inputs.Variable Installments' | translate }}: + {{ '(Min: ' + loanProduct.minimumGap + ', Max: ' + @@ -559,8 +562,8 @@
- {{ 'labels.inputs.Allowed to be used for providing Topup Loans' | translate }}: - {{ loanProduct.canUseForTopup | yesNo }} + {{ 'labels.inputs.Allowed to be used for providing Topup Loans' | translate }}: + {{ loanProduct.canUseForTopup | yesNo }}

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

@@ -568,23 +571,33 @@
- {{ 'labels.inputs.Recalculate Interest' | translate }}: - {{ loanProduct.isInterestRecalculationEnabled | yesNo }} + {{ 'labels.inputs.Recalculate Interest' | translate }}: + {{ loanProduct.isInterestRecalculationEnabled | yesNo }}
-
- {{ 'labels.inputs.Pre-closure interest calculation rule' | translate }}: - {{ loanProduct.interestRecalculationData.preClosureInterestCalculationStrategy.value }} - {{ 'labels.inputs.Advance payments adjustment type' | translate }}: - {{ loanProduct.interestRecalculationData.rescheduleStrategyType.value }} - {{ 'labels.inputs.Interest recalculation compounding on' | translate }}: - {{ loanProduct.interestRecalculationData.interestRecalculationCompoundingType.value }} +
+
+ {{ 'labels.inputs.Pre-closure interest calculation rule' | translate }}: + {{ + loanProduct.interestRecalculationData.preClosureInterestCalculationStrategy.value + }} +
+
+ {{ 'labels.inputs.Advance payments adjustment type' | translate }}: + {{ loanProduct.interestRecalculationData.rescheduleStrategyType.value }} +
+
+ {{ 'labels.inputs.Interest recalculation compounding on' | translate }}: + {{ + loanProduct.interestRecalculationData.interestRecalculationCompoundingType.value + }} +
- {{ 'labels.inputs.Frequency for compounding' | translate }}: - + {{ 'labels.inputs.Frequency for compounding' | translate }}: + {{ loanProduct.interestRecalculationData.recalculationCompoundingFrequencyType.value }} - {{ 'labels.inputs.Frequency Interval for compounding' | translate }}: - {{ + {{ 'labels.inputs.Frequency Interval for compounding' | translate }}: + {{ loanProduct.interestRecalculationData.recalculationCompoundingFrequencyInterval }}
- {{ 'labels.inputs.Frequency for recalculate Outstanding Principal' | translate }}: - + {{ 'labels.inputs.Frequency for recalculate Outstanding Principal' | translate }}: + {{ loanProduct.interestRecalculationData.recalculationRestFrequencyType.value }} - {{ 'labels.inputs.Frequency Interval for recalculation' | translate }}: - {{ loanProduct.interestRecalculationData.recalculationRestFrequencyInterval }} + {{ 'labels.inputs.Frequency Interval for recalculation' | translate }}: + {{ loanProduct.interestRecalculationData.recalculationRestFrequencyInterval }}
- {{ 'labels.inputs.Rest Frequency Date' | translate }}: - {{ loanProduct.interestRecalculationData.recalculationRestFrequencyDate }} + {{ 'labels.inputs.Rest Frequency Date' | translate }}: + {{ loanProduct.interestRecalculationData.recalculationRestFrequencyDate }}
- {{ 'labels.inputs.Is Arrears recognization based on original schedule' | translate }}: - {{ loanProduct.interestRecalculationData.isArrearsBasedOnOriginalSchedule | yesNo }} + {{ loanProduct.interestRecalculationData.isArrearsBasedOnOriginalSchedule | yesNo }}
- {{ 'labels.inputs.Do not calculate interest on past due principal balances' | translate }}: - {{ + {{ loanProduct.interestRecalculationData.disallowInterestCalculationOnPastDue | yesNo }}
@@ -683,20 +696,20 @@
- {{ 'labels.inputs.Place Guarantee Funds On-Hold' | translate }}: - {{ loanProduct.holdGuaranteeFunds | yesNo }} + {{ 'labels.inputs.Place Guarantee Funds On-Hold' | translate }}: + {{ loanProduct.holdGuaranteeFunds | yesNo }}
- {{ 'labels.inputs.Mandatory Guarantee' | translate }} (%): - {{ loanProduct.productGuaranteeData.mandatoryGuarantee }} + {{ 'labels.inputs.Mandatory Guarantee' | translate }} (%): + {{ loanProduct.productGuaranteeData.mandatoryGuarantee }}
- {{ 'labels.inputs.Minimum Guarantee from Own Funds' | translate }} (%): - {{ loanProduct.productGuaranteeData.minimumGuaranteeFromOwnFunds }} + {{ 'labels.inputs.Minimum Guarantee from Own Funds' | translate }} (%): + {{ loanProduct.productGuaranteeData.minimumGuaranteeFromOwnFunds }}
- {{ 'labels.inputs.Minimum Guarantee from Guarantor Funds' | translate }} (%): - {{ loanProduct.productGuaranteeData.minimumGuaranteeFromGuarantor }} + {{ 'labels.inputs.Minimum Guarantee from Guarantor Funds' | translate }} (%): + {{ loanProduct.productGuaranteeData.minimumGuaranteeFromGuarantor }}
@@ -705,42 +718,42 @@
- {{ 'labels.inputs.Enable Multiple Disbursals' | translate }}: - {{ loanProduct.multiDisburseLoan | yesNo }} + {{ 'labels.inputs.Enable Multiple Disbursals' | translate }}: + {{ loanProduct.multiDisburseLoan | yesNo }}
- {{ 'labels.inputs.Maximum Tranche count' | translate }}: - {{ loanProduct.maxTrancheCount }} + {{ 'labels.inputs.Maximum Tranche count' | translate }}: + {{ loanProduct.maxTrancheCount }}
- {{ 'labels.inputs.Maximum allowed outstanding balance' | translate }}: - {{ loanProduct.outstandingLoanBalance }} + {{ 'labels.inputs.Maximum allowed outstanding balance' | translate }}: + {{ loanProduct.outstandingLoanBalance }}
- {{ 'labels.inputs.Disallow Expected Disbursements' | translate }}: - {{ loanProduct.disallowExpectedDisbursements | yesNo }} + {{ 'labels.inputs.Disallow Expected Disbursements' | translate }}: + {{ loanProduct.disallowExpectedDisbursements | yesNo }}

{{ 'labels.heading.Event Settings' | translate }}

- {{ 'labels.inputs.Use the Global Configurations values to the Repayment Event (notifications)' | translate }}: - {{ useDueForRepaymentsConfigurations | yesNo }} + {{ useDueForRepaymentsConfigurations | yesNo }}
- {{ 'labels.inputs.Due days for repayment event' | translate }}: - {{ loanProduct.dueDaysForRepaymentEvent | number }} + {{ 'labels.inputs.Due days for repayment event' | translate }}: + {{ loanProduct.dueDaysForRepaymentEvent | number }}
- {{ 'labels.inputs.OverDue days for repayment event' | translate }}: - {{ loanProduct.overDueDaysForRepaymentEvent | number }} + {{ 'labels.inputs.OverDue days for repayment event' | translate }}: + {{ loanProduct.overDueDaysForRepaymentEvent | number }}

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

@@ -748,31 +761,47 @@
- {{ 'labels.inputs.Allow overriding select terms and settings in loan accounts' | translate }}: - {{ loanProduct.allowAttributeConfiguration | yesNo }} + {{ loanProduct.allowAttributeConfiguration | yesNo }}
-
- {{ 'labels.inputs.Amortization' | translate }}: - {{ loanProduct.allowAttributeOverrides.amortizationType | yesNo }} - {{ 'labels.inputs.Interest method' | translate }}: - {{ loanProduct.allowAttributeOverrides.interestType | yesNo }} - {{ 'labels.inputs.Repayment strategy' | translate }}: - {{ loanProduct.allowAttributeOverrides.transactionProcessingStrategyCode | yesNo }} - {{ 'labels.inputs.Interest calculation period' | translate }}: - {{ loanProduct.allowAttributeOverrides.interestCalculationPeriodType | yesNo }} - {{ 'labels.inputs.Arrears tolerance' | translate }}: - {{ loanProduct.allowAttributeOverrides.inArrearsTolerance | yesNo }} - {{ 'labels.inputs.Repaid every' | translate }}: - {{ loanProduct.allowAttributeOverrides.repaymentEvery | yesNo }} - {{ 'labels.inputs.Moratorium' | translate }}: - {{ loanProduct.allowAttributeOverrides.graceOnPrincipalAndInterestPayment | yesNo }} - {{ 'labels.inputs.Number of days a loan may be overdue before moving into arrears' | translate }}: - {{ loanProduct.allowAttributeOverrides.graceOnArrearsAgeing | yesNo }} +
+
+ {{ 'labels.inputs.Amortization' | translate }}: + {{ loanProduct.allowAttributeOverrides.amortizationType | yesNo }} +
+
+ {{ 'labels.inputs.Interest method' | translate }}: + {{ loanProduct.allowAttributeOverrides.interestType | yesNo }} +
+
+ {{ 'labels.inputs.Repayment strategy' | translate }}: + {{ loanProduct.allowAttributeOverrides.transactionProcessingStrategyCode | yesNo }} +
+
+ {{ 'labels.inputs.Interest calculation period' | translate }}: + {{ loanProduct.allowAttributeOverrides.interestCalculationPeriodType | yesNo }} +
+
+ {{ 'labels.inputs.Arrears tolerance' | translate }}: + {{ loanProduct.allowAttributeOverrides.inArrearsTolerance | yesNo }} +
+
+ {{ 'labels.inputs.Repaid every' | translate }}: + {{ loanProduct.allowAttributeOverrides.repaymentEvery | yesNo }} +
+
+ {{ 'labels.inputs.Moratorium' | translate }}: + {{ loanProduct.allowAttributeOverrides.graceOnPrincipalAndInterestPayment | yesNo }} +
+
+ {{ 'labels.inputs.Number of days a loan may be overdue before moving into arrears' | translate }}: + {{ loanProduct.allowAttributeOverrides.graceOnArrearsAgeing | yesNo }} +
@@ -857,23 +886,23 @@
- {{ 'labels.inputs.Enable income capitalization' | translate }}: - {{ loanProduct.enableIncomeCapitalization | yesNo }} + {{ 'labels.inputs.Enable income capitalization' | translate }}: + {{ loanProduct.enableIncomeCapitalization | yesNo }}
- {{ 'labels.inputs.Income capitalization calculation type' | translate }}: - {{ loanProduct.capitalizedIncomeCalculationType?.value | translateKey: 'catalogs' }} + {{ 'labels.inputs.Income capitalization calculation type' | translate }}: + {{ loanProduct.capitalizedIncomeCalculationType?.value | translateKey: 'catalogs' }}
- {{ 'labels.inputs.Income capitalization strategy' | translate }}: - {{ loanProduct.capitalizedIncomeStrategy?.value | translateKey: 'catalogs' }} + {{ 'labels.inputs.Income capitalization strategy' | translate }}: + {{ loanProduct.capitalizedIncomeStrategy?.value | translateKey: 'catalogs' }}
- {{ 'labels.inputs.Income type' | translate }}: - {{ loanProduct.capitalizedIncomeType?.value | translateKey: 'catalogs' }} + {{ 'labels.inputs.Income type' | translate }}: + {{ loanProduct.capitalizedIncomeType?.value | translateKey: 'catalogs' }}
@@ -883,23 +912,23 @@
- {{ 'labels.inputs.Enable Buy down fee' | translate }}: - {{ loanProduct.enableBuyDownFee | yesNo }} + {{ 'labels.inputs.Enable Buy down fee' | translate }}: + {{ loanProduct.enableBuyDownFee | yesNo }}
- {{ 'labels.inputs.Buy down fee calculation type' | translate }}: - {{ loanProduct.buyDownFeeCalculationType?.value | translateKey: 'catalogs' }} + {{ 'labels.inputs.Buy down fee calculation type' | translate }}: + {{ loanProduct.buyDownFeeCalculationType?.value | translateKey: 'catalogs' }}
- {{ 'labels.inputs.Buy down fee strategy' | translate }}: - {{ loanProduct.buyDownFeeStrategy?.value | translateKey: 'catalogs' }} + {{ 'labels.inputs.Buy down fee strategy' | translate }}: + {{ loanProduct.buyDownFeeStrategy?.value | translateKey: 'catalogs' }}
- {{ 'labels.inputs.Buy down fee income type' | translate }}: - {{ loanProduct.buyDownFeeIncomeType?.value | translateKey: 'catalogs' }} + {{ 'labels.inputs.Buy down fee income type' | translate }}: + {{ loanProduct.buyDownFeeIncomeType?.value | translateKey: 'catalogs' }}
@@ -908,17 +937,17 @@
- {{ 'labels.inputs.Type' | translate }}: - {{ + {{ 'labels.inputs.Type' | translate }}: + {{ 'labels.accounting.' + getAccountingRuleName(accountingRuleData[accountingRule() - 1]) | translate }}
- {{ 'labels.inputs.Enable Accrual Activity Posting on Installment Due Date' | translate }}: - {{ loanProduct.enableAccrualActivityPosting | yesNo }} + {{ loanProduct.enableAccrualActivityPosting | yesNo }}
diff --git a/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.scss b/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.scss index e3729f6f3..2221a42fd 100644 --- a/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.scss +++ b/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.scss @@ -1,3 +1,4 @@ +@use 'assets/styles/helper'; @use 'assets/styles/colours' as *; .tab-container { 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 d3f2bbbb1..b575ff6c1 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 @@ -19,9 +19,8 @@ import { import { LoanProducts } from '../../loan-products'; import { CodeName, OptionData, StringEnumOptionData } from '../../../../shared/models/option-data.model'; import { Accounting } from 'app/core/utils/accounting'; -import { NgIf, NgFor, DecimalPipe } from '@angular/common'; +import { DecimalPipe } from '@angular/common'; import { MatDivider } from '@angular/material/divider'; -import { LongTextComponent } from '../../../../shared/long-text/long-text.component'; import { MatTable, MatColumnDef, @@ -50,7 +49,6 @@ import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; imports: [ ...STANDALONE_SHARED_IMPORTS, MatDivider, - LongTextComponent, MatTable, MatColumnDef, MatHeaderCellDef, 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 fbae08c49..af42fecaa 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 @@ -515,7 +515,7 @@
-
+
-
+
-

{{ savingProduct.name }}

+

{{ savingProduct.name }}

diff --git a/src/app/products/share-products/share-product-stepper/share-product-preview-step/share-product-preview-step.component.scss b/src/app/products/share-products/share-product-stepper/share-product-preview-step/share-product-preview-step.component.scss index 1af94d419..7a9e7406e 100644 --- a/src/app/products/share-products/share-product-stepper/share-product-preview-step/share-product-preview-step.component.scss +++ b/src/app/products/share-products/share-product-stepper/share-product-preview-step/share-product-preview-step.component.scss @@ -1,3 +1,5 @@ +@use 'assets/styles/colours' as *; + table { width: 100%; } @@ -24,3 +26,9 @@ mat-divider { .margin-t { margin-top: 1em; } + +.mat-h3 { + margin-top: 10px !important; + font-weight: 300; + color: $status-approved; +} diff --git a/src/app/products/share-products/view-share-product/share-product-general-tab/share-product-general-tab.component.html b/src/app/products/share-products/view-share-product/share-product-general-tab/share-product-general-tab.component.html index e5b5b65eb..7c4576c53 100644 --- a/src/app/products/share-products/view-share-product/share-product-general-tab/share-product-general-tab.component.html +++ b/src/app/products/share-products/view-share-product/share-product-general-tab/share-product-general-tab.component.html @@ -1,4 +1,4 @@ -
+
-
- - -
-

{{ shareProduct.name }}

+
+ + +

{{ shareProduct.name }}

- + -

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

+

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

- + -
- {{ 'labels.inputs.Short Name' | translate }}: - {{ shareProduct.shortName }} -
+
+ {{ 'labels.inputs.Short Name' | translate }}: + {{ shareProduct.shortName }} +
-
- {{ 'labels.inputs.Description' | translate }}: - {{ shareProduct.description }} -
+
+ {{ 'labels.inputs.Description' | translate }}: + {{ shareProduct.description }} +
-

{{ 'labels.heading.Currency' | translate }}

+

{{ 'labels.heading.Currency' | translate }}

- + -
- {{ 'labels.inputs.Currency' | translate }}: - {{ shareProduct.currency.name }} -
+
+ {{ 'labels.inputs.Currency' | translate }}: + {{ shareProduct.currency.name }} +
-
- {{ 'labels.inputs.Decimal Places' | translate }}: - {{ shareProduct.currency.decimalPlaces }} -
+
+ {{ 'labels.inputs.Decimal Places' | translate }}: + {{ shareProduct.currency.decimalPlaces }} +
-
- {{ 'labels.inputs.Currency in multiples of' | translate }}: - {{ shareProduct.currency.inMultiplesOf }} -
+
+ {{ 'labels.inputs.Currency in multiples of' | translate }}: + {{ shareProduct.currency.inMultiplesOf }} +
-

{{ 'labels.heading.Terms' | translate }}

+

{{ 'labels.heading.Terms' | translate }}

- + -
- {{ 'labels.inputs.Total Number of Shares' | translate }}: - {{ shareProduct.totalShares | formatNumber }} -
+
+ {{ 'labels.inputs.Total Number of Shares' | translate }}: + {{ shareProduct.totalShares | formatNumber }} +
-
- {{ 'labels.inputs.Shares to be Issued' | translate }}: - {{ shareProduct.totalSharesIssued | formatNumber }} -
+
+ {{ 'labels.inputs.Shares to be Issued' | translate }}: + {{ shareProduct.totalSharesIssued | formatNumber }} +
-
- {{ 'labels.inputs.Nominal/Unit Price' | translate }}: - {{ shareProduct.unitPrice | formatNumber }} -
+
+ {{ 'labels.inputs.Nominal/Unit Price' | translate }}: + {{ shareProduct.unitPrice | formatNumber }} +
-
- {{ 'labels.inputs.Capital Value' | translate }}: - {{ shareProduct.shareCapital | formatNumber }} -
+
+ {{ 'labels.inputs.Capital Value' | translate }}: + {{ shareProduct.shareCapital | formatNumber }} +
-

{{ 'labels.heading.Settings' | translate }}

+

{{ 'labels.heading.Settings' | translate }}

- + -
- {{ 'labels.inputs.Shares per Client' | translate }}: - {{ - shareProduct.nominalShares + - ' (Min: ' + - (shareProduct.minimumShares ? shareProduct.minimumShares : shareProduct.nominalShares) + - ', Max: ' + - (shareProduct.maximumShares ? shareProduct.maximumShares : shareProduct.nominalShares) + - ')' - }} -
+
+ {{ 'labels.inputs.Shares per Client' | translate }}: + {{ + shareProduct.nominalShares + + ' (Min: ' + + (shareProduct.minimumShares ? shareProduct.minimumShares : shareProduct.nominalShares) + + ', Max: ' + + (shareProduct.maximumShares ? shareProduct.maximumShares : shareProduct.nominalShares) + + ')' + }} +
-
- {{ 'labels.inputs.Minimum Active Period' | translate }}: - {{ shareProduct.minimumActivePeriod }} - {{ shareProduct.minimumActivePeriodForDividendsTypeEnum.value | translateKey: 'catalogs' }} -
+
+ {{ 'labels.inputs.Minimum Active Period' | translate }}: + {{ shareProduct.minimumActivePeriod }} + {{ shareProduct.minimumActivePeriodForDividendsTypeEnum.value | translateKey: 'catalogs' }} +
-
- {{ 'labels.inputs.Lock-in Period' | translate }}: - {{ shareProduct.lockinPeriod }} - {{ shareProduct.lockPeriodTypeEnum.value | translateKey: 'catalogs' }} -
+
+ {{ 'labels.inputs.Lock-in Period' | translate }}: + {{ shareProduct.lockinPeriod }} {{ shareProduct.lockPeriodTypeEnum.value | translateKey: 'catalogs' }} +
-
- {{ 'labels.inputs.Allow dividends for inactive clients' | translate }}: - {{ shareProduct.allowDividendCalculationForInactiveClients | yesNo }} -
+
+ {{ 'labels.inputs.Allow dividends for inactive clients' | translate }}: + {{ shareProduct.allowDividendCalculationForInactiveClients | yesNo }} +
-
-

{{ 'labels.inputs.Market Price Period' | translate }}

+
+

{{ 'labels.inputs.Market Price Period' | translate }}

- + - - - - - +
{{ 'labels.inputs.From Date' | translate }} - {{ marketPrice.fromDate | dateFormat }} -
+ + + + - - - - + + + + - - -
{{ 'labels.inputs.From Date' | translate }} + {{ marketPrice.fromDate | dateFormat }} + {{ 'labels.inputs.Nominal/Unit Price' | translate }} - {{ marketPrice.shareValue | formatNumber }} - {{ 'labels.inputs.Nominal/Unit Price' | translate }} + {{ marketPrice.shareValue | formatNumber }} +
-
+ + + +
-
-

{{ 'labels.heading.Charges' | translate }}

+
+

{{ 'labels.heading.Charges' | translate }}

- + - - - - - +
{{ 'labels.inputs.Name' | translate }} - {{ charge.name + ', ' + charge.currency.displaySymbol }} -
+ + + + - - - - + + + + - - - - + + + + - - - - + + + + - - -
{{ 'labels.inputs.Name' | translate }} + {{ charge.name + ', ' + charge.currency.displaySymbol }} + {{ 'labels.inputs.Type' | translate }} - {{ charge.chargeCalculationType.value | translateKey: 'catalogs' }} - {{ 'labels.inputs.Type' | translate }} + {{ charge.chargeCalculationType.value | translateKey: 'catalogs' }} + {{ 'labels.inputs.Amount' | translate }} - {{ charge.amount | numberFormat }} - {{ 'labels.inputs.Amount' | translate }} + {{ charge.amount | numberFormat }} + {{ 'labels.inputs.Collected On' | translate }} - {{ charge.chargeTimeType.value | translateKey: 'catalogs' }} - {{ 'labels.inputs.Collected On' | translate }} + {{ charge.chargeTimeType.value | translateKey: 'catalogs' }} +
-
+ + + +
-

{{ 'labels.heading.Accounting' | translate }}

+

{{ 'labels.heading.Accounting' | translate }}

- + -
- {{ 'labels.inputs.Type' | translate }}: - {{ - 'labels.accounting.' + getAccountingRuleName(shareProduct.accountingRule.value) | translate - }} -
+
+ {{ 'labels.inputs.Type' | translate }}: + {{ + 'labels.accounting.' + getAccountingRuleName(shareProduct.accountingRule.value) | translate + }} +
-
-

{{ 'labels.heading.Assets' | translate }}

+
+

{{ 'labels.heading.Assets' | translate }}

-
- - -
+
+ + +
-

{{ 'labels.heading.Liabilities' | translate }}

+

{{ 'labels.heading.Liabilities' | translate }}

-
- - -
+
+ + +
-

{{ 'labels.heading.Share Equity' | translate }}

+

{{ 'labels.heading.Share Equity' | translate }}

-
- - -
+
+ + +
-

{{ 'labels.heading.Income' | translate }}

+

{{ 'labels.heading.Income' | translate }}

-
- - -
-
-
- - +
+ + +
+
+ +