diff --git a/src/controllers/ReportController.ts b/src/controllers/ReportController.ts index d479831..c661fe3 100644 --- a/src/controllers/ReportController.ts +++ b/src/controllers/ReportController.ts @@ -3955,15 +3955,11 @@ export class ReportController extends Controller { : "-", precentTwo: profile.positionSalaryAmountPer == 0.02 - ? Extension.ToThaiNumber( - (profile.positionSalaryAmount * profile.positionSalaryAmountPer).toLocaleString(), - ) + ? Extension.ToThaiNumber(profile.amountSpecial.toLocaleString()) : "-", //ร้อยละ 2 precentFour: profile.positionSalaryAmountPer == 0.04 - ? Extension.ToThaiNumber( - (profile.positionSalaryAmount * profile.positionSalaryAmountPer).toLocaleString(), - ) + ? Extension.ToThaiNumber(profile.amountSpecial.toLocaleString()) : "-", //ร้อยละ 4 reason: null, // หมายเหตุ };