diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index c0873efc..2c70bf6b 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -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