Merge branch 'develop' into adiDev

This commit is contained in:
AdisakKanthawilang 2025-01-10 13:57:08 +07:00
commit bd1d275d9c

View file

@ -6890,12 +6890,13 @@ export class ReportController extends Controller {
qb.orWhere({ qb.orWhere({
salaryOrgId: In(salaryOrgs.map((x) => x.id)), salaryOrgId: In(salaryOrgs.map((x) => x.id)),
amountSpecial: MoreThan(0), amountSpecial: MoreThan(0),
type: Not("NONE"),
status: "PENDING", status: "PENDING",
}).orWhere({ })/*.orWhere({
salaryOrgId: In(salaryOrgs.map((x) => x.id)), salaryOrgId: In(salaryOrgs.map((x) => x.id)),
type: "NONE", type: "NONE",
status: "PENDING", status: "PENDING",
}); });*/
}), }),
) )
.andWhere( .andWhere(