Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Last address field could be country...
09-19-2012, 06:44 PM,
#13
RE: Last address field could be country...
You are right ... the 2 char abbreviation is really not necessary it should be removed from the array (just use the ordinal index)

Code:
$CountriesArray[] = _('Andorra');
$CountriesArray[] = _('United Arab Emirates');
$CountriesArray[] = _('Afghanistan');
$CountriesArray[] = _('Antigua & Barbuda');
.
.
.

and store the text of the country as we always have - the language should be the language of the business as it is stored in the db.

Well I think the labeling of the address fields are slightly different as they are part of the user interface - if they are stored in the db then they will not change when the user changes their language.... this is not ideal IMEO :-)

Maybe just hard code 'em in the way that suits the do'er of the do'ocracy - a business that wishes to work another way can modify them very easily as the code is so easy to read :-)
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply


Messages In This Thread
RE: Last address field could be country... - by phil - 09-19-2012, 06:44 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)