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}")
|
||||
async GetReportDevelopemtMain(@Path() type: string) {
|
||||
const _type = type.trim().toUpperCase();
|
||||
// const _type = type.trim().toUpperCase();
|
||||
const formattedData = {
|
||||
org: _type,
|
||||
org: "_type",
|
||||
};
|
||||
|
||||
return new HttpSuccess({
|
||||
|
|
@ -288,10 +288,10 @@ export class ReportController extends Controller {
|
|||
graduatedReason: getDevelopment.graduatedReason,
|
||||
useOfficialTime: getDevelopment.useOfficialTime,
|
||||
isGraduated: getDevelopment.isGraduated,
|
||||
totalPeriod:
|
||||
totalPeriod:
|
||||
getDevelopment.totalPeriod == null || getDevelopment.totalPeriod == ""
|
||||
? ""
|
||||
: Extension.ToThaiNumber(getDevelopment.totalPeriod),
|
||||
? ""
|
||||
: Extension.ToThaiNumber(getDevelopment.totalPeriod),
|
||||
};
|
||||
|
||||
return new HttpSuccess({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue