edit report error
This commit is contained in:
parent
3cb55d582c
commit
d45d18e592
1 changed files with 5 additions and 5 deletions
|
|
@ -46,9 +46,9 @@ export class ReportController extends Controller {
|
||||||
*/
|
*/
|
||||||
@Get("main/{type}")
|
@Get("main/{type}")
|
||||||
async GetReportDevelopemtMain(@Path() type: string) {
|
async GetReportDevelopemtMain(@Path() type: string) {
|
||||||
const _type = type.trim().toUpperCase();
|
// const _type = type.trim().toUpperCase();
|
||||||
const formattedData = {
|
const formattedData = {
|
||||||
org: _type,
|
org: "_type",
|
||||||
};
|
};
|
||||||
|
|
||||||
return new HttpSuccess({
|
return new HttpSuccess({
|
||||||
|
|
@ -290,8 +290,8 @@ export class ReportController extends Controller {
|
||||||
isGraduated: getDevelopment.isGraduated,
|
isGraduated: getDevelopment.isGraduated,
|
||||||
totalPeriod:
|
totalPeriod:
|
||||||
getDevelopment.totalPeriod == null || getDevelopment.totalPeriod == ""
|
getDevelopment.totalPeriod == null || getDevelopment.totalPeriod == ""
|
||||||
? ""
|
? ""
|
||||||
: Extension.ToThaiNumber(getDevelopment.totalPeriod),
|
: Extension.ToThaiNumber(getDevelopment.totalPeriod),
|
||||||
};
|
};
|
||||||
|
|
||||||
return new HttpSuccess({
|
return new HttpSuccess({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue