Fix รายงาน ก.พ.7/ก.ก.1 Issue #1436

This commit is contained in:
Bright 2025-07-04 17:08:29 +07:00
parent 2b53e433ba
commit 33fc5bb828
3 changed files with 12 additions and 0 deletions

View file

@ -1150,6 +1150,7 @@ export class ProfileEmployeeController extends Controller {
"commandNo",
"positionCee",
"amount",
"amountSpecial",
"remark",
],
where: {
@ -1173,6 +1174,8 @@ export class ProfileEmployeeController extends Controller {
: null,
salary:
item.amount != null ? Extension.ToThaiNumber(item.amount.toLocaleString()) : null,
special:
item.amountSpecial != null ? Extension.ToThaiNumber(item.amountSpecial.toLocaleString()) : null,
rank: item.positionLevel != null ? Extension.ToThaiNumber(item.positionLevel) : null,
refAll: item.remark ? Extension.ToThaiNumber(item.remark) : null,
positionLevel: item.positionLevel
@ -1199,6 +1202,7 @@ export class ProfileEmployeeController extends Controller {
position: "-",
posNo: "-",
salary: "-",
special: "-",
rank: "-",
refAll: "-",
positionLevel: "-",