ค้นหาเงินเดือนกรณีไม่มีตำแหน่ง

This commit is contained in:
Kittapath 2024-03-29 11:23:26 +07:00
parent 452c2b9db0
commit 15c7401552

View file

@ -207,8 +207,10 @@ export class OrganizationUnauthorizeController extends Controller {
posMasterNoSuffix: item.posMasterNoSuffix,
orgShortName: orgShortName,
position: item.current_holder.position,
posType: item.current_holder.posType.posTypeName,
posLevel: item.current_holder.posLevel.posLevelName,
posType:
item.current_holder.posType == null ? null : item.current_holder.posType.posTypeName,
posLevel:
item.current_holder.posLevel == null ? null : item.current_holder.posLevel.posLevelName,
posExecutive: posExecutive,
amount: amount ? amount : null,
rootId: item.orgRootId,