Fix: Missing labels in the report views
This commit is contained in:
committed by
Jose Alberto Hernandez
parent
e09fccf14b
commit
cdc9d74122
+1
-1
@@ -71,7 +71,7 @@
|
||||
</div>
|
||||
|
||||
<div fxLayout="row" fxLayoutAlign="center" fxLayoutGap="2%" fxLayout.lt-md="column">
|
||||
<button type="button" mat-raised-button color="primary" [routerLink]="['../']">{{ 'Back' | translate}}</button>
|
||||
<button type="button" mat-raised-button color="primary" [routerLink]="['../']">{{ 'labels.buttons.Back' | translate}}</button>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
|
||||
|
||||
@@ -57,9 +57,9 @@ export class KeyboardShortcutsConfiguration {
|
||||
// Create Client - ctrl + c
|
||||
{
|
||||
title: 'Create Client',
|
||||
ctrlKey: true,
|
||||
ctrlKey: false,
|
||||
shiftKey: false,
|
||||
altKey: false,
|
||||
altKey: true,
|
||||
key: 'c',
|
||||
route: 'clients/create'
|
||||
},
|
||||
@@ -120,18 +120,18 @@ export class KeyboardShortcutsConfiguration {
|
||||
// Accounting - ctrl + a
|
||||
{
|
||||
title: 'Accounting',
|
||||
ctrlKey: true,
|
||||
ctrlKey: false,
|
||||
shiftKey: false,
|
||||
altKey: false,
|
||||
altKey: true,
|
||||
key: 'a',
|
||||
route: 'accounting'
|
||||
},
|
||||
// Save/Submit Forms - ctrl + s
|
||||
{
|
||||
title: 'Save/Submit Forms',
|
||||
ctrlKey: true,
|
||||
ctrlKey: false,
|
||||
shiftKey: false,
|
||||
altKey: false,
|
||||
altKey: true,
|
||||
key: 's',
|
||||
route: '',
|
||||
id: 'submit'
|
||||
@@ -139,9 +139,9 @@ export class KeyboardShortcutsConfiguration {
|
||||
// Cancel - ctrl + x
|
||||
{
|
||||
title: 'Cancel',
|
||||
ctrlKey: true,
|
||||
ctrlKey: false,
|
||||
shiftKey: false,
|
||||
altKey: false,
|
||||
altKey: true,
|
||||
key: 'x',
|
||||
route: '',
|
||||
id: 'cancel'
|
||||
@@ -149,9 +149,9 @@ export class KeyboardShortcutsConfiguration {
|
||||
// Help - ctrl + h
|
||||
{
|
||||
title: 'Help',
|
||||
ctrlKey: true,
|
||||
ctrlKey: false,
|
||||
shiftKey: false,
|
||||
altKey: false,
|
||||
altKey: true,
|
||||
key: 'h',
|
||||
route: '',
|
||||
id: 'help'
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
<td fxFlex="25%" class="left">
|
||||
<div [ngClass]="itemStatus(activeTransferData.status)">
|
||||
<fa-icon icon="stop"></fa-icon>
|
||||
<span class="m-l-10 status">{{activeTransferData.status}}</span>
|
||||
<span class="m-l-10 external-asset-owner-status">{{activeTransferData.status}}</span>
|
||||
</div>
|
||||
</td>
|
||||
<td fxFlex="25%">
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
margin: 1%;
|
||||
}
|
||||
|
||||
.status {
|
||||
.external-asset-owner-status {
|
||||
color: black;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -124,7 +124,7 @@
|
||||
</div>
|
||||
|
||||
<div fxLayout="row" fxLayoutAlign="center" fxLayoutGap="2%" fxLayout.lt-md="column">
|
||||
<button type="button" mat-raised-button color="primary" [routerLink]="['../']">{{ 'Back' | translate}}</button>
|
||||
<button type="button" mat-raised-button color="primary" [routerLink]="['../']">{{ 'labels.buttons.Back' | translate}}</button>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
</div>
|
||||
|
||||
<div fxLayout="row" fxLayoutAlign="center" fxLayoutGap="2%" fxLayout.lt-md="column">
|
||||
<button type="button" mat-raised-button color="primary" [routerLink]="['../']">{{ 'Back' | translate}}</button>
|
||||
<button type="button" mat-raised-button color="primary" [routerLink]="['../']">{{ 'labels.buttons.Back' | translate}}</button>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
|
||||
|
||||
@@ -1,15 +1,19 @@
|
||||
import { Pipe, PipeTransform } from '@angular/core';
|
||||
import { TranslateService } from '@ngx-translate/core';
|
||||
|
||||
@Pipe({
|
||||
name: 'yesNo'
|
||||
})
|
||||
export class YesnoPipe implements PipeTransform {
|
||||
|
||||
constructor(private translateService: TranslateService) { }
|
||||
|
||||
transform(value: boolean, ...args: unknown[]): string {
|
||||
if (value == null) {
|
||||
return null;
|
||||
}
|
||||
return value ? 'Yes' : 'No';
|
||||
const result = value ? 'Yes' : 'No';
|
||||
return this.translateService.instant('labels.buttons.' + result);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
</div>
|
||||
|
||||
<div fxLayout="row" fxLayoutAlign="center" fxLayoutGap="2%" fxLayout.lt-md="column">
|
||||
<button type="button" mat-raised-button color="primary" [routerLink]="['../']">{{ 'Back' | translate}}</button>
|
||||
<button type="button" mat-raised-button color="primary" [routerLink]="['../']">{{ 'labels.buttons.Back' | translate}}</button>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<div class="alert" *ngIf="!hideOutput && toBeExportedToRepo">
|
||||
<div class="message">
|
||||
<i class="fa fa-exclamation-circle alert-check"></i>
|
||||
{{'labels.text.The report request has been sent and the report will be exported to file repository' | translate}}
|
||||
{{'labels.text.The report request' | translate}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
+1
-1
@@ -87,7 +87,7 @@
|
||||
</div>
|
||||
|
||||
<div fxLayout="row" fxLayoutAlign="center" fxLayoutGap="2%" fxLayout.lt-md="column">
|
||||
<button type="button" mat-raised-button color="primary" [routerLink]="['../../']">{{ 'Back' |
|
||||
<button type="button" mat-raised-button color="primary" [routerLink]="['../../']">{{ 'labels.buttons.Back' |
|
||||
translate}}</button>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
</div>
|
||||
|
||||
<div fxLayout="row" fxLayoutAlign="center" fxLayoutGap="2%" fxLayout.lt-md="column">
|
||||
<button type="button" mat-raised-button color="primary" [routerLink]="['../']">{{ 'Back' | translate}}</button>
|
||||
<button type="button" mat-raised-button color="primary" [routerLink]="['../']">{{ 'labels.buttons.Back' | translate}}</button>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
</div>
|
||||
|
||||
<div fxLayout="row" fxLayoutAlign="center" fxLayoutGap="2%" fxLayout.lt-md="column">
|
||||
<button type="button" mat-raised-button color="primary" [routerLink]="['../']">{{ 'Back' | translate}}</button>
|
||||
<button type="button" mat-raised-button color="primary" [routerLink]="['../']">{{ 'labels.buttons.Back' | translate}}</button>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
|
||||
|
||||
@@ -1294,6 +1294,7 @@
|
||||
"Expense Account (DR)": "Výdajový účet (DR)",
|
||||
"Expenses from Goodwill Credit": "Výdaje z Goodwill Credit",
|
||||
"Expiry Date": "Datum vypršení platnosti",
|
||||
"Export to FIle": "Export do FILE",
|
||||
"Extend Repayment Period": "Prodloužit dobu splácení",
|
||||
"External Asset Owner": "Externí vlastník aktiv",
|
||||
"External ID": "Externí ID",
|
||||
|
||||
@@ -1294,6 +1294,7 @@
|
||||
"Expense Account (DR)": "Spesenkonto (DR)",
|
||||
"Expenses from Goodwill Credit": "Aufwendungen aus Goodwill-Guthaben",
|
||||
"Expiry Date": "Verfallsdatum",
|
||||
"Export to FIle": "In eine Datei exportieren",
|
||||
"Extend Repayment Period": "Verlängern Sie die Rückzahlungsfrist",
|
||||
"External Asset Owner": "Externer Asset-Eigentümer",
|
||||
"External ID": "Externe ID",
|
||||
|
||||
@@ -1293,6 +1293,7 @@
|
||||
"Expense Account (DR)": "Expense Account (DR)",
|
||||
"Expenses from Goodwill Credit": "Expenses from Goodwill Credit",
|
||||
"Expiry Date": "Expiry Date",
|
||||
"Export to FIle": "Export to FIle",
|
||||
"Extend Repayment Period": "Extend Repayment Period",
|
||||
"External Asset Owner": "External Asset Owner",
|
||||
"External ID": "External ID",
|
||||
|
||||
@@ -961,12 +961,12 @@
|
||||
"Alt": "Alt.",
|
||||
"Amortization": "Amortización",
|
||||
"Amortization Type": "Tipo de amortización",
|
||||
"Amount": "Cantidad",
|
||||
"Amount": "Monto",
|
||||
"Amount Collected": "Monto recaudado",
|
||||
"Amount Paid": "Cantidad pagada",
|
||||
"Amount Paid": "Monto pagado",
|
||||
"Amount Pending / Disbursed": "Monto Pendiente / Desembolsado",
|
||||
"Amount Range": "Rango de cantidad",
|
||||
"Amount Recieved/Returned": "Cantidad recibida/devuelta",
|
||||
"Amount Range": "Rango de Monto",
|
||||
"Amount Recieved/Returned": "Monto recibida/devuelta",
|
||||
"Amount to be Reserved": "Monto a reservar",
|
||||
"Annual Fees Transaction Date": "Fecha de transacción de comisiones anuales",
|
||||
"Applies To": "Se aplica a",
|
||||
@@ -1294,6 +1294,7 @@
|
||||
"Expense Account (DR)": "Cuenta de gastos (DR)",
|
||||
"Expenses from Goodwill Credit": "Gastos del crédito de buena voluntad",
|
||||
"Expiry Date": "Fecha de Caducidad",
|
||||
"Export to FIle": "Exportar Archivo",
|
||||
"Extend Repayment Period": "Ampliar el período de pago",
|
||||
"External Asset Owner": "Propietario de activos externos",
|
||||
"External ID": "Id externo",
|
||||
|
||||
@@ -1294,6 +1294,7 @@
|
||||
"Expense Account (DR)": "Compte de dépenses (DR)",
|
||||
"Expenses from Goodwill Credit": "Dépenses liées au crédit de bonne volonté",
|
||||
"Expiry Date": "Date d'expiration",
|
||||
"Export to FIle": "Exporter vers un fichier",
|
||||
"Extend Repayment Period": "Prolonger la période de remboursement",
|
||||
"External Asset Owner": "Propriétaire de l'actif externe",
|
||||
"External ID": "ID externe",
|
||||
|
||||
@@ -1294,6 +1294,7 @@
|
||||
"Expense Account (DR)": "Conto spese (DR)",
|
||||
"Expenses from Goodwill Credit": "Spese derivanti dal credito di avviamento",
|
||||
"Expiry Date": "Data di scadenza",
|
||||
"Export to FIle": "Esporta su file",
|
||||
"Extend Repayment Period": "Estendere il periodo di rimborso",
|
||||
"External Asset Owner": "Proprietario della risorsa esterna",
|
||||
"External ID": "ID esterno",
|
||||
|
||||
@@ -1295,6 +1295,7 @@
|
||||
"Expense Account (DR)": "비용 계정(DR)",
|
||||
"Expenses from Goodwill Credit": "영업권 신용으로 인한 비용",
|
||||
"Expiry Date": "만료일",
|
||||
"Export to FIle": "파일로 내보내기",
|
||||
"Extend Repayment Period": "상환기간 연장",
|
||||
"External Asset Owner": "외부 자산 소유자",
|
||||
"External ID": "외부 ID",
|
||||
|
||||
@@ -1294,6 +1294,7 @@
|
||||
"Expense Account (DR)": "Išlaidų sąskaita (DR)",
|
||||
"Expenses from Goodwill Credit": "Išlaidos iš prestižo kredito",
|
||||
"Expiry Date": "Galiojimo pabaigos data",
|
||||
"Export to FIle": "Eksportuoti į failą",
|
||||
"Extend Repayment Period": "Prailginti grąžinimo laikotarpį",
|
||||
"External Asset Owner": "Išorinis turto savininkas",
|
||||
"External ID": "Išorinis ID",
|
||||
|
||||
@@ -1294,6 +1294,7 @@
|
||||
"Expense Account (DR)": "Izdevumu konts (DR)",
|
||||
"Expenses from Goodwill Credit": "Izdevumi no nemateriālās vērtības kredīta",
|
||||
"Expiry Date": "Derīguma termiņš",
|
||||
"Export to FIle": "Eksportēt uz failu",
|
||||
"Extend Repayment Period": "Pagarināt atmaksas periodu",
|
||||
"External Asset Owner": "Ārējais īpašuma īpašnieks",
|
||||
"External ID": "Ārējais ID",
|
||||
|
||||
@@ -1294,6 +1294,7 @@
|
||||
"Expense Account (DR)": "व्यय खाता (DR)",
|
||||
"Expenses from Goodwill Credit": "गुडविल क्रेडिटबाट खर्च",
|
||||
"Expiry Date": "म्याद सकिने मिति",
|
||||
"Export to FIle": "फाइलमा निर्यात गर्नुहोस्",
|
||||
"Extend Repayment Period": "पुन: भुक्तानी अवधि विस्तार गर्नुहोस्",
|
||||
"External Asset Owner": "बाह्य सम्पत्ति मालिक",
|
||||
"External ID": "बाह्य आईडी",
|
||||
|
||||
@@ -1294,6 +1294,7 @@
|
||||
"Expense Account (DR)": "Conta de Despesas (DR)",
|
||||
"Expenses from Goodwill Credit": "Despesas de Crédito Goodwill",
|
||||
"Expiry Date": "Data de validade",
|
||||
"Export to FIle": "Exportar arquivo",
|
||||
"Extend Repayment Period": "Estender o período de reembolso",
|
||||
"External Asset Owner": "Proprietário de ativo externo",
|
||||
"External ID": "ID externo",
|
||||
|
||||
@@ -1294,6 +1294,7 @@
|
||||
"Expense Account (DR)": "Akaunti ya Gharama (DR)",
|
||||
"Expenses from Goodwill Credit": "Gharama kutoka kwa Mikopo ya Nia Njema",
|
||||
"Expiry Date": "Tarehe ya mwisho wa matumizi",
|
||||
"Export to FIle": "Hamisha kwa FILE",
|
||||
"Extend Repayment Period": "Kuongeza Muda wa Kulipa",
|
||||
"External Asset Owner": "Mmiliki wa Mali ya Nje",
|
||||
"External ID": "Kitambulisho cha Nje",
|
||||
|
||||
@@ -15,7 +15,7 @@ export const environment = {
|
||||
fineractPlatformTenantIds: window['env']['fineractPlatformTenantIds'] || 'default',
|
||||
// For connecting to others servers running elsewhere update the base API URL
|
||||
baseApiUrls: window['env']['fineractApiUrls'] ||
|
||||
'https://dev.mifos.io,https://demo.mifos.io,https://qa.mifos.io,https://staging.mifos.io,https://mobile.mifos.io,https://demo.fineract.dev,https://localhost:8443',
|
||||
'https://dev.mifos.io,https://demo.mifos.io,https://qa.mifos.io,https://staging.mifos.io,https://mobile.mifos.io,https://demo.fineract.dev,https://localhost:8443,http://localhost:8443',
|
||||
// For connecting to server running elsewhere set the base API URL
|
||||
baseApiUrl: window['env']['baseApiUrl'] || 'https://demo.fineract.dev',
|
||||
allowServerSwitch: env.allow_switching_backend_instance,
|
||||
|
||||
@@ -238,4 +238,8 @@ body.dark-theme {
|
||||
}
|
||||
}
|
||||
|
||||
.external-asset-owner-status {
|
||||
color: white;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user