แก้snapshot
This commit is contained in:
parent
2d68472500
commit
80daf64940
2 changed files with 14 additions and 3 deletions
|
|
@ -294,6 +294,7 @@ export class SalaryPeriodEmployeeController extends Controller {
|
|||
where: {
|
||||
id: _salaryProfile.salaryOrg.id,
|
||||
},
|
||||
relations: { salaryProfiles: true },
|
||||
});
|
||||
if (salaryOrg != null) {
|
||||
const totalProfile = Extension.sumObjectValues(salaryOrg.salaryProfiles, "amount");
|
||||
|
|
@ -742,6 +743,7 @@ export class SalaryPeriodEmployeeController extends Controller {
|
|||
where: {
|
||||
id: _salaryProfile.salaryOrg.id,
|
||||
},
|
||||
relations: { salaryProfiles: true },
|
||||
});
|
||||
if (salaryOrg != null) {
|
||||
const totalProfile = Extension.sumObjectValues(salaryOrg.salaryProfiles, "amount");
|
||||
|
|
@ -860,6 +862,7 @@ export class SalaryPeriodEmployeeController extends Controller {
|
|||
where: {
|
||||
id: _salaryProfile.salaryOrg.id,
|
||||
},
|
||||
relations: { salaryProfiles: true },
|
||||
});
|
||||
if (salaryOrg != null) {
|
||||
const totalProfile = Extension.sumObjectValues(salaryOrg.salaryProfiles, "amount");
|
||||
|
|
@ -1342,6 +1345,7 @@ export class SalaryPeriodEmployeeController extends Controller {
|
|||
where: {
|
||||
id: _salaryProfile.salaryOrg.id,
|
||||
},
|
||||
relations: { salaryProfiles: true },
|
||||
});
|
||||
if (salaryOrg != null) {
|
||||
const totalProfile = Extension.sumObjectValues(salaryOrg.salaryProfiles, "amount");
|
||||
|
|
@ -1995,6 +1999,7 @@ export class SalaryPeriodEmployeeController extends Controller {
|
|||
where: {
|
||||
id: _salaryProfile.salaryOrg.id,
|
||||
},
|
||||
relations: { salaryProfiles: true },
|
||||
});
|
||||
if (salaryOrg != null) {
|
||||
const totalProfile = Extension.sumObjectValues(salaryOrg.salaryProfiles, "amount");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue