update
This commit is contained in:
parent
85377ca291
commit
aaaeb6cc00
1 changed files with 9 additions and 1 deletions
|
|
@ -2765,6 +2765,7 @@ export class SalaryPeriodController extends Controller {
|
|||
salaryProfileNew.amountUse = salaryOld == null ? 0 : salaryOld.amountUse;
|
||||
salaryProfileNew.positionSalaryAmount =
|
||||
salaryOld == null ? 0 : salaryOld.positionSalaryAmount;
|
||||
salaryProfileNew.remark = salaryOld == null ? null : salaryOld.remark;
|
||||
salaryProfileNew.isNext = salaryOld == null ? false : salaryOld.isNext;
|
||||
salaryProfileNew.isSpecial = salaryOld == null ? false : salaryOld.isSpecial;
|
||||
salaryProfileNew.isReserve = salaryOld == null ? false : salaryOld.isReserve;
|
||||
|
|
@ -2834,6 +2835,11 @@ export class SalaryPeriodController extends Controller {
|
|||
salaryProfileNew.amountUse = salaryOld == null ? 0 : salaryOld.amountUse;
|
||||
salaryProfileNew.positionSalaryAmount =
|
||||
salaryOld == null ? 0 : salaryOld.positionSalaryAmount;
|
||||
salaryProfileNew.positionSalaryDayAmount =
|
||||
salaryOld == null ? 0 : salaryOld.positionSalaryDayAmount;
|
||||
salaryProfileNew.positionSalaryAmountPer =
|
||||
salaryOld == null ? 0 : salaryOld.positionSalaryAmountPer;
|
||||
salaryProfileNew.remark = salaryOld == null ? null : salaryOld.remark;
|
||||
salaryProfileNew.isNext = salaryOld == null ? false : salaryOld.isNext;
|
||||
salaryProfileNew.isSpecial = salaryOld == null ? false : salaryOld.isSpecial;
|
||||
salaryProfileNew.isReserve = salaryOld == null ? false : salaryOld.isReserve;
|
||||
|
|
@ -3083,7 +3089,9 @@ export class SalaryPeriodController extends Controller {
|
|||
}),
|
||||
);
|
||||
}
|
||||
|
||||
console.log(
|
||||
`✅✅✅ [SNAPSHOT:${snapshot} เสร็จสิ้น]) ✅✅✅`,
|
||||
);
|
||||
return new HttpSuccess();
|
||||
} catch (err) {
|
||||
console.error(`❌ error processing employee:`, err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue