no message

This commit is contained in:
Kittapath 2024-05-23 14:10:50 +07:00
parent bda7c1328f
commit 689d48aadc

View file

@ -148,7 +148,7 @@ export class ProfileController extends Controller {
DateRetire: profile.dateRetire,
RegistrationAddress: `${profile.registrationAddress}\r\nตำบล/แขวง ${province?.name}\r\nเขต/อำเภอ ${district?.name}\r\nจังหวัด ${subDistrict?.name} รหัสไปรษณีย์ ${profile.registrationZipCode}`,
SalaryAmount: profile.profileSalary.length > 0
? profile.profileSalary[0].amount
? profile.profileSalary[0].amount.toString()
: null,
Education: profile.profileEducations.length > 0
? profile.profileEducations[profile.profileEducations.length-1].institute