thanks maliming. I have fixed it by add the followed statements
{
"from": " af-ZA",
"to": "af"
}
or
set the default language to English by using administration language function.
as well, there is the followed error message. POST http://localhost:22742/signalr/negotiate?enc_auth_token=null 500 (Internal Server Error) customers:1 Access to XMLHttpRequest at 'http://localhost:22742/signalr/negotiate?enc_auth_token=null' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Thanks!
Hi ismcagdas,
Here's the TS file for one of the reports:
import { ActivatedRoute } from '@angular/router';
import { Router } from '@angular/router';
import { appModuleAnimation } from '@shared/animations/routerTransition';
import { Http } from '@angular/http';
import { General_ledgersServiceProxy, General_ledgerDto } from '@shared/service-proxies/service-proxies';
import { NotifyService } from '@abp/notify/notify.service';
import { AppComponentBase } from '@shared/common/app-component-base';
import { TokenAuthServiceProxy } from '@shared/service-proxies/service-proxies';
import { Table } from 'primeng/components/table/table';
import { Paginator } from 'primeng/components/paginator/paginator';
import { LazyLoadEvent } from 'primeng/components/common/lazyloadevent';
import { FileDownloadService } from '@shared/utils/file-download.service';
import * as moment from 'moment';
import { Component, Injector, ViewEncapsulation, ViewChild } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './reportsmonth.component.html'
})
export class ReportsmonthComponent{
constructor(
private router: Router
) {}
title = "Report Viewer";
viewerContainerStyle = {
position: 'relative',
width: '1000px',
height: '800px',
['font-family']: 'ms sans serif'
};
changeTexts(startacct:string,endacct:string,periodbegin:string,periodend:string) {
this.router.navigate(['/app/report/reportbymonth'],{queryParams:{periodbegin:startacct,periodend:endacct,periodbdate:periodbegin,periodddate:periodend,id:3}});
}
//ready() { console.log('read'); }
viewerToolTipOpening(e: any, args: any) { console.log('viewerToolTipOpening ' + args.toolTip.text); }
}
how to convert to UTC time zone before submitting to ASP.NET Zero server?