This commit is contained in:
AdisakKanthawilang 2024-03-05 10:22:40 +07:00
parent a76bdbacba
commit 55ec0d5e93

View file

@ -417,7 +417,7 @@ export class SalaryPeriodController extends Controller {
const checkPreviousType = await this.salaryProfileRepository.findOne({
relations: ["salaryOrg", "salaryOrg.salaryPeriod"],
where: {
id: body.profileId,
citizenId: salaryProfile?.citizenId,
salaryOrg: {
salaryPeriod: {
period: "APR",