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
|
const fullCurrentAddress = profiles && profiles.currentAddress
|
||||||
? Extension.ToThaiNumber(
|
? Extension.ToThaiNumber(
|
||||||
profiles.currentAddress +
|
profiles.currentAddress +
|
||||||
" ตำบล/แขวง " +
|
(profiles.currentSubDistrict && profiles.currentSubDistrict.name
|
||||||
profiles.currentSubDistrict.name +
|
? " ตำบล/แขวง " + profiles.currentSubDistrict.name : "") +
|
||||||
" อำเภอ/เขต " +
|
(profiles.currentDistrict && profiles.currentDistrict.name
|
||||||
profiles.currentDistrict.name +
|
? " อำเภอ/เขต " + profiles.currentDistrict.name : "") +
|
||||||
" จังหวัด " +
|
(profiles.currentProvince && profiles.currentProvince.name
|
||||||
profiles.currentProvince.name +
|
? " จังหวัด " + profiles.currentProvince.name : "") +
|
||||||
profiles.currentZipCode,
|
profiles.currentZipCode,
|
||||||
)
|
)
|
||||||
: "";
|
: "";
|
||||||
const fullRegistrationAddress = profiles && profiles.registrationAddress
|
const fullRegistrationAddress = profiles && profiles.registrationAddress
|
||||||
? Extension.ToThaiNumber(
|
? Extension.ToThaiNumber(
|
||||||
profiles.registrationAddress +
|
profiles.registrationAddress +
|
||||||
" ตำบล/แขวง " +
|
(profiles.registrationSubDistrict && profiles.registrationSubDistrict.name
|
||||||
profiles.registrationSubDistrict.name +
|
? " ตำบล/แขวง " + profiles.registrationSubDistrict.name : "") +
|
||||||
" อำเภอ/เขต " +
|
(profiles.registrationDistrict && profiles.registrationDistrict.name
|
||||||
profiles.registrationDistrict.name +
|
? " อำเภอ/เขต " + profiles.registrationDistrict.name : "") +
|
||||||
" จังหวัด " +
|
(profiles.registrationProvince && profiles.registrationProvince.name
|
||||||
profiles.registrationProvince.name +
|
? " จังหวัด " + profiles.registrationProvince.name : "") +
|
||||||
profiles.registrationZipCode,
|
profiles.registrationZipCode,
|
||||||
)
|
)
|
||||||
: "";
|
: "";
|
||||||
const data = {
|
const data = {
|
||||||
|
|
|
||||||
|
|
@ -1613,12 +1613,12 @@ export class ProfileEmployeeController extends Controller {
|
||||||
profiles && profiles.currentAddress
|
profiles && profiles.currentAddress
|
||||||
? Extension.ToThaiNumber(
|
? Extension.ToThaiNumber(
|
||||||
profiles.currentAddress +
|
profiles.currentAddress +
|
||||||
" ตำบล/แขวง " +
|
(profiles.currentSubDistrict && profiles.currentSubDistrict.name
|
||||||
profiles.currentSubDistrict.name +
|
? " ตำบล/แขวง " + profiles.currentSubDistrict.name : "") +
|
||||||
" อำเภอ/เขต " +
|
(profiles.currentDistrict && profiles.currentDistrict.name
|
||||||
profiles.currentDistrict.name +
|
? " อำเภอ/เขต " + profiles.currentDistrict.name : "") +
|
||||||
" จังหวัด " +
|
(profiles.currentProvince && profiles.currentProvince.name
|
||||||
profiles.currentProvince.name +
|
? " จังหวัด " + profiles.currentProvince.name : "") +
|
||||||
profiles.currentZipCode,
|
profiles.currentZipCode,
|
||||||
)
|
)
|
||||||
: "";
|
: "";
|
||||||
|
|
@ -1626,12 +1626,12 @@ export class ProfileEmployeeController extends Controller {
|
||||||
profiles && profiles.registrationAddress
|
profiles && profiles.registrationAddress
|
||||||
? Extension.ToThaiNumber(
|
? Extension.ToThaiNumber(
|
||||||
profiles.registrationAddress +
|
profiles.registrationAddress +
|
||||||
" ตำบล/แขวง " +
|
(profiles.registrationSubDistrict && profiles.registrationSubDistrict.name
|
||||||
profiles.registrationSubDistrict.name +
|
? " ตำบล/แขวง " + profiles.registrationSubDistrict.name : "") +
|
||||||
" อำเภอ/เขต " +
|
(profiles.registrationDistrict && profiles.registrationDistrict.name
|
||||||
profiles.registrationDistrict.name +
|
? " อำเภอ/เขต " + profiles.registrationDistrict.name : "") +
|
||||||
" จังหวัด " +
|
(profiles.registrationProvince && profiles.registrationProvince.name
|
||||||
profiles.registrationProvince.name +
|
? " จังหวัด " + profiles.registrationProvince.name : "") +
|
||||||
profiles.registrationZipCode,
|
profiles.registrationZipCode,
|
||||||
)
|
)
|
||||||
: "";
|
: "";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue