fix dowload report kk1 error
This commit is contained in:
parent
a0c4c8a27c
commit
fff980c513
2 changed files with 26 additions and 26 deletions
|
|
@ -1613,25 +1613,25 @@ export class ProfileController extends Controller {
|
|||
const fullCurrentAddress = profiles && profiles.currentAddress
|
||||
? Extension.ToThaiNumber(
|
||||
profiles.currentAddress +
|
||||
" ตำบล/แขวง " +
|
||||
profiles.currentSubDistrict.name +
|
||||
" อำเภอ/เขต " +
|
||||
profiles.currentDistrict.name +
|
||||
" จังหวัด " +
|
||||
profiles.currentProvince.name +
|
||||
profiles.currentZipCode,
|
||||
(profiles.currentSubDistrict && profiles.currentSubDistrict.name
|
||||
? " ตำบล/แขวง " + profiles.currentSubDistrict.name : "") +
|
||||
(profiles.currentDistrict && profiles.currentDistrict.name
|
||||
? " อำเภอ/เขต " + profiles.currentDistrict.name : "") +
|
||||
(profiles.currentProvince && profiles.currentProvince.name
|
||||
? " จังหวัด " + profiles.currentProvince.name : "") +
|
||||
profiles.currentZipCode,
|
||||
)
|
||||
: "";
|
||||
const fullRegistrationAddress = profiles && profiles.registrationAddress
|
||||
? Extension.ToThaiNumber(
|
||||
profiles.registrationAddress +
|
||||
" ตำบล/แขวง " +
|
||||
profiles.registrationSubDistrict.name +
|
||||
" อำเภอ/เขต " +
|
||||
profiles.registrationDistrict.name +
|
||||
" จังหวัด " +
|
||||
profiles.registrationProvince.name +
|
||||
profiles.registrationZipCode,
|
||||
(profiles.registrationSubDistrict && profiles.registrationSubDistrict.name
|
||||
? " ตำบล/แขวง " + profiles.registrationSubDistrict.name : "") +
|
||||
(profiles.registrationDistrict && profiles.registrationDistrict.name
|
||||
? " อำเภอ/เขต " + profiles.registrationDistrict.name : "") +
|
||||
(profiles.registrationProvince && profiles.registrationProvince.name
|
||||
? " จังหวัด " + profiles.registrationProvince.name : "") +
|
||||
profiles.registrationZipCode,
|
||||
)
|
||||
: "";
|
||||
const data = {
|
||||
|
|
|
|||
|
|
@ -1613,12 +1613,12 @@ export class ProfileEmployeeController extends Controller {
|
|||
profiles && profiles.currentAddress
|
||||
? Extension.ToThaiNumber(
|
||||
profiles.currentAddress +
|
||||
" ตำบล/แขวง " +
|
||||
profiles.currentSubDistrict.name +
|
||||
" อำเภอ/เขต " +
|
||||
profiles.currentDistrict.name +
|
||||
" จังหวัด " +
|
||||
profiles.currentProvince.name +
|
||||
(profiles.currentSubDistrict && profiles.currentSubDistrict.name
|
||||
? " ตำบล/แขวง " + profiles.currentSubDistrict.name : "") +
|
||||
(profiles.currentDistrict && profiles.currentDistrict.name
|
||||
? " อำเภอ/เขต " + profiles.currentDistrict.name : "") +
|
||||
(profiles.currentProvince && profiles.currentProvince.name
|
||||
? " จังหวัด " + profiles.currentProvince.name : "") +
|
||||
profiles.currentZipCode,
|
||||
)
|
||||
: "";
|
||||
|
|
@ -1626,12 +1626,12 @@ export class ProfileEmployeeController extends Controller {
|
|||
profiles && profiles.registrationAddress
|
||||
? Extension.ToThaiNumber(
|
||||
profiles.registrationAddress +
|
||||
" ตำบล/แขวง " +
|
||||
profiles.registrationSubDistrict.name +
|
||||
" อำเภอ/เขต " +
|
||||
profiles.registrationDistrict.name +
|
||||
" จังหวัด " +
|
||||
profiles.registrationProvince.name +
|
||||
(profiles.registrationSubDistrict && profiles.registrationSubDistrict.name
|
||||
? " ตำบล/แขวง " + profiles.registrationSubDistrict.name : "") +
|
||||
(profiles.registrationDistrict && profiles.registrationDistrict.name
|
||||
? " อำเภอ/เขต " + profiles.registrationDistrict.name : "") +
|
||||
(profiles.registrationProvince && profiles.registrationProvince.name
|
||||
? " จังหวัด " + profiles.registrationProvince.name : "") +
|
||||
profiles.registrationZipCode,
|
||||
)
|
||||
: "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue