Bug 4041: Second Step: Add system preference and "German style" address formats for...
authorMarc Véron <veron@veron.ch>
Wed, 18 Feb 2015 16:23:57 +0000 (17:23 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 29 Apr 2015 14:25:21 +0000 (11:25 -0300)
commit462d4c0b9a54385cdb4be96c7ab70bf494ec3c7c
treea529d4ddc4d6e6b23385096553ff9f532a289881
parent117ee49514c369c089f1940e1f7ca47bd8208e97
Bug 4041: Second Step: Add system preference and "German style" address formats for staff

To test:

Apply patch
Do a database update (e.g. by changing version number in kohaversion.pl)
Find new system preference 'addressformat' in I18N/L10N
Choose 'German style'
Go to Patrons and edit a patron / create new patron
Verify that Zip code appears above City
Change system preference to 'US style'
Verify that Zip code appears between State and Country.

BTW: New formats can be added by editing i18n_l10n.pref (add a new code, e.g. fr for "French style") and copy / modify the includes using the same code as postfix.
Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Patch amended to move street number after address. /Marc

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Amended do resolve conflict with updatedatabase.pl  /Marc
Rebased for current master /Marc

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-de.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-de.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-de.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt