From 83b0ea3ac468724c8b94cb3c052c187e7de62b0c Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Wed, 29 Jan 2025 15:46:39 +0700 Subject: [PATCH] fix report --- src/controllers/ReportController.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/ReportController.ts b/src/controllers/ReportController.ts index afb61b1..10aab7f 100644 --- a/src/controllers/ReportController.ts +++ b/src/controllers/ReportController.ts @@ -4596,9 +4596,9 @@ export class ReportController extends Controller { // (profile.child2 == undefined && profile.child2 == null ? "" : profile.child2 + " ") + // (profile.child1 == undefined && profile.child1 == null ? "" : profile.child1 + " ") + // (profile.root == undefined && profile.root == null ? "" : profile.root), - // posLevel: profile.posLevel - // ? `${profile.posTypeShort} ${Extension.ToThaiNumber(profile.posLevel.toLocaleString())}` - // : "-", + posLevel: profile.posLevel + ? `${profile.posTypeShort} ${Extension.ToThaiNumber(profile.posLevel.toLocaleString())}` + : "-", posNumber: profile.orgShortName || profile.posMasterNo ? Extension.ToThaiNumber(profile.orgShortName) +