feat: remove report feature xbrl/mix (#2392)
Removed the non-working XBRL and MIX report feature from the app FIXES: WEB-45
This commit is contained in:
@@ -104,7 +104,6 @@
|
||||
<button mat-menu-item [routerLink]="['/reports', 'Savings']">{{ 'labels.menus.Savings' | translate }}</button>
|
||||
<button mat-menu-item [routerLink]="['/reports', 'Fund']">{{ 'labels.menus.Funds' | translate }}</button>
|
||||
<button mat-menu-item [routerLink]="['/reports', 'Accounting']">{{ 'labels.menus.Accounting' | translate }}</button>
|
||||
<button mat-menu-item [routerLink]="['/xbrl']">{{ 'labels.menus.XBRL' | translate }}</button>
|
||||
</mat-menu>
|
||||
|
||||
<mat-menu #adminMenu="matMenu" [overlapTrigger]="false">
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
/** Angular Imports */
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Resolve } from '@angular/router';
|
||||
|
||||
/** rxjs Imports */
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
/** Custom Services */
|
||||
import { ReportsService } from '../reports.service';
|
||||
|
||||
/**
|
||||
* Mix Mappings data resolver.
|
||||
*/
|
||||
@Injectable()
|
||||
export class MixMappingsResolver implements Resolve<Object> {
|
||||
/**
|
||||
* @param {ReportsService} reportsService Reports service.
|
||||
*/
|
||||
constructor(private reportsService: ReportsService) {}
|
||||
|
||||
/**
|
||||
* Returns Mix Mappings.
|
||||
* @returns {Observable<any>}
|
||||
*/
|
||||
resolve(): Observable<any> {
|
||||
return this.reportsService.getMixMappings();
|
||||
}
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
/** Angular Imports */
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Resolve } from '@angular/router';
|
||||
|
||||
/** rxjs Imports */
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
/** Custom Services */
|
||||
import { ReportsService } from '../reports.service';
|
||||
|
||||
/**
|
||||
* Mix Taxononmy data resolver.
|
||||
*/
|
||||
@Injectable()
|
||||
export class MixTaxonomyResolver implements Resolve<Object> {
|
||||
/**
|
||||
* @param {ReportsService} reportsService Reports service.
|
||||
*/
|
||||
constructor(private reportsService: ReportsService) {}
|
||||
|
||||
/**
|
||||
* Returns the Mix Taxonomy data.
|
||||
* @returns {Observable<any>}
|
||||
*/
|
||||
resolve(): Observable<any> {
|
||||
return this.reportsService.getMixTaxonomyArray();
|
||||
}
|
||||
}
|
||||
@@ -8,14 +8,10 @@ import { Route } from '../core/route/route.service';
|
||||
/** Custom Components */
|
||||
import { ReportsComponent } from './reports.component';
|
||||
import { RunReportComponent } from './run-report/run-report.component';
|
||||
import { XBRLComponent } from './xbrl/xbrl.component';
|
||||
import { XBRLReportComponent } from './xbrl-report/xbrl-report.component';
|
||||
|
||||
/** Custom Resolvers */
|
||||
import { ReportsResolver } from './common-resolvers/reports.resolver';
|
||||
import { RunReportResolver } from './common-resolvers/run-report.resolver';
|
||||
import { MixTaxonomyResolver } from './common-resolvers/mixtaxonomy.resolver';
|
||||
import { MixMappingsResolver } from './common-resolvers/mixmappings.resolver';
|
||||
import { GlAccountsResolver } from '../accounting/common-resolvers/gl-accounts.resolver';
|
||||
import { GlobalConfigurationsResolver } from 'app/system/configurations/global-configurations-tab/global-configurations.resolver';
|
||||
|
||||
@@ -48,26 +44,6 @@ const routes: Routes = [
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: 'xbrl',
|
||||
data: { title: 'XBRL', breadcrumb: 'XBRL' },
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
component: XBRLComponent,
|
||||
resolve: {
|
||||
mixtaxonomy: MixTaxonomyResolver,
|
||||
mixmapping: MixMappingsResolver,
|
||||
glAccounts: GlAccountsResolver
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'report',
|
||||
data: { title: 'XBRL Report', breadcrumb: 'Run Report' },
|
||||
component: XBRLReportComponent
|
||||
}
|
||||
]
|
||||
}
|
||||
])
|
||||
|
||||
@@ -84,8 +60,6 @@ const routes: Routes = [
|
||||
providers: [
|
||||
ReportsResolver,
|
||||
RunReportResolver,
|
||||
MixTaxonomyResolver,
|
||||
MixMappingsResolver,
|
||||
GlAccountsResolver
|
||||
]
|
||||
})
|
||||
|
||||
@@ -12,8 +12,6 @@ import { RunReportComponent } from './run-report/run-report.component';
|
||||
import { TableAndSmsComponent } from './run-report/table-and-sms/table-and-sms.component';
|
||||
import { ChartComponent } from './run-report/chart/chart.component';
|
||||
import { PentahoComponent } from './run-report/pentaho/pentaho.component';
|
||||
import { XBRLComponent } from './xbrl/xbrl.component';
|
||||
import { XBRLReportComponent } from './xbrl-report/xbrl-report.component';
|
||||
|
||||
/**
|
||||
* Reports Module
|
||||
@@ -30,9 +28,7 @@ import { XBRLReportComponent } from './xbrl-report/xbrl-report.component';
|
||||
RunReportComponent,
|
||||
TableAndSmsComponent,
|
||||
ChartComponent,
|
||||
PentahoComponent,
|
||||
XBRLComponent,
|
||||
XBRLReportComponent
|
||||
PentahoComponent
|
||||
],
|
||||
providers: [DecimalPipe]
|
||||
})
|
||||
|
||||
@@ -30,37 +30,6 @@ export class ReportsService {
|
||||
return this.http.get('/reports');
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Observable<any>} Mix Taxonomy data
|
||||
*/
|
||||
getMixTaxonomyArray(): Observable<any> {
|
||||
return this.http.get('/mixtaxonomy');
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Observable<any>} Mix Taxonomy data
|
||||
*/
|
||||
getMixMappings(): Observable<any> {
|
||||
return this.http.get('/mixmapping');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {any} mixMappingData Mix Mapping data to be posted
|
||||
* @returns {Observable<any>} response code
|
||||
*/
|
||||
editMixMappings(mixMappingData: any): Observable<any> {
|
||||
return this.http.put('/mixmapping', mixMappingData);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {any} dates start date and end date
|
||||
* @returns {Observable<any>} Mix Report
|
||||
*/
|
||||
getMixReport(dates: any): Observable<any> {
|
||||
const httpParams = new HttpParams().set('startDate', dates.startDate).set('endDate', dates.endDate);
|
||||
return this.http.get('/mixreport', { params: httpParams, responseType: 'text' });
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} reportName Report name for which parameters are needed.
|
||||
* @returns {Observable<ReportParameter[]>}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
<div class="container form">
|
||||
<mat-card *ngIf="isCollapsed">
|
||||
<form [formGroup]="xbrlForm" (ngSubmit)="runreport()">
|
||||
<mat-card-content fxLayout="column">
|
||||
<mat-form-field fxFlex (click)="startDatePicker.open()">
|
||||
<mat-label>{{ 'labels.inputs.Start Date' | translate }}</mat-label>
|
||||
<input
|
||||
matInput
|
||||
[min]="minDate"
|
||||
[max]="maxDate"
|
||||
[matDatepicker]="startDatePicker"
|
||||
formControlName="startDate"
|
||||
/>
|
||||
<mat-datepicker-toggle matSuffix [for]="startDatePicker"></mat-datepicker-toggle>
|
||||
<mat-datepicker #startDatePicker></mat-datepicker>
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field fxFlex (click)="endDatePicker.open()">
|
||||
<mat-label>{{ 'labels.inputs.End Date' | translate }}</mat-label>
|
||||
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="endDatePicker" formControlName="endDate" />
|
||||
<mat-datepicker-toggle matSuffix [for]="endDatePicker"></mat-datepicker-toggle>
|
||||
<mat-datepicker #endDatePicker></mat-datepicker>
|
||||
</mat-form-field>
|
||||
</mat-card-content>
|
||||
|
||||
<mat-card-actions fxLayout="row" fxLayout.xs="column" fxLayoutAlign="center" fxLayoutGap="5px">
|
||||
<button type="button" mat-raised-button [routerLink]="['../']">
|
||||
{{ 'labels.buttons.Cancel' | translate }}
|
||||
</button>
|
||||
<button mat-raised-button color="primary" id="runreport">{{ 'labels.buttons.Run Report' | translate }}</button>
|
||||
</mat-card-actions>
|
||||
</form>
|
||||
</mat-card>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<mat-card *ngIf="!isCollapsed">
|
||||
<button mat-raised-button color="primary" (click)="isCollapsed = !isCollapsed">
|
||||
{{ 'labels.buttons.Parameters' | translate }}
|
||||
</button>
|
||||
|
||||
<div class="m-t-20">
|
||||
<table mat-table [dataSource]="dataSource" matSort>
|
||||
<ng-container matColumnDef="name">
|
||||
<th mat-header-cell *matHeaderCellDef mat-sort-header>{{ 'labels.inputs.name' | translate }}</th>
|
||||
<td mat-cell *matCellDef="let entry">{{ entry.name }}</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="dimension">
|
||||
<th mat-header-cell *matHeaderCellDef mat-sort-header>{{ 'labels.inputs.Dimension' | translate }}</th>
|
||||
<td mat-cell *matCellDef="let entry">{{ entry.dimension }}</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="value">
|
||||
<th mat-header-cell *matHeaderCellDef mat-sort-header>{{ 'labels.inputs.Value' | translate }}</th>
|
||||
<td mat-cell *matCellDef="let entry"><input [formControl]="entry.value" /></td>
|
||||
</ng-container>
|
||||
|
||||
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
||||
<tr mat-row *matRowDef="let row; columns: displayedColumns" class="select-row"></tr>
|
||||
</table>
|
||||
|
||||
<div class="container m-t-20" fxLayout="row" fxLayout.xs="column" fxLayoutAlign="center" fxLayoutGap="10px">
|
||||
<button type="button" mat-raised-button [routerLink]="['../']">
|
||||
{{ 'labels.buttons.Cancel' | translate }}
|
||||
</button>
|
||||
<a [href]="submit()" download="file.xml">
|
||||
<button mat-raised-button color="primary">{{ 'labels.buttons.Submit' | translate }}</button>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</mat-card>
|
||||
</div>
|
||||
@@ -1,3 +0,0 @@
|
||||
.form {
|
||||
max-width: 37rem;
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { XBRLReportComponent } from './xbrl-report.component';
|
||||
|
||||
describe('XBRLReportComponent', () => {
|
||||
let component: XBRLReportComponent;
|
||||
let fixture: ComponentFixture<XBRLReportComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [XBRLReportComponent]
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(XBRLReportComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -1,140 +0,0 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { DomSanitizer } from '@angular/platform-browser';
|
||||
|
||||
/** Custom Services */
|
||||
import { ReportsService } from '../reports.service';
|
||||
import { SettingsService } from 'app/settings/settings.service';
|
||||
import { Dates } from 'app/core/utils/dates';
|
||||
|
||||
/**
|
||||
* XBRL Report Component
|
||||
*/
|
||||
@Component({
|
||||
selector: 'mifosx-xbrl-report',
|
||||
templateUrl: './xbrl-report.component.html',
|
||||
styleUrls: ['./xbrl-report.component.scss']
|
||||
})
|
||||
export class XBRLReportComponent implements OnInit {
|
||||
/** Minimum Due Date allowed. */
|
||||
minDate = new Date(2000, 0, 1);
|
||||
/** Maximum Due Date allowed. */
|
||||
maxDate = new Date();
|
||||
/** XBRL Form */
|
||||
xbrlForm: UntypedFormGroup;
|
||||
/** XML response from API */
|
||||
rawXml: any;
|
||||
/** Parsed xml data */
|
||||
xmlData: any[] = [];
|
||||
/** Collapsing Boolean */
|
||||
isCollapsed = true;
|
||||
/** Trusted url resource for xml download */
|
||||
fileUrl: any;
|
||||
/** Columns to be displayed in XBRL reports table */
|
||||
displayedColumns: string[] = [
|
||||
'name',
|
||||
'dimension',
|
||||
'value'
|
||||
];
|
||||
/** Data source for XBRL reports table */
|
||||
dataSource = new MatTableDataSource();
|
||||
|
||||
/**
|
||||
* @param {FormBuilder} formBuilder Form Builder.
|
||||
* @param {ActivatedRoute} route Activated Route.
|
||||
* @param {Router} router Router for navigation.
|
||||
* @param {SettingsService} settingsService Settings Service
|
||||
*/
|
||||
constructor(
|
||||
private reportService: ReportsService,
|
||||
private formBuilder: UntypedFormBuilder,
|
||||
private settingsService: SettingsService,
|
||||
private dateUtils: Dates,
|
||||
private sanitizer: DomSanitizer
|
||||
) {}
|
||||
|
||||
/**
|
||||
* Creates the XBRL form.
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createXbrlForm();
|
||||
}
|
||||
|
||||
createXbrlForm() {
|
||||
this.xbrlForm = this.formBuilder.group({
|
||||
startDate: [
|
||||
'',
|
||||
Validators.required
|
||||
],
|
||||
endDate: [
|
||||
'',
|
||||
Validators.required
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Parses XML for mat-table data
|
||||
* @param {any} response XML API response
|
||||
*/
|
||||
buildXMLTable(response: any) {
|
||||
const parser = new DOMParser();
|
||||
const xml = parser.parseFromString(response, 'text/xml');
|
||||
xml.querySelectorAll('[contextRef]').forEach((element: HTMLElement) => {
|
||||
const contextId = element.getAttribute('contextRef');
|
||||
const scenario = xml.querySelector(`#${contextId}`).querySelector('scenario');
|
||||
const context = scenario ? scenario.textContent : undefined;
|
||||
const entry = {
|
||||
name: element.tagName,
|
||||
dimension: context,
|
||||
value: new UntypedFormControl(element.textContent)
|
||||
};
|
||||
this.xmlData.push(entry);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetches XML Response, parses it and initializes mat-table with parsed data.
|
||||
*/
|
||||
runreport() {
|
||||
const xbrlFormData = this.xbrlForm.value;
|
||||
const prevStartDate: Date = this.xbrlForm.value.startDate;
|
||||
const prevEndDate: Date = this.xbrlForm.value.endDate;
|
||||
const dateFormat = this.settingsService.dateFormat;
|
||||
if (xbrlFormData.startDate instanceof Date) {
|
||||
xbrlFormData.startDate = this.dateUtils.formatDate(prevStartDate, dateFormat);
|
||||
}
|
||||
if (xbrlFormData.endDate instanceof Date) {
|
||||
xbrlFormData.endDate = this.dateUtils.formatDate(prevEndDate, dateFormat);
|
||||
}
|
||||
this.reportService.getMixReport(xbrlFormData).subscribe((response: any) => {
|
||||
this.rawXml = response;
|
||||
this.buildXMLTable(response);
|
||||
this.dataSource = new MatTableDataSource(this.xmlData);
|
||||
this.isCollapsed = false;
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Outputs XML File with desired changes to entry values.
|
||||
*/
|
||||
submit() {
|
||||
const parser = new DOMParser();
|
||||
const xmlDOM = parser.parseFromString(this.rawXml, 'text/xml');
|
||||
xmlDOM.querySelectorAll('[contextRef]').forEach((element: HTMLElement) => {
|
||||
this.xmlData.forEach((entry: any) => {
|
||||
if (entry.name === element.tagName) {
|
||||
element.textContent = entry.value.value;
|
||||
}
|
||||
});
|
||||
});
|
||||
const serializer = new XMLSerializer();
|
||||
const xml = serializer.serializeToString(xmlDOM);
|
||||
const blob = new Blob([xml], { type: 'application/octet-stream' });
|
||||
this.fileUrl = this.sanitizer.bypassSecurityTrustResourceUrl(window.URL.createObjectURL(blob));
|
||||
return this.fileUrl;
|
||||
}
|
||||
}
|
||||
@@ -1,59 +0,0 @@
|
||||
<mat-card class="container">
|
||||
<div *ngIf="XBRLSuccess">
|
||||
<h1>
|
||||
<strong>{{ 'labels.heading.Saved Successfully' | translate }}</strong>
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<div *ngIf="!XBRLSuccess">
|
||||
<mat-tab-group (selectedTabChange)="filterTaxonomiesBy($event.index)">
|
||||
<mat-tab label="Portfolio"></mat-tab>
|
||||
<mat-tab label="BalanceSheet"></mat-tab>
|
||||
<mat-tab label="Incomes"></mat-tab>
|
||||
<mat-tab label="Expenses"></mat-tab>
|
||||
</mat-tab-group>
|
||||
|
||||
<div class="table-container">
|
||||
<table mat-table [dataSource]="dataSource">
|
||||
<ng-container matColumnDef="info">
|
||||
<td mat-cell *matCellDef="let mixtaxonomy">
|
||||
<fa-icon icon="question-circle" [matTooltip]="mixtaxonomy.description"></fa-icon>
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="name">
|
||||
<td mat-cell *matCellDef="let mixtaxonomy">{{ mixtaxonomy.name }}</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="dimension">
|
||||
<td mat-cell *matCellDef="let mixtaxonomy">{{ mixtaxonomy.dimension }}</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="mapping">
|
||||
<td mat-cell *matCellDef="let mixtaxonomy">
|
||||
<input [formControl]="mixtaxonomy.mapping" [matAutocomplete]="glAccountAutocomplete" />
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
<tr mat-row *matRowDef="let row; columns: displayedColumns" class="select-row"></tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="container m-t-20" fxLayout="row" fxLayoutAlign="center" fxLayoutGap="20px">
|
||||
<button mat-raised-button color="primary" [routerLink]="['./report']">
|
||||
<fa-icon icon="cog" class="m-r-10"></fa-icon>
|
||||
{{ 'labels.buttons.Generate Report' | translate }}
|
||||
</button>
|
||||
<button mat-raised-button color="accent" (click)="submit()">
|
||||
<fa-icon icon="download" class="m-r-10"></fa-icon>
|
||||
{{ 'labels.buttons.Save Changes' | translate }}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<mat-autocomplete autoActiveFirstOption #glAccountAutocomplete="matAutocomplete">
|
||||
<mat-option *ngFor="let glAccount of filteredGlAccounts" [value]="'{' + glAccount.glCode + '}'">
|
||||
{{ glAccount.name + ' (' + glAccount.glCode + ')' }}
|
||||
</mat-option>
|
||||
</mat-autocomplete>
|
||||
</div>
|
||||
</mat-card>
|
||||
@@ -1,4 +0,0 @@
|
||||
.mat-header-cell,
|
||||
.mat-cell {
|
||||
min-width: 50px;
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { XBRLComponent } from './xbrl.component';
|
||||
|
||||
describe('XBRLComponent', () => {
|
||||
let component: XBRLComponent;
|
||||
let fixture: ComponentFixture<XBRLComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [XBRLComponent]
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(XBRLComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -1,163 +0,0 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, AfterViewInit } from '@angular/core';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { UntypedFormControl } from '@angular/forms';
|
||||
|
||||
/** Custom Services */
|
||||
import { ReportsService } from '../reports.service';
|
||||
|
||||
/**
|
||||
* XBRL Component
|
||||
*/
|
||||
@Component({
|
||||
selector: 'mifosx-xbrl',
|
||||
templateUrl: './xbrl.component.html',
|
||||
styleUrls: ['./xbrl.component.scss']
|
||||
})
|
||||
export class XBRLComponent implements OnInit, AfterViewInit {
|
||||
/** Mix Taxonomy Array */
|
||||
mixtaxonomyArray: any = [];
|
||||
/** Mix Mappings */
|
||||
mixMappingJson: any;
|
||||
/** GL Accounts data */
|
||||
glAccounts: any;
|
||||
/** Filtered GL Accounts */
|
||||
filteredGlAccounts: any;
|
||||
/** Columns to be displayed in reports table. */
|
||||
displayedColumns: string[] = [
|
||||
'info',
|
||||
'name',
|
||||
'dimension',
|
||||
'mapping'
|
||||
];
|
||||
/** Data source for reports table. */
|
||||
dataSource = new MatTableDataSource();
|
||||
/** XBRL save status */
|
||||
XBRLSuccess = false;
|
||||
|
||||
/**
|
||||
* Retrieves data from `resolve`.
|
||||
* @param {ActivatedRoute} route Activated Route.
|
||||
* Prevents reuse of Route Params while navigating.
|
||||
* @param {Router} router: Route.
|
||||
* @param {ReportService} reportService ReportService
|
||||
*/
|
||||
constructor(
|
||||
private route: ActivatedRoute,
|
||||
private router: Router,
|
||||
private reportService: ReportsService
|
||||
) {
|
||||
this.route.data.subscribe((data: { mixtaxonomy: any; mixmapping: any; glAccounts: any }) => {
|
||||
this.mixtaxonomyArray = data.mixtaxonomy;
|
||||
this.mixMappingJson = data.mixmapping.config || JSON.stringify({});
|
||||
this.glAccounts = data.glAccounts;
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates Mappings, sets the dataSource and datasource filterPredicate.
|
||||
*/
|
||||
ngOnInit() {
|
||||
if (localStorage.getItem('XbrlReportSaveSuccess')) {
|
||||
localStorage.removeItem('XbrlReportSaveSuccess');
|
||||
this.XBRLSuccess = true;
|
||||
setTimeout(() => {
|
||||
this.XBRLSuccess = false;
|
||||
}, 3000);
|
||||
}
|
||||
this.createMappings();
|
||||
this.dataSource = new MatTableDataSource(this.mixtaxonomyArray);
|
||||
this.setDatasourceFilter();
|
||||
}
|
||||
|
||||
/**
|
||||
* Subscribe to taxonomy's value changes and filters options accordingly.
|
||||
*/
|
||||
ngAfterViewInit() {
|
||||
this.mixtaxonomyArray.forEach((taxonomy: any) => {
|
||||
taxonomy.mapping?.valueChanges.subscribe((value: string) => {
|
||||
this.filteredGlAccounts = this.applyFilter(value);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Maps Taxonomy to it's value and add's formcontrol.
|
||||
*/
|
||||
createMappings() {
|
||||
this.mixtaxonomyArray.forEach((taxonomy: any) => {
|
||||
const mapping = JSON.parse(this.mixMappingJson)[taxonomy.id];
|
||||
taxonomy.mapping = new UntypedFormControl('');
|
||||
taxonomy.mapping.value = mapping || '';
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets custom datasource filter.
|
||||
*/
|
||||
setDatasourceFilter() {
|
||||
this.dataSource.filterPredicate = (data: any, filter: string) => {
|
||||
return data.type.toString() === filter;
|
||||
};
|
||||
this.dataSource.filter = '0'; // defaults to 'Portfolio'
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter for GL Account AutoComplete.
|
||||
* @param {string} value Filter Value.
|
||||
*/
|
||||
applyFilter(value: string) {
|
||||
const filterValue = value.toLowerCase();
|
||||
return this.glAccounts.filter(
|
||||
(entry: any) => entry.name.toLowerCase().includes(filterValue) || entry.glCode.includes(filterValue)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters Taxonomies by index.
|
||||
* @param {number} index number representing type of taxonomy.
|
||||
*/
|
||||
filterTaxonomiesBy(index: number) {
|
||||
this.dataSource.filter = index.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays gl account name in form control input.
|
||||
* @param {any} glAccount Gl Account data.
|
||||
* @returns {string} Gl Account name if valid otherwise undefined.
|
||||
*/
|
||||
displayGLAccount(glAccount?: any): string | undefined {
|
||||
if (typeof glAccount === 'object') {
|
||||
return glAccount ? glAccount.name + ' (' + glAccount.glCode + ')' : undefined;
|
||||
} else {
|
||||
return glAccount;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Reloads the component post saving changes.
|
||||
*/
|
||||
reloadComponent() {
|
||||
this.router.routeReuseStrategy.shouldReuseRoute = () => false;
|
||||
this.router.onSameUrlNavigation = 'reload';
|
||||
this.router.navigate(['./xbrl']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Posts Taxonomy Data onto the API.
|
||||
*/
|
||||
submit() {
|
||||
const config: any = {};
|
||||
const serialObject: any = {};
|
||||
this.mixtaxonomyArray.forEach((taxonomy: any) => {
|
||||
config[taxonomy.id] = taxonomy.mapping.value;
|
||||
});
|
||||
serialObject['config'] = JSON.stringify(config);
|
||||
serialObject['identifier'] = 'default;';
|
||||
this.reportService.editMixMappings(serialObject).subscribe((response: any) => {
|
||||
localStorage.setItem('XbrlReportSaveSuccess', 'true');
|
||||
this.reloadComponent();
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -555,7 +555,6 @@
|
||||
"transaction_client": "transakce_klient",
|
||||
"transaction_loan": "transakce_půjčka",
|
||||
"transaction_savings": "transakční_úspory",
|
||||
"xbrlmapping": "xbrlmapping",
|
||||
"CLIENT": "KLIENT",
|
||||
"Loan": "Loan",
|
||||
"Savings": "Savings",
|
||||
@@ -2583,8 +2582,7 @@
|
||||
"Apply Additional Shares": "Použít další",
|
||||
"Redeem Shares": "Uplatnit akcie",
|
||||
"Approve Additional Shares": "Schválit další akcie",
|
||||
"Reject Additional Shares": "Odmítnout další akcie",
|
||||
"XBRL": "XBRL"
|
||||
"Reject Additional Shares": "Odmítnout další akcie"
|
||||
},
|
||||
"placeholders": {
|
||||
"Add new server": "Přidat nový server",
|
||||
@@ -3249,8 +3247,6 @@
|
||||
"Working Days": "Pracovní dny",
|
||||
"Working days and configure behaviour of payments": "Definujte pracovní dny a nakonfigurujte chování plateb splatných o svátcích",
|
||||
"Working days page allows you to define which days": "Stránka Pracovní dny umožňuje definovat, které dny v týdnu jsou pracovními dny.",
|
||||
"XBRL": "XBRL",
|
||||
"XBRL Report": "Zpráva XBRL",
|
||||
"Your answer is": "Vaše odpověď je",
|
||||
"by": "podle",
|
||||
"do not match": "neshodují",
|
||||
|
||||
@@ -555,7 +555,6 @@
|
||||
"transaction_client": "transaktionsclient",
|
||||
"transaction_loan": "transaktionskredit",
|
||||
"transaction_savings": "transaktionsersparnisse",
|
||||
"xbrlmapping": "xbrlmapping",
|
||||
"CLIENT": "KLIENT",
|
||||
"Loan": "Darlehen",
|
||||
"Savings": "Ersparnisse",
|
||||
@@ -2583,8 +2582,7 @@
|
||||
"Apply Additional Shares": "Zusätzlich anwenden",
|
||||
"Redeem Shares": "Anteile zurückgeben",
|
||||
"Approve Additional Shares": "Genehmigen Sie zusätzliche Freigaben",
|
||||
"Reject Additional Shares": "Zusätzliche Freigaben ablehnen",
|
||||
"XBRL": "XBRL"
|
||||
"Reject Additional Shares": "Zusätzliche Freigaben ablehnen"
|
||||
},
|
||||
"placeholders": {
|
||||
"Add new server": "Neuen Server hinzufügen",
|
||||
@@ -3248,8 +3246,6 @@
|
||||
"Working Days": "Arbeitstage",
|
||||
"Working days and configure behaviour of payments": "Definieren Sie Arbeitstage und konfigurieren Sie das Verhalten von an Feiertagen fälligen Zahlungen",
|
||||
"Working days page allows you to define which days": "Auf der Seite „Arbeitstage“ können Sie festlegen, welche Wochentage Arbeitstage sind.",
|
||||
"XBRL": "XBRL",
|
||||
"XBRL Report": "XBRL-Bericht",
|
||||
"Your answer is": "Ihre Antwort ist",
|
||||
"by": "von",
|
||||
"do not match": "nicht übereinstimmen",
|
||||
|
||||
@@ -557,7 +557,6 @@
|
||||
"transaction_client": "transaction_client",
|
||||
"transaction_loan": "transaction_loan",
|
||||
"transaction_savings": "transaction_savings",
|
||||
"xbrlmapping": "xbrlmapping",
|
||||
"Loan": "Loan",
|
||||
"Savings": "Savings",
|
||||
"Shares": "Shares",
|
||||
@@ -2591,8 +2590,7 @@
|
||||
"Apply Additional Shares": "Apply Additional Shares",
|
||||
"Redeem Shares": "Redeem Shares",
|
||||
"Approve Additional Shares": "Approve Additional Shares",
|
||||
"Reject Additional Shares": "Reject Additional Shares",
|
||||
"XBRL": "XBRL"
|
||||
"Reject Additional Shares": "Reject Additional Shares"
|
||||
},
|
||||
"placeholders": {
|
||||
"Add new server": "Add new server",
|
||||
@@ -3354,8 +3352,6 @@
|
||||
"Working Days": "Working Days",
|
||||
"Working days and configure behaviour of payments": "Define working days and configure behaviour of payments due on holidays",
|
||||
"Working days page allows you to define which days": "Working days page allows you to define which days of the week are working days.",
|
||||
"XBRL": "XBRL",
|
||||
"XBRL Report": "XBRL Report",
|
||||
"Your answer is": "Your answer is",
|
||||
"by": "by",
|
||||
"do not match": "do not match",
|
||||
|
||||
@@ -555,7 +555,6 @@
|
||||
"transaction_client": "cliente_transaccion",
|
||||
"transaction_loan": "préstamo_transacción",
|
||||
"transaction_savings": "transacción_ahorro",
|
||||
"xbrlmapping": "mapeo xbrl",
|
||||
"CLIENT": "CLIENTE",
|
||||
"Loan": "Crédito",
|
||||
"Savings": "Ahorros",
|
||||
@@ -2583,8 +2582,7 @@
|
||||
"Apply Additional Shares": "Adicionar Acciones",
|
||||
"Redeem Shares": "Canjear acciones",
|
||||
"Approve Additional Shares": "Aprobar acciones adicionales",
|
||||
"Reject Additional Shares": "Rechazar acciones adicionales",
|
||||
"XBRL": "XBRL"
|
||||
"Reject Additional Shares": "Rechazar acciones adicionales"
|
||||
},
|
||||
"placeholders": {
|
||||
"Add new server": "Agregar nuevo servidor",
|
||||
@@ -3249,8 +3247,6 @@
|
||||
"Working Days": "Días laborables",
|
||||
"Working days and configure behaviour of payments": "Defina días laborables y configure el comportamiento de los pagos vencidos en días festivos.",
|
||||
"Working days page allows you to define which days": "La página de días laborables le permite definir qué días de la semana son días laborables.",
|
||||
"XBRL": "XBRL",
|
||||
"XBRL Report": "Reporte XBRL",
|
||||
"Your answer is": "Tu respuesta es",
|
||||
"by": "por",
|
||||
"do not match": "no coinciden",
|
||||
|
||||
@@ -555,7 +555,6 @@
|
||||
"transaction_client": "cliente_transaccion",
|
||||
"transaction_loan": "préstamo_transacción",
|
||||
"transaction_savings": "transacción_ahorro",
|
||||
"xbrlmapping": "mapeo xbrl",
|
||||
"CLIENT": "CLIENTE",
|
||||
"Loan": "Crédito",
|
||||
"Savings": "Ahorros",
|
||||
@@ -2583,8 +2582,7 @@
|
||||
"Apply Additional Shares": "Adicionar Acciones",
|
||||
"Redeem Shares": "Canjear acciones",
|
||||
"Approve Additional Shares": "Aprobar acciones adicionales",
|
||||
"Reject Additional Shares": "Rechazar acciones adicionales",
|
||||
"XBRL": "XBRL"
|
||||
"Reject Additional Shares": "Rechazar acciones adicionales"
|
||||
},
|
||||
"placeholders": {
|
||||
"Add new server": "Agregar nuevo servidor",
|
||||
@@ -3249,8 +3247,6 @@
|
||||
"Working Days": "Días laborables",
|
||||
"Working days and configure behaviour of payments": "Defina días laborables y configure el comportamiento de los pagos vencidos en días festivos.",
|
||||
"Working days page allows you to define which days": "La página de días laborables le permite definir qué días de la semana son días laborables.",
|
||||
"XBRL": "XBRL",
|
||||
"XBRL Report": "Reporte XBRL",
|
||||
"Your answer is": "Tu respuesta es",
|
||||
"by": "por",
|
||||
"do not match": "no coinciden",
|
||||
|
||||
@@ -555,7 +555,6 @@
|
||||
"transaction_client": "transaction_client",
|
||||
"transaction_loan": "transaction_prêt",
|
||||
"transaction_savings": "transaction_épargne",
|
||||
"xbrlmapping": "xbrlmapping",
|
||||
"CLIENT": "CLIENT",
|
||||
"Loan": "Prêt",
|
||||
"Savings": "Des économies",
|
||||
@@ -2583,8 +2582,7 @@
|
||||
"Apply Additional Shares": "Appliquer supplémentaire",
|
||||
"Redeem Shares": "Racheter des actions",
|
||||
"Approve Additional Shares": "Approuver des partages supplémentaires",
|
||||
"Reject Additional Shares": "Rejeter les partages supplémentaires",
|
||||
"XBRL": "XBRL"
|
||||
"Reject Additional Shares": "Rejeter les partages supplémentaires"
|
||||
},
|
||||
"placeholders": {
|
||||
"Add new server": "Ajouter un nouveau serveur",
|
||||
@@ -3248,8 +3246,6 @@
|
||||
"Working Days": "Jours de travail",
|
||||
"Working days and configure behaviour of payments": "Définir les jours ouvrables et configurer le comportement des paiements dus les jours fériés",
|
||||
"Working days page allows you to define which days": "La page Jours ouvrés vous permet de définir quels jours de la semaine sont ouvrés.",
|
||||
"XBRL": "XBRL",
|
||||
"XBRL Report": "Rapport XBRL",
|
||||
"Your answer is": "Votre réponse est",
|
||||
"by": "par",
|
||||
"do not match": "ne correspondent pas",
|
||||
|
||||
@@ -555,7 +555,6 @@
|
||||
"transaction_client": "transazione_cliente",
|
||||
"transaction_loan": "transazione_prestito",
|
||||
"transaction_savings": "transazione_risparmio",
|
||||
"xbrlmapping": "xbrlmapp",
|
||||
"CLIENT": "CLIENTE",
|
||||
"Loan": "Prestito",
|
||||
"Savings": "Risparmio",
|
||||
@@ -2583,8 +2582,7 @@
|
||||
"Apply Additional Shares": "Applicare aggiuntivo",
|
||||
"Redeem Shares": "Riscattare azioni",
|
||||
"Approve Additional Shares": "Approvare azioni aggiuntive",
|
||||
"Reject Additional Shares": "Rifiutare condivisioni aggiuntive",
|
||||
"XBRL": "XBRL"
|
||||
"Reject Additional Shares": "Rifiutare condivisioni aggiuntive"
|
||||
},
|
||||
"placeholders": {
|
||||
"Add new server": "Aggiungi nuovo server",
|
||||
@@ -3249,8 +3247,6 @@
|
||||
"Working Days": "Giorni lavorativi",
|
||||
"Working days and configure behaviour of payments": "Definisci i giorni lavorativi e configura il comportamento dei pagamenti dovuti nei giorni festivi",
|
||||
"Working days page allows you to define which days": "La pagina Giorni lavorativi consente di definire quali giorni della settimana sono giorni lavorativi.",
|
||||
"XBRL": "XBRL",
|
||||
"XBRL Report": "Rapporto XBRL",
|
||||
"Your answer is": "La tua risposta è",
|
||||
"by": "di",
|
||||
"do not match": "non corrispondono",
|
||||
|
||||
@@ -555,7 +555,6 @@
|
||||
"transaction_client": "transaction_client",
|
||||
"transaction_loan": "거래_대출",
|
||||
"transaction_savings": "거래_저축",
|
||||
"xbrlmapping": "xbrl매핑",
|
||||
"CLIENT": "고객",
|
||||
"Loan": "대출",
|
||||
"Savings": "저금",
|
||||
@@ -2583,8 +2582,7 @@
|
||||
"Apply Additional Shares": "추가 신청",
|
||||
"Redeem Shares": "주식 상환",
|
||||
"Approve Additional Shares": "추가 공유 승인",
|
||||
"Reject Additional Shares": "추가 공유 거부",
|
||||
"XBRL": "XBRL"
|
||||
"Reject Additional Shares": "추가 공유 거부"
|
||||
},
|
||||
"placeholders": {
|
||||
"Add new server": "새 서버 추가",
|
||||
@@ -3249,8 +3247,6 @@
|
||||
"Working Days": "일하는 날",
|
||||
"Working days and configure behaviour of payments": "영업일 정의 및 휴일 지급 방식 구성",
|
||||
"Working days page allows you to define which days": "근무일 페이지에서는 어느 요일이 근무일인지 정의할 수 있습니다.",
|
||||
"XBRL": "XBRL",
|
||||
"XBRL Report": "XBRL 보고서",
|
||||
"Your answer is": "당신의 대답은",
|
||||
"by": "~에 의해",
|
||||
"do not match": "일치하지 않는",
|
||||
|
||||
@@ -555,7 +555,6 @@
|
||||
"transaction_client": "sandorio_klientas",
|
||||
"transaction_loan": "sandorio_paskola",
|
||||
"transaction_savings": "sandorių_saupymai",
|
||||
"xbrlmapping": "xbrlmapping",
|
||||
"CLIENT": "KLIENTAS",
|
||||
"Loan": "Paskola",
|
||||
"Savings": "Taupymas",
|
||||
@@ -2583,8 +2582,7 @@
|
||||
"Apply Additional Shares": "Taikyti Papildomą",
|
||||
"Redeem Shares": "Išpirkti akcijas",
|
||||
"Approve Additional Shares": "Patvirtinti papildomas akcijas",
|
||||
"Reject Additional Shares": "Atmesti papildomas akcijas",
|
||||
"XBRL": "XBRL"
|
||||
"Reject Additional Shares": "Atmesti papildomas akcijas"
|
||||
},
|
||||
"placeholders": {
|
||||
"Add new server": "Pridėti naują serverį",
|
||||
@@ -3249,8 +3247,6 @@
|
||||
"Working Days": "Darbo dienos",
|
||||
"Working days and configure behaviour of payments": "Apibrėžkite darbo dienas ir konfigūruokite mokėjimų, atliekamų švenčių dienomis, elgesį",
|
||||
"Working days page allows you to define which days": "Darbo dienų puslapyje galite nustatyti, kurios savaitės dienos yra darbo dienos.",
|
||||
"XBRL": "XBRL",
|
||||
"XBRL Report": "XBRL ataskaita",
|
||||
"Your answer is": "Jūsų atsakymas yra",
|
||||
"by": "pateikė",
|
||||
"do not match": "nesutampa",
|
||||
|
||||
@@ -555,7 +555,6 @@
|
||||
"transaction_client": "darījums_klients",
|
||||
"transaction_loan": "darījums_aizdevums",
|
||||
"transaction_savings": "darījuma_ietaupījumi",
|
||||
"xbrlmapping": "xbrlmapping",
|
||||
"CLIENT": "KLIENTS",
|
||||
"Loan": "Aizdevums",
|
||||
"Savings": "Ietaupījumi",
|
||||
@@ -2583,8 +2582,7 @@
|
||||
"Apply Additional Shares": "Lietot papildu",
|
||||
"Redeem Shares": "Izpirkt Akcijas",
|
||||
"Approve Additional Shares": "Apstipriniet papildu akcijas",
|
||||
"Reject Additional Shares": "Noraidīt papildu akcijas",
|
||||
"XBRL": "XBRL"
|
||||
"Reject Additional Shares": "Noraidīt papildu akcijas"
|
||||
},
|
||||
"placeholders": {
|
||||
"Add new server": "Pievienot jaunu serveri",
|
||||
@@ -3249,8 +3247,6 @@
|
||||
"Working Days": "Darba dienas",
|
||||
"Working days and configure behaviour of payments": "Definējiet darba dienas un konfigurējiet brīvdienās veicamo maksājumu darbību",
|
||||
"Working days page allows you to define which days": "Lapa Darba dienas ļauj definēt, kuras nedēļas dienas ir darba dienas.",
|
||||
"XBRL": "XBRL",
|
||||
"XBRL Report": "XBRL ziņojums",
|
||||
"Your answer is": "Jūsu atbilde ir",
|
||||
"by": "autors",
|
||||
"do not match": "nesakrīt",
|
||||
|
||||
@@ -555,7 +555,6 @@
|
||||
"transaction_client": "transaction_client",
|
||||
"transaction_loan": "लेनदेन_लोन",
|
||||
"transaction_savings": "लेनदेन_बचत",
|
||||
"xbrlmapping": "xbrlmapping",
|
||||
"CLIENT": "ग्राहक",
|
||||
"Loan": "ऋण",
|
||||
"Savings": "बचत",
|
||||
@@ -2583,8 +2582,7 @@
|
||||
"Apply Additional Shares": "अतिरिक्त लागू गर्नुहोस्",
|
||||
"Redeem Shares": "शेयरहरू रिडिम गर्नुहोस्",
|
||||
"Approve Additional Shares": "अतिरिक्त शेयरहरू स्वीकृत गर्नुहोस्",
|
||||
"Reject Additional Shares": "अतिरिक्त शेयरहरू अस्वीकार गर्नुहोस्",
|
||||
"XBRL": "XBRL"
|
||||
"Reject Additional Shares": "अतिरिक्त शेयरहरू अस्वीकार गर्नुहोस्"
|
||||
},
|
||||
"placeholders": {
|
||||
"Add new server": "नयाँ सर्भर थप्नुहोस्",
|
||||
@@ -3249,8 +3247,6 @@
|
||||
"Working Days": "काम गर्ने दिनहरू",
|
||||
"Working days and configure behaviour of payments": "कामका दिनहरू परिभाषित गर्नुहोस् र छुट्टिहरूमा हुने भुक्तानीहरूको व्यवहार कन्फिगर गर्नुहोस्",
|
||||
"Working days page allows you to define which days": "कामका दिनहरू पृष्ठले तपाईंलाई हप्ताको कुन दिनहरू काम गर्ने दिनहरू परिभाषित गर्न अनुमति दिन्छ।",
|
||||
"XBRL": "XBRL",
|
||||
"XBRL Report": "XBRL रिपोर्ट",
|
||||
"Your answer is": "तपाईको जवाफ छ",
|
||||
"by": "द्वारा",
|
||||
"do not match": "मिल्दैन",
|
||||
|
||||
@@ -555,7 +555,6 @@
|
||||
"transaction_client": "transação_cliente",
|
||||
"transaction_loan": "transação_empréstimo",
|
||||
"transaction_savings": "transação_economia",
|
||||
"xbrlmapping": "xbrlmapping",
|
||||
"CLIENT": "CLIENTE",
|
||||
"Loan": "Empréstimo",
|
||||
"Savings": "Poupança",
|
||||
@@ -2583,8 +2582,7 @@
|
||||
"Apply Additional Shares": "Aplicar Adicional",
|
||||
"Redeem Shares": "Resgatar Ações",
|
||||
"Approve Additional Shares": "Aprovar ações adicionais",
|
||||
"Reject Additional Shares": "Rejeitar compartilhamentos adicionais",
|
||||
"XBRL": "XBRL"
|
||||
"Reject Additional Shares": "Rejeitar compartilhamentos adicionais"
|
||||
},
|
||||
"placeholders": {
|
||||
"Add new server": "Adicionar novo servidor",
|
||||
@@ -3249,8 +3247,6 @@
|
||||
"Working Days": "Dias úteis",
|
||||
"Working days and configure behaviour of payments": "Definir dias úteis e configurar comportamento dos pagamentos devidos em feriados",
|
||||
"Working days page allows you to define which days": "A página dias úteis permite definir quais dias da semana são dias úteis.",
|
||||
"XBRL": "XBRL",
|
||||
"XBRL Report": "Relatório XBRL",
|
||||
"Your answer is": "Sua resposta é",
|
||||
"by": "por",
|
||||
"do not match": "não combina",
|
||||
|
||||
@@ -555,7 +555,6 @@
|
||||
"transaction_client": "muamala_mteja",
|
||||
"transaction_loan": "muamala_mkopo",
|
||||
"transaction_savings": "akiba_ya_muamala",
|
||||
"xbrlmapping": "xbrlmapping",
|
||||
"CLIENT": "MTEJA",
|
||||
"Loan": "Mkopo",
|
||||
"Savings": "Akiba",
|
||||
@@ -2583,8 +2582,7 @@
|
||||
"Apply Additional Shares": "Omba Ziada",
|
||||
"Redeem Shares": "Komboa Hisa",
|
||||
"Approve Additional Shares": "Idhinisha Hisa za Ziada",
|
||||
"Reject Additional Shares": "Kataa Hisa za Ziada",
|
||||
"XBRL": "XBRL"
|
||||
"Reject Additional Shares": "Kataa Hisa za Ziada"
|
||||
},
|
||||
"placeholders": {
|
||||
"Add new server": "Ongeza seva mpya",
|
||||
@@ -3249,8 +3247,6 @@
|
||||
"Working Days": "Siku za kazi",
|
||||
"Working days and configure behaviour of payments": "Bainisha siku za kazi na uweke mipangilio ya tabia ya malipo yanayopaswa kutolewa siku za likizo",
|
||||
"Working days page allows you to define which days": "Ukurasa wa siku za kazi hukuruhusu kufafanua ni siku zipi za juma ni siku za kazi.",
|
||||
"XBRL": "XBRL",
|
||||
"XBRL Report": "Ripoti ya XBRL",
|
||||
"Your answer is": "Jibu lako ni",
|
||||
"by": "kwa",
|
||||
"do not match": "hailingani",
|
||||
|
||||
Reference in New Issue
Block a user