Merge branch 'develop' into develop-Bright
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m33s

This commit is contained in:
harid 2026-03-20 11:03:29 +07:00
commit 866afe5ee1
5 changed files with 186 additions and 171 deletions

View file

@ -3191,7 +3191,7 @@ export class ProfileController extends Controller {
};
const orgRoot = await this.orgRootRepo.findOne({
select: { id: true, isDeputy: true },
where: {
where: {
id: Not(posMaster.orgRootId ?? ""),
isDeputy: true,
orgRevision: { orgRevisionIsCurrent: true, orgRevisionIsDraft: false },
@ -11193,7 +11193,8 @@ export class ProfileController extends Controller {
].filter(Boolean);
organizeName = names.join(" ");
}
await PostRetireToExprofile(
PostRetireToExprofile(
request,
profile.citizenId ?? "",
profile.prefix ?? "",
profile.firstName ?? "",