add transaltekey pipe for accountnumberperferences in system modules
This commit is contained in:
committed by
Jose Alberto Hernandez
parent
1fdaf44645
commit
02bf1249b1
@@ -20,7 +20,7 @@
|
||||
|
||||
<ng-container matColumnDef="accountType">
|
||||
<th mat-header-cell *matHeaderCellDef mat-sort-header> {{'labels.inputs.Account Number Preferences' | translate}} </th>
|
||||
<td mat-cell *matCellDef="let accountNumberPreference"> {{ accountNumberPreference.accountType.value }} </td>
|
||||
<td mat-cell *matCellDef="let accountNumberPreference"> {{ accountNumberPreference.accountType.value | translateKey:'catalogs' }} </td>
|
||||
</ng-container>
|
||||
|
||||
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
||||
|
||||
+2
-2
@@ -12,7 +12,7 @@
|
||||
<mat-label>{{'labels.inputs.Account Type' | translate}}</mat-label>
|
||||
<mat-select required formControlName="accountType">
|
||||
<mat-option *ngFor="let accountType of accountNumberPreferencesTemplateData.accountTypeOptions" [value]="accountType.id">
|
||||
{{ accountType.value }}
|
||||
{{ accountType.value | translateKey:'catalogs' }}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
<mat-error *ngIf="accountNumberPreferenceForm.controls.accountType.hasError('required')">
|
||||
@@ -24,7 +24,7 @@
|
||||
<mat-label>{{'labels.inputs.Prefix Field' | translate}}</mat-label>
|
||||
<mat-select formControlName="prefixType">
|
||||
<mat-option *ngFor="let prefixType of prefixTypeData" [value]="prefixType.id">
|
||||
{{ prefixType.value }}
|
||||
{{ prefixType.value}}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
<mat-label>{{'labels.inputs.Account Type' | translate}}</mat-label>
|
||||
<mat-select required formControlName="accountType">
|
||||
<mat-option *ngFor="let accountType of accountNumberPreferencesTemplateData.accountTypeOptions" [value]="accountType.id">
|
||||
{{ accountType.value }}
|
||||
{{ accountType.value | translateKey:'catalogs' }}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
<mat-error *ngIf="accountNumberPreferenceForm.controls.accountType.hasError('required')">
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
</div>
|
||||
|
||||
<div fxFlex="50%">
|
||||
{{ accountNumberPreferenceData.accountType.value }}
|
||||
{{ accountNumberPreferenceData.accountType.value | translateKey:'catalogs' }}
|
||||
</div>
|
||||
|
||||
<div fxFlex="50%" class="mat-body-strong" *ngIf="accountNumberPreferenceData.prefixType">
|
||||
|
||||
+6
-3
@@ -1,12 +1,13 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
|
||||
/** Custom Services */
|
||||
import { SystemService } from '../../system.service';
|
||||
|
||||
/** Custom Components */
|
||||
import { TranslateService } from '@ngx-translate/core';
|
||||
import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component';
|
||||
|
||||
/**
|
||||
@@ -28,11 +29,13 @@ export class ViewAccountNumberPreferenceComponent implements OnInit {
|
||||
* @param {ActivatedRoute} route Activated Route.
|
||||
* @param {Router} router Router for navigation.
|
||||
* @param {MatDialog} dialog Dialog reference.
|
||||
* @param {TranslateService} translateService Translate Service.
|
||||
*/
|
||||
constructor(private route: ActivatedRoute,
|
||||
private systemService: SystemService,
|
||||
private router: Router,
|
||||
private dialog: MatDialog) {
|
||||
private dialog: MatDialog,
|
||||
private translateService: TranslateService) {
|
||||
this.route.data.subscribe((data: { accountNumberPreference: any }) => {
|
||||
this.accountNumberPreferenceData = data.accountNumberPreference;
|
||||
});
|
||||
@@ -46,7 +49,7 @@ export class ViewAccountNumberPreferenceComponent implements OnInit {
|
||||
*/
|
||||
delete() {
|
||||
const deleteAccountNumberPreferenceDialogRef = this.dialog.open(DeleteDialogComponent, {
|
||||
data: { deleteContext: `account number preference ${this.accountNumberPreferenceData.id}` }
|
||||
data: { deleteContext: this.translateService.instant('labels.heading.Account Number Preferences') + ' ' + this.accountNumberPreferenceData.id}
|
||||
});
|
||||
deleteAccountNumberPreferenceDialogRef.afterClosed().subscribe((response: any) => {
|
||||
if (response.delete) {
|
||||
|
||||
@@ -522,13 +522,19 @@
|
||||
"Active": "Aktivní",
|
||||
"Inactive": "Inactive",
|
||||
"Loans": "Loans",
|
||||
"CENTER": "CENTRUM",
|
||||
"Client": "Client",
|
||||
"CLIENT": "KLIENT",
|
||||
"Loan": "Loan",
|
||||
"Savings": "Savings",
|
||||
"Shares": "Shares",
|
||||
"Regular": "Regular",
|
||||
"Account transfer": "Account transfer",
|
||||
"Flat": "Flat",
|
||||
"GROUP": "SKUPINA",
|
||||
"LOAN": "PŮJČKA",
|
||||
"SAVINGS": "ÚSPORY",
|
||||
"SHARES": "PODÍLE",
|
||||
"% Amount": "% Amount",
|
||||
"% Interest": "% Interest",
|
||||
"% Loan Amount + Interest": "% Loan Amount + Interest",
|
||||
|
||||
@@ -522,13 +522,19 @@
|
||||
"Active": "Aktiv",
|
||||
"Inactive": "Inaktiv",
|
||||
"Loans": "Kredite",
|
||||
"CENTER": "CENTER",
|
||||
"Client": "Klient",
|
||||
"CLIENT": "KLIENT",
|
||||
"Loan": "Darlehen",
|
||||
"Savings": "Ersparnisse",
|
||||
"Shares": "Anteile",
|
||||
"Regular": "Regulär",
|
||||
"Account transfer": "Kontoübertragung",
|
||||
"Flat": "Wohnung",
|
||||
"GROUP": "GRUPPE",
|
||||
"LOAN": "DARLEHEN",
|
||||
"SAVINGS": "ERSPARNISSE",
|
||||
"SHARES": "ANTEILE",
|
||||
"% Amount": "Menge",
|
||||
"% Interest": "Interesse",
|
||||
"% Loan Amount + Interest": "Kreditbetrag + Zinsen",
|
||||
|
||||
@@ -522,6 +522,8 @@
|
||||
"Active": "Active",
|
||||
"Inactive": "Inactive",
|
||||
"Loans": "Loans",
|
||||
"CENTER": "CENTER",
|
||||
"CLIENT": "CLIENT",
|
||||
"Client": "Client",
|
||||
"Loan": "Loan",
|
||||
"Savings": "Savings",
|
||||
@@ -529,6 +531,10 @@
|
||||
"Regular": "Regular",
|
||||
"Account transfer": "Account transfer",
|
||||
"Flat": "Flat",
|
||||
"GROUP": "GROUP",
|
||||
"LOAN": "LOAN",
|
||||
"SAVINGS": "SAVINGS",
|
||||
"SHARES": "SHARES",
|
||||
"% Amount": "% Amount",
|
||||
"% Interest": "% Interest",
|
||||
"% Loan Amount + Interest": "% Loan Amount + Interest",
|
||||
|
||||
@@ -522,13 +522,19 @@
|
||||
"Active": "Activo",
|
||||
"Inactive": "Inactivo",
|
||||
"Loans": "Préstamos",
|
||||
"CENTER": "CENTRO",
|
||||
"Client": "Cliente",
|
||||
"CLIENT": "CLIENTE",
|
||||
"Loan": "Crédito",
|
||||
"Savings": "Ahorros",
|
||||
"Shares": "Acciones",
|
||||
"Regular": "Regular",
|
||||
"Account transfer": "Transferencia de cuenta",
|
||||
"Flat": "Monto fijo",
|
||||
"GROUP": "GRUPO",
|
||||
"LOAN": "PRÉSTAMO",
|
||||
"SAVINGS": "AHORROS",
|
||||
"SHARES": "COMPARTE",
|
||||
"% Amount": "% Monto",
|
||||
"% Interest": "% Interés",
|
||||
"% Loan Amount + Interest": "% Monto del Crédito + Interés",
|
||||
|
||||
@@ -522,13 +522,19 @@
|
||||
"Active": "Actif",
|
||||
"Inactive": "Inactif",
|
||||
"Loans": "Prêts",
|
||||
"CENTER": "CENTRE",
|
||||
"Client": "Client",
|
||||
"CLIENT": "CLIENT",
|
||||
"Loan": "Prêt",
|
||||
"Savings": "Des économies",
|
||||
"Shares": "Actions",
|
||||
"Regular": "Régulier",
|
||||
"Account transfer": "Transfert de compte",
|
||||
"Flat": "Plat",
|
||||
"GROUP": "GROUPE",
|
||||
"LOAN": "PRÊT",
|
||||
"SAVINGS": "DES ÉCONOMIES",
|
||||
"SHARES": "ACTIONS",
|
||||
"% Amount": "Montant",
|
||||
"% Interest": "Intérêt",
|
||||
"% Loan Amount + Interest": "Montant du prêt + intérêts",
|
||||
|
||||
@@ -522,13 +522,19 @@
|
||||
"Active": "Attivo",
|
||||
"Inactive": "Inattivo",
|
||||
"Loans": "Prestiti",
|
||||
"CENTER": "CENTRO",
|
||||
"Client": "Cliente",
|
||||
"CLIENT": "CLIENTE",
|
||||
"Loan": "Prestito",
|
||||
"Savings": "Risparmio",
|
||||
"Shares": "Azioni",
|
||||
"Regular": "Regolare",
|
||||
"Account transfer": "Trasferimento del conto",
|
||||
"Flat": "Piatto",
|
||||
"GROUP": "GRUPPO",
|
||||
"LOAN": "PRESTITO",
|
||||
"SAVINGS": "RISPARMIO",
|
||||
"SHARES": "CONDIVISIONI",
|
||||
"% Amount": "Quantità",
|
||||
"% Interest": "Interesse",
|
||||
"% Loan Amount + Interest": "Importo del prestito + interessi",
|
||||
|
||||
@@ -522,13 +522,19 @@
|
||||
"Active": "활동적인",
|
||||
"Inactive": "비활성",
|
||||
"Loans": "대출",
|
||||
"CENTER": "센터",
|
||||
"Client": "고객",
|
||||
"CLIENT": "고객",
|
||||
"Loan": "대출",
|
||||
"Savings": "저금",
|
||||
"Shares": "주식",
|
||||
"Regular": "정기적인",
|
||||
"Account transfer": "계좌이체",
|
||||
"Flat": "평평한",
|
||||
"GROUP": "그룹",
|
||||
"LOAN": "대출",
|
||||
"SAVINGS": "저금",
|
||||
"SHARES": "주식",
|
||||
"% Amount": "양",
|
||||
"% Interest": "관심",
|
||||
"% Loan Amount + Interest": "대출금액 + 이자",
|
||||
|
||||
@@ -522,13 +522,19 @@
|
||||
"Active": "Aktyvus",
|
||||
"Inactive": "Neaktyvus",
|
||||
"Loans": "Paskolos",
|
||||
"CENTER": "CENTRAS",
|
||||
"Client": "Klientas",
|
||||
"CLIENT": "KLIENTAS",
|
||||
"Loan": "Paskola",
|
||||
"Savings": "Taupymas",
|
||||
"Shares": "Akcijos",
|
||||
"Regular": "Reguliarus",
|
||||
"Account transfer": "Sąskaitos perkėlimas",
|
||||
"Flat": "Butas",
|
||||
"GROUP": "GRUPĖ",
|
||||
"LOAN": "PASKOLA",
|
||||
"SAVINGS": "TAUPYMAS",
|
||||
"SHARES": "AKCIJAS",
|
||||
"% Amount": "Suma",
|
||||
"% Interest": "Palūkanos",
|
||||
"% Loan Amount + Interest": "Paskolos suma + palūkanos",
|
||||
|
||||
@@ -522,13 +522,19 @@
|
||||
"Active": "Aktīvs",
|
||||
"Inactive": "Neaktīvs",
|
||||
"Loans": "Aizdevumi",
|
||||
"CENTER": "CENTRS",
|
||||
"Client": "Klients",
|
||||
"CLIENT": "KLIENTS",
|
||||
"Loan": "Aizdevums",
|
||||
"Savings": "Ietaupījumi",
|
||||
"Shares": "Akcijas",
|
||||
"Regular": "Regulāri",
|
||||
"Account transfer": "Konta pārskaitījums",
|
||||
"Flat": "Plakans",
|
||||
"GROUP": "GRUPA",
|
||||
"LOAN": "AIZDEVUMS",
|
||||
"SAVINGS": "UZKRĀJUMI",
|
||||
"SHARES": "AKCIJAS",
|
||||
"% Amount": "Summa",
|
||||
"% Interest": "Interese",
|
||||
"% Loan Amount + Interest": "Aizdevuma summa + procenti",
|
||||
|
||||
@@ -522,13 +522,19 @@
|
||||
"Active": "सक्रिय",
|
||||
"Inactive": "निष्क्रिय",
|
||||
"Loans": "ऋण",
|
||||
"CENTER": "केन्द्र",
|
||||
"Client": "ग्राहक",
|
||||
"CLIENT": "ग्राहक",
|
||||
"Loan": "ऋण",
|
||||
"Savings": "बचत",
|
||||
"Shares": "सेयरहरू",
|
||||
"Regular": "नियमित",
|
||||
"Account transfer": "खाता स्थानान्तरण",
|
||||
"Flat": "फ्ल्याट",
|
||||
"GROUP": "समूह",
|
||||
"LOAN": "ऋण",
|
||||
"SAVINGS": "बचत",
|
||||
"SHARES": "शेयरहरू",
|
||||
"% Amount": "रकम",
|
||||
"% Interest": "ब्याज",
|
||||
"% Loan Amount + Interest": "ऋण रकम + ब्याज",
|
||||
|
||||
@@ -522,13 +522,19 @@
|
||||
"Active": "Ativo",
|
||||
"Inactive": "Inativo",
|
||||
"Loans": "Empréstimos",
|
||||
"CENTER": "CENTRO",
|
||||
"Client": "Cliente",
|
||||
"CLIENT": "CLIENTE",
|
||||
"Loan": "Empréstimo",
|
||||
"Savings": "Poupança",
|
||||
"Shares": "Ações",
|
||||
"Regular": "Regular",
|
||||
"Account transfer": "Transferência de conta",
|
||||
"Flat": "Plano",
|
||||
"GROUP": "GRUPO",
|
||||
"LOAN": "EMPRÉSTIMO",
|
||||
"SAVINGS": "POUPANÇA",
|
||||
"SHARES": "AÇÕES",
|
||||
"% Amount": "Quantia",
|
||||
"% Interest": "Interesse",
|
||||
"% Loan Amount + Interest": "Valor do empréstimo + juros",
|
||||
|
||||
@@ -522,13 +522,19 @@
|
||||
"Active": "Inayotumika",
|
||||
"Inactive": "Isiyotumika",
|
||||
"Loans": "Mikopo",
|
||||
"CENTER": "KITUO",
|
||||
"Client": "Mteja",
|
||||
"CLIENT": "MTEJA",
|
||||
"Loan": "Mkopo",
|
||||
"Savings": "Akiba",
|
||||
"Shares": "Hisa",
|
||||
"Regular": "Mara kwa mara",
|
||||
"Account transfer": "Uhamisho wa akaunti",
|
||||
"Flat": "Gorofa",
|
||||
"GROUP": "KIKUNDI",
|
||||
"LOAN": "MKOPO",
|
||||
"SAVINGS": "AKIBA",
|
||||
"SHARES": "HISA",
|
||||
"% Amount": "Kiasi",
|
||||
"% Interest": "Hamu",
|
||||
"% Loan Amount + Interest": "Kiasi cha Mkopo + Riba",
|
||||
|
||||
Reference in New Issue
Block a user