เพิ่มฟิว isretire
This commit is contained in:
parent
77b8ef8a7d
commit
8358ed8773
3 changed files with 37 additions and 9 deletions
|
|
@ -121,10 +121,14 @@ export class SalaryPeriodController extends Controller {
|
|||
const data = {
|
||||
total: salaryOrg.total,
|
||||
fifteenPercent: salaryOrg.fifteenPercent,
|
||||
chosen: salaryOrg.salaryProfiles.filter((x) => x.posType == "FULL").length,
|
||||
remaining:
|
||||
salaryOrg.fifteenPercent -
|
||||
salaryOrg.salaryProfiles.filter((x) => x.posType == "FULL").length,
|
||||
chosen: salaryOrg.quantityUsed,
|
||||
remaining: salaryOrg.remainQuota,
|
||||
currentAmount: salaryOrg.currentAmount,
|
||||
sixPercentAmount: salaryOrg.sixPercentAmount,
|
||||
spentAmount: salaryOrg.spentAmount,
|
||||
sixPercentSpentAmount: salaryOrg.sixPercentAmount - salaryOrg.spentAmount,
|
||||
useAmount: salaryOrg.useAmount,
|
||||
remainingAmount: salaryOrg.remainingAmount,
|
||||
};
|
||||
return new HttpSuccess(data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue