fix รายงานเลื่อนเงินเดือนข้าราชการเพิ่มแสดงตำแหน่งทางการบริหารต่อจาก ตำแหน่งในสายงาน #39

This commit is contained in:
AdisakKanthawilang 2024-07-12 16:54:22 +07:00
parent 83ca592a6d
commit 3c4b099f15

View file

@ -2101,7 +2101,7 @@ export class ReportController extends Controller {
});
const root = _root?.root == null ? "" : _root.root;
// const agency = salaryProfile[0] == null ? "" : salaryProfile[0].root;
const formattedData = salaryProfile.map((item, index) => ({
no: Extension.ToThaiNumber(String(index + 1)),
fullname: item.prefix + item.firstName + " " + item.lastName,
@ -2114,6 +2114,7 @@ export class ReportController extends Controller {
(item.root == undefined && item.root == null ? "" : item.root),
posType: item.posType,
posLevel: item.posLevel,
posExecutive: item.posExecutive ? item.posExecutive:null,
posMasterNo:
Extension.ToThaiNumber(item.orgShortName) +
Extension.ToThaiNumber(String(item.posMasterNo.toLocaleString())),