migrate & fix

This commit is contained in:
Bright 2025-02-20 12:12:04 +07:00
parent eed60319e4
commit fc397ed22d
5 changed files with 423 additions and 3 deletions

View file

@ -551,6 +551,7 @@ export class ReportController extends Controller {
isProbation: isProbation,
})
.andWhere(IsLeavecondition.join(" AND "), parameters)
.andWhere("registryEmployee.employeeClass = 'PERM'")
.andWhere(
new Brackets((qb) => {
qb.orWhere(