Skip to content

Commit

Permalink
Fix: missed labels in loan and loan product
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Alberto Hernandez authored and alberto-art3ch committed May 13, 2024
1 parent a0d2b3e commit 236034d
Show file tree
Hide file tree
Showing 17 changed files with 25 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ <h3 class="mat-h3" fxFlexFill>{{"labels.heading.Moratorium" | translate}}</h3>
<span fxFlex="60%">{{ loansAccount.graceOnArrearsAgeing }}</span>
</div>

<div fxFlexFill>
<span fxFlex="40%"> {{"labels.inputs.Enable installment level Delinquency" | translate}} </span>
<span fxFlex="60%"> {{ loansAccount.enableInstallmentLevelDelinquency | yesNo }} </span>
</div>

<div fxFlexFill *ngIf="loansAccount.isTopup">
<span fxFlex="40%">{{"labels.inputs.Is Topup Loan" | translate}}? </span>
<span fxFlex="60%">{{ loansAccount.isTopup }}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ export class LoansAccountTermsStepComponent implements OnInit, OnChanges {
});
}
if (this.isDelinquencyEnabled()) {
this.loansAccountTermsForm.addControl('enableInstallmentLevelDelinquency', new UntypedFormControl(this.loanProduct.enableInstallmentLevelDelinquency));
console.log("TEST " + this.loansAccountTermsData.enableInstallmentLevelDelinquency);
this.loansAccountTermsForm.addControl('enableInstallmentLevelDelinquency', new UntypedFormControl(this.loansAccountTermsData.enableInstallmentLevelDelinquency || this.loanProduct.enableInstallmentLevelDelinquency));
}
this.collateralDataSource = this.loansAccountTermsData.collateral || [];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h3> {{"labels.heading.Loan Details" | translate}} </h3>
</div>

<div fxFlexFill>
<span fxFlex="50%"> {{"labels.inputs.Enable Installment Level Delinquency" | translate}} </span>
<span fxFlex="50%"> {{"labels.inputs.Enable installment level Delinquency" | translate}} </span>
<span fxFlex="50%"> {{loanDetails.enableInstallmentLevelDelinquency | yesNo}} </span>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h3 class="mat-h3" fxFlexFill>{{ 'labels.heading.Details' | translate}}</h3>
</div>

<div fxFlexFill *ngIf="loanProduct.fundId">
<span fxFlex="47%">{{ 'labels.inputs.Fund Name' | translate}}:</span>
<span fxFlex="47%">{{ 'labels.inputs.Fund' | translate}}:</span>
<span fxFlex="53%">{{ loanProduct.fundName }}</span>
</div>

Expand Down Expand Up @@ -86,7 +86,7 @@ <h3 class="mat-h3" fxFlexFill>{{ 'labels.heading.Terms' | translate}}</h3>
</div>

<div fxFlexFill *ngIf="loanProduct.allowApprovedDisbursedAmountsOverApplied">
<span fxFlex="47%">{{ 'labels.inputs.Over Applied Amount' | translate}}:</span>
<span fxFlex="47%">{{ 'labels.inputs.Over Amount' | translate}}:</span>
<span fxFlex="53%" *ngIf="loanProduct.overAppliedCalculationType === 'percentage'">{{ loanProduct.overAppliedNumber
| formatNumber:0
}} %</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<div fxFlexFill>
<span fxFlex="40%">{{ 'labels.inputs.Future Installment Allocation Rule' | translate }}:</span>
<span fxFlex="60%">{{ futureInstallmentRuleValue(paymentAllocation.futureInstallmentAllocationRule) }}</span>
<span fxFlex="60%">{{ futureInstallmentRuleValue(paymentAllocation.futureInstallmentAllocationRule) | translateCatalog }}</span>
</div>

<div fxFlexFill>
Expand All @@ -28,7 +28,7 @@
<tbody>
<tr *ngFor="let paymentAllocation of paymentAllocation.paymentAllocationOrder; let idx = index;">
<td>{{ (idx + 1) }}</td>
<td>{{ allocationRuleValue(paymentAllocation.paymentAllocationRule) }}</td>
<td>{{ allocationRuleValue(paymentAllocation.paymentAllocationRule) | translateCatalog }}</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -61,7 +61,7 @@
<tbody>
<tr *ngFor="let creditAllocation of creditAllocation.creditAllocationOrder; let idx = index;">
<td>{{ (idx + 1) }}</td>
<td>{{ allocationRuleValue(creditAllocation.creditAllocationRule) }}</td>
<td>{{ allocationRuleValue(creditAllocation.creditAllocationRule) | translateCatalog}}</td>
</tr>
</tbody>
</table>
Expand Down
1 change: 1 addition & 0 deletions src/assets/translations/cs-CS.json
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,7 @@
"Adjust advance payments toward future installments": "Upravte zálohové platby směrem k budoucím splátkám",
"Adjust interest rates for remainder of loan": "Upravte úrokové sazby pro zbytek půjčky",
"Advance payments adjustment type": "Typ úpravy záloh",
"Advanced Payment Allocation Transactions": "Pokročilé transakce alokace plateb",
"Advanced Payment Allocation Transaction Type": "Typ transakce pro pokročilé přidělování plateb",
"Affected GL Entry (Credit)": "Dotčený záznam GL (kredit)",
"Affected GL Entry (Credit) Rule Type": "Typ pravidla ovlivněného záznamu GL (kredit).",
Expand Down
1 change: 1 addition & 0 deletions src/assets/translations/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,7 @@
"Adjust advance payments toward future installments": "Passen Sie Vorauszahlungen an zukünftige Raten an",
"Adjust interest rates for remainder of loan": "Passen Sie die Zinssätze für die Restlaufzeit des Darlehens an",
"Advance payments adjustment type": "Art der Anpassung der Vorauszahlungen",
"Advanced Payment Allocation Transactions": "Erweiterte Zahlungszuordnungstransaktionen",
"Advanced Payment Allocation Transaction Type": "Fortgeschrittene Zahlungszuweisungstransaktionstyp",
"Affected GL Entry (Credit)": "Betroffener FIBU-Eintrag (Gutschrift)",
"Affected GL Entry (Credit) Rule Type": "Betroffener FIBU-Eintragsregeltyp (Kredit).",
Expand Down
1 change: 1 addition & 0 deletions src/assets/translations/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,7 @@
"Adjust advance payments toward future installments": "Adjust advance payments toward future installments",
"Adjust interest rates for remainder of loan": "Adjust interest rates for remainder of loan",
"Advance payments adjustment type": "Advance payments adjustment type",
"Advanced Payment Allocation Transactions": "Advanced Payment Allocation Transactions",
"Advanced Payment Allocation Transaction Type": "Advanced Payment Allocation Transaction Type",
"Affected GL Entry (Credit)": "Affected GL Entry (Credit)",
"Affected GL Entry (Credit) Rule Type": "Affected GL Entry (Credit) Rule Type",
Expand Down
1 change: 1 addition & 0 deletions src/assets/translations/es-MX.json
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,7 @@
"Adjust advance payments toward future installments": "Ajustar los pagos por adelantado a cuotas futuras",
"Adjust interest rates for remainder of loan": "Ajustar las tasas de interés para el resto del Crédito",
"Advance payments adjustment type": "Tipo de ajuste de pagos anticipados",
"Advanced Payment Allocation Transactions": "Transacciones de asignación de pagos anticipados",
"Advanced Payment Allocation Transaction Type": "Tipo de transacción de asignación de pago avanzada",
"Affected GL Entry (Credit)": "Entrada del libro mayor afectada (crédito)",
"Affected GL Entry (Credit) Rule Type": "Tipo de regla de entrada de libro mayor (crédito) afectada",
Expand Down
1 change: 1 addition & 0 deletions src/assets/translations/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,7 @@
"Adjust advance payments toward future installments": "Ajuster les paiements anticipés aux versements futurs",
"Adjust interest rates for remainder of loan": "Ajuster les taux d’intérêt pour le reste du prêt",
"Advance payments adjustment type": "Type d'ajustement des acomptes",
"Advanced Payment Allocation Transactions": "Opérations de répartition des paiements anticipés",
"Advanced Payment Allocation Transaction Type": "Type de transaction d'allocation de paiement avancé",
"Affected GL Entry (Credit)": "Écriture GL concernée (crédit)",
"Affected GL Entry (Credit) Rule Type": "Type de règle d'entrée GL (crédit) concerné",
Expand Down
1 change: 1 addition & 0 deletions src/assets/translations/it-IT.json
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,7 @@
"Adjust advance payments toward future installments": "Adeguare gli anticipi alle rate future",
"Adjust interest rates for remainder of loan": "Adeguare i tassi di interesse per il resto del prestito",
"Advance payments adjustment type": "Tipo di aggiustamento dei pagamenti anticipati",
"Advanced Payment Allocation Transactions": "Transazioni di assegnazione anticipata dei pagamenti",
"Advanced Payment Allocation Transaction Type": "Tipo di transazione di allocazione dei pagamenti avanzati",
"Affected GL Entry (Credit)": "Voce GL interessata (credito)",
"Affected GL Entry (Credit) Rule Type": "Tipo di regola di voce GL interessata (credito).",
Expand Down
1 change: 1 addition & 0 deletions src/assets/translations/ko-KO.json
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,7 @@
"Adjust advance payments toward future installments": "향후 할부에 대한 선불금 조정",
"Adjust interest rates for remainder of loan": "남은 대출금에 대한 이자율 조정",
"Advance payments adjustment type": "선지급 조정 유형",
"Advanced Payment Allocation Transactions": "선지급 할당 거래",
"Advanced Payment Allocation Transaction Type": "고급 지불 할당 거래 유형",
"Affected GL Entry (Credit)": "영향을 받는 GL 항목(대변)",
"Affected GL Entry (Credit) Rule Type": "영향을 받는 GL 입력(대변) 규칙 유형",
Expand Down
1 change: 1 addition & 0 deletions src/assets/translations/lt-LT.json
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,7 @@
"Adjust advance payments toward future installments": "Koreguokite išankstinius mokėjimus būsimoms įmokoms",
"Adjust interest rates for remainder of loan": "Pakoreguokite palūkanų normas likusiai paskolos daliai",
"Advance payments adjustment type": "Avansinių mokėjimų koregavimo tipas",
"Advanced Payment Allocation Transactions": "Išplėstinės mokėjimo paskirstymo operacijos",
"Advanced Payment Allocation Transaction Type": "Išplėstinės mokėjimo paskirstymo operacijos tipas",
"Affected GL Entry (Credit)": "Paveiktas GL įėjimas (kreditas)",
"Affected GL Entry (Credit) Rule Type": "Paveiktas GL įrašo (kredito) taisyklės tipas",
Expand Down
1 change: 1 addition & 0 deletions src/assets/translations/lv-LV.json
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,7 @@
"Adjust advance payments toward future installments": "Pielāgojiet avansa maksājumus turpmākajām iemaksām",
"Adjust interest rates for remainder of loan": "Pielāgojiet procentu likmes atlikušajai aizdevuma daļai",
"Advance payments adjustment type": "Avansa maksājumu korekcijas veids",
"Advanced Payment Allocation Transactions": "Papildu maksājumu piešķiršanas darījumi",
"Advanced Payment Allocation Transaction Type": "Papildu maksājuma sadales darījuma veids",
"Affected GL Entry (Credit)": "Ietekmētā GL ieeja (kredīts)",
"Affected GL Entry (Credit) Rule Type": "Ietekmētais GL ievades (kredīta) kārtulas veids",
Expand Down
1 change: 1 addition & 0 deletions src/assets/translations/ne-NE.json
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,7 @@
"Adjust advance payments toward future installments": "भविष्यका किस्ताहरूमा अग्रिम भुक्तानीहरू समायोजन गर्नुहोस्",
"Adjust interest rates for remainder of loan": "बाँकी ऋणको लागि ब्याज दर समायोजन गर्नुहोस्",
"Advance payments adjustment type": "अग्रिम भुक्तानी समायोजन प्रकार",
"Advanced Payment Allocation Transactions": "उन्नत भुक्तानी आवंटन लेनदेन",
"Advanced Payment Allocation Transaction Type": "उन्नत भुक्तानी सम्झौता लेनदेन प्रकार",
"Affected GL Entry (Credit)": "प्रभावित GL प्रविष्टि (क्रेडिट)",
"Affected GL Entry (Credit) Rule Type": "प्रभावित GL प्रविष्टि (क्रेडिट) नियम प्रकार",
Expand Down
1 change: 1 addition & 0 deletions src/assets/translations/pt-PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,7 @@
"Adjust advance payments toward future installments": "Ajustar pagamentos antecipados para parcelas futuras",
"Adjust interest rates for remainder of loan": "Ajustar as taxas de juros para o restante do empréstimo",
"Advance payments adjustment type": "Tipo de ajuste de adiantamento",
"Advanced Payment Allocation Transactions": "Transações de alocação de pagamento avançado",
"Advanced Payment Allocation Transaction Type": "Tipo de transação de alocação avançada de pagamento",
"Affected GL Entry (Credit)": "Entrada contábil afetada (crédito)",
"Affected GL Entry (Credit) Rule Type": "Tipo de regra de entrada contábil (crédito) afetada",
Expand Down
1 change: 1 addition & 0 deletions src/assets/translations/sw-SW.json
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,7 @@
"Adjust advance payments toward future installments": "Rekebisha malipo ya awali kwa awamu zijazo",
"Adjust interest rates for remainder of loan": "Rekebisha viwango vya riba kwa salio la mkopo",
"Advance payments adjustment type": "Aina ya marekebisho ya malipo ya mapema",
"Advanced Payment Allocation Transactions": "Miamala ya Kina ya Ugawaji wa Malipo",
"Advanced Payment Allocation Transaction Type": "Aina ya ununuzi wa ugawaji wa malipo ya hali ya juu",
"Affected GL Entry (Credit)": "Ingizo la GL lililoathiriwa (Mikopo)",
"Affected GL Entry (Credit) Rule Type": "Aina ya Kanuni ya Kuingiza (Mikopo) ya GL Iliyoathiriwa",
Expand Down

0 comments on commit 236034d

Please sign in to comment.