มอบหมายตำแหน่งว่าง

This commit is contained in:
kittapath 2025-02-18 09:38:11 +07:00
parent d6b4d8bdba
commit e1e400a24a

View file

@ -6404,7 +6404,7 @@ export class OrganizationController extends Controller {
.filter(
(x) =>
x.orgChild1Id == null &&
x.current_holderId != null &&
// x.current_holderId != null &&
x.posMasterOrder <= 3 &&
x.isDirector === true,
)
@ -6451,7 +6451,7 @@ export class OrganizationController extends Controller {
.filter(
(x) =>
x.orgChild2Id == null &&
x.current_holderId != null &&
// x.current_holderId != null &&
x.posMasterOrder <= 3 &&
x.isDirector === true,
)
@ -6506,7 +6506,7 @@ export class OrganizationController extends Controller {
.filter(
(x) =>
x.orgChild3Id == null &&
x.current_holderId != null &&
// x.current_holderId != null &&
x.posMasterOrder <= 3 &&
x.isDirector === true,
)
@ -6568,7 +6568,7 @@ export class OrganizationController extends Controller {
.filter(
(x) =>
x.orgChild4Id == null &&
x.current_holderId != null &&
// x.current_holderId != null &&
x.posMasterOrder <= 3 &&
x.isDirector === true,
)
@ -6636,9 +6636,8 @@ export class OrganizationController extends Controller {
orgChild4.posMasters
.filter(
(x) =>
x.current_holderId != null &&
x.posMasterOrder <= 3 &&
x.isDirector === true,
// x.current_holderId != null &&
x.posMasterOrder <= 3 && x.isDirector === true,
)
.map(async (x) => ({
posmasterId: x.id,