fix posLevel undefined

This commit is contained in:
Bright 2024-12-04 13:37:22 +07:00
parent 582a40bfce
commit 05e56ba91f

View file

@ -7075,6 +7075,7 @@ export class ReportController extends Controller {
"salaryProfileEmployee.posMasterNo",
"salaryProfileEmployee.position",
"salaryProfileEmployee.posType",
"salaryProfileEmployee.posTypeShort",
"salaryProfileEmployee.posLevel",
"salaryProfileEmployee.profileId",
"salaryProfileEmployee.prefix",
@ -7089,7 +7090,7 @@ export class ReportController extends Controller {
posMasterNo: `${item.orgShortName}${item.posMasterNo}`,
positionName: item.position,
posType: item.posType,
posLevel: `${item.posTypeShort}${item.posLevel}`,
posLevel: `${item.posTypeShort ?? ""} ${item.posLevel ?? ""}`,
profileId: item.profileId,
prefix: item.prefix,
firstName: item.firstName,
@ -7161,6 +7162,7 @@ export class ReportController extends Controller {
"salaryProfileEmployee.posMasterNo",
"salaryProfileEmployee.position",
"salaryProfileEmployee.posType",
"salaryProfileEmployee.posTypeShort",
"salaryProfileEmployee.posLevel",
"salaryProfileEmployee.profileId",
"salaryProfileEmployee.prefix",
@ -7175,7 +7177,7 @@ export class ReportController extends Controller {
posMasterNo: `${item.orgShortName}${item.posMasterNo}`,
positionName: item.position,
posType: item.posType,
posLevel: `${item.posTypeShort}${item.posLevel}`,
posLevel: `${item.posTypeShort ?? ""} ${item.posLevel ?? ""}`,
profileId: item.profileId,
prefix: item.prefix,
firstName: item.firstName,