This commit is contained in:
AdisakKanthawilang 2025-08-14 15:36:16 +07:00
parent 16e331c6aa
commit a8d01c42d8

View file

@ -4102,8 +4102,10 @@ export class ReportController extends Controller {
" " + " " +
Extension.ToThaiNumber(profile.posMasterNo.toLocaleString()) Extension.ToThaiNumber(profile.posMasterNo.toLocaleString())
: "-", : "-",
amount: profile.positionSalaryAmount amount: profile.positionSalaryAmount && profile.positionSalaryAmount != 0
? Extension.ToThaiNumber(profile.positionSalaryAmount.toLocaleString()) ? Extension.ToThaiNumber(profile.positionSalaryAmount.toLocaleString())
: profile.amount && profile.amount != 0
? Extension.ToThaiNumber(profile.amount.toLocaleString())
: "-", : "-",
precentTwo: precentTwo:
profile.positionSalaryAmountPer == 0.02 profile.positionSalaryAmountPer == 0.02
@ -5611,7 +5613,9 @@ export class ReportController extends Controller {
fullName: fullName, fullName: fullName,
affiliation: affiliation, affiliation: affiliation,
position: profile.position, position: profile.position,
posLevel: profile.posLevel ? Extension.ToThaiNumber(profile.posLevel.toString()) : null, posLevel: profile.posLevel
? `${profile.posTypeShort} ${Extension.ToThaiNumber(profile.posLevel.toLocaleString())}`
: null,
posNumber: posNumber:
Extension.ToThaiNumber(profile.orgShortName) + Extension.ToThaiNumber(profile.orgShortName) +
" " + " " +
@ -6531,8 +6535,8 @@ export class ReportController extends Controller {
affiliation: affiliation, affiliation: affiliation,
position: position, position: position,
posLevel: profile.posLevel posLevel: profile.posLevel
? Extension.ToThaiNumber(profile.posLevel.toLocaleString()) ? `${profile.posTypeShort} ${Extension.ToThaiNumber(profile.posLevel.toLocaleString())}`
: "-", : "-",
posNumber: posNumber:
Extension.ToThaiNumber(profile.orgShortName) + Extension.ToThaiNumber(profile.orgShortName) +
" " + " " +