Merge branch 'adiDev' into develop

This commit is contained in:
AdisakKanthawilang 2025-05-06 11:57:45 +07:00
commit 1a59a7078f

View file

@ -133,7 +133,10 @@ export class ProfileLeaveController extends Controller {
await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_OFFICER", profileId);
const record = await this.leaveRepo.find({
relations: { leaveType: true },
where: { profileId: profileId, status: Not("cancel") },
where: {
profileId: profileId,
// status: Not("cancel")
},
order: { createdAt: "ASC" },
});
return new HttpSuccess(record);