แก้บัคเงินเดือน

This commit is contained in:
Kittapath 2024-05-21 13:06:48 +07:00
parent 0467013f14
commit 36155a1a1c
2 changed files with 11 additions and 1 deletions

View file

@ -271,6 +271,7 @@ export class SalaryPeriodEmployeeController extends Controller {
where: {
id: _salaryProfile.salaryOrg.id,
},
relations: { salaryProfiles: true },
});
if (salaryOrg != null) {
const amountFullType = await this.salaryProfileRepository.count({
@ -720,6 +721,7 @@ export class SalaryPeriodEmployeeController extends Controller {
where: {
id: _salaryProfile.salaryOrg.id,
},
relations: { salaryProfiles: true },
});
if (salaryOrg != null) {
const amountFullType = await this.salaryProfileRepository.count({
@ -839,6 +841,7 @@ export class SalaryPeriodEmployeeController extends Controller {
where: {
id: _salaryProfile.salaryOrg.id,
},
relations: { salaryProfiles: true },
});
if (salaryOrg != null) {
const amountFullType = await this.salaryProfileRepository.count({
@ -1322,6 +1325,7 @@ export class SalaryPeriodEmployeeController extends Controller {
where: {
id: _salaryProfile.salaryOrg.id,
},
relations: { salaryProfiles: true },
});
if (salaryOrg != null) {
const amountFullType = await this.salaryProfileRepository.count({
@ -1976,6 +1980,7 @@ export class SalaryPeriodEmployeeController extends Controller {
where: {
id: _salaryProfile.salaryOrg.id,
},
relations: { salaryProfiles: true },
});
if (salaryOrg != null) {
const amountFullType = await this.salaryProfileRepository.count({