edit profie salary
This commit is contained in:
parent
1e5ca06ffe
commit
d458240b2b
2 changed files with 8 additions and 16 deletions
|
|
@ -316,17 +316,13 @@ export class ProfileEmployeeController extends Controller {
|
||||||
? Extension.ToThaiNumber(Extension.ToThaiShortDate_monthYear(profile.dateRetire))
|
? Extension.ToThaiNumber(Extension.ToThaiShortDate_monthYear(profile.dateRetire))
|
||||||
: "",
|
: "",
|
||||||
salaryAmount:
|
salaryAmount:
|
||||||
profile.profileSalary.length > 0 && profile.profileSalary[0].amount != null
|
profile.amount != null ? Extension.ToThaiNumber(profile.amount.toLocaleString()) : "",
|
||||||
? Extension.ToThaiNumber(profile.profileSalary[0].amount.toLocaleString())
|
|
||||||
: "",
|
|
||||||
registrationAddress: Extension.ToThaiNumber(
|
registrationAddress: Extension.ToThaiNumber(
|
||||||
`${_regisAddres}${_subDistrict}${_district}${_province}${registrationZipCode}`,
|
`${_regisAddres}${_subDistrict}${_district}${_province}${registrationZipCode}`,
|
||||||
),
|
),
|
||||||
salaryDate:
|
date:
|
||||||
profile.profileSalary.length > 0 && profile.profileSalary[0].date != null
|
salary_raw.length > 0 && salary_raw[0].date != null
|
||||||
? Extension.ToThaiNumber(
|
? Extension.ToThaiNumber(Extension.ToThaiShortDate(salary_raw[0].date))
|
||||||
Extension.ToThaiShortDate_monthYear(profile.profileSalary[0].date),
|
|
||||||
)
|
|
||||||
: "",
|
: "",
|
||||||
positionName: profile.position != null ? profile.position : "",
|
positionName: profile.position != null ? profile.position : "",
|
||||||
appointText:
|
appointText:
|
||||||
|
|
|
||||||
|
|
@ -311,17 +311,13 @@ export class ProfileEmployeeTempController extends Controller {
|
||||||
? Extension.ToThaiNumber(Extension.ToThaiShortDate_monthYear(profile.dateRetire))
|
? Extension.ToThaiNumber(Extension.ToThaiShortDate_monthYear(profile.dateRetire))
|
||||||
: "",
|
: "",
|
||||||
salaryAmount:
|
salaryAmount:
|
||||||
profile.profileSalary.length > 0 && profile.profileSalary[0].amount != null
|
profile.amount != null ? Extension.ToThaiNumber(profile.amount.toLocaleString()) : "",
|
||||||
? Extension.ToThaiNumber(profile.profileSalary[0].amount.toLocaleString())
|
|
||||||
: "",
|
|
||||||
registrationAddress: Extension.ToThaiNumber(
|
registrationAddress: Extension.ToThaiNumber(
|
||||||
`${_regisAddres}${_subDistrict}${_district}${_province}${registrationZipCode}`,
|
`${_regisAddres}${_subDistrict}${_district}${_province}${registrationZipCode}`,
|
||||||
),
|
),
|
||||||
salaryDate:
|
date:
|
||||||
profile.profileSalary.length > 0 && profile.profileSalary[0].date != null
|
salary_raw.length > 0 && salary_raw[0].date != null
|
||||||
? Extension.ToThaiNumber(
|
? Extension.ToThaiNumber(Extension.ToThaiShortDate(salary_raw[0].date))
|
||||||
Extension.ToThaiShortDate_monthYear(profile.profileSalary[0].date),
|
|
||||||
)
|
|
||||||
: "",
|
: "",
|
||||||
positionName: profile.position != null ? profile.position : "",
|
positionName: profile.position != null ? profile.position : "",
|
||||||
appointText:
|
appointText:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue