Merge branch 'develop' of github.com:Frappet/bma-ehr-organization into develop

This commit is contained in:
kittapath 2024-11-07 10:52:01 +07:00
commit 19c332af57
2 changed files with 2 additions and 0 deletions

View file

@ -3952,6 +3952,7 @@ export class ProfileController extends Controller {
position: `%${requestBody.position}%`,
},
)
.andWhere("profile.isLeave IS FALSE")
.andWhere(
new Brackets((qb) => {
qb.where(

View file

@ -1681,6 +1681,7 @@ export class ProfileEmployeeController extends Controller {
position: `%${requestBody.position}%`,
},
)
.andWhere("profileEmployee.isLeave IS FALSE")
.andWhere(
new Brackets((qb) => {
qb.where(