Bug 10760: Alternate Address: Make street number and street type editable
authorMarc Véron <veron@veron.ch>
Tue, 14 Jun 2016 08:14:29 +0000 (10:14 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 8 Jul 2016 13:45:41 +0000 (13:45 +0000)
commit3e576f65b2dff4616d8b57d8f31dea1a3a402ffc
treef08f99c3dd2da258a58e18f66211612167916210
parentdf57c8e864aefe0e90b49aa15fc95b6dcaafda7b
Bug 10760: Alternate Address: Make street number and street type editable

Table 'borrowers' contain columns B_streetnumber and B_streettype.
This patch makes them editable for alternate address.

To test:
- Apply patch
- Edit a patron's details
- Verify that in edit mode for Alternate address, the fields 'street type' and 'street number' appear
  and follow the settings in sysprefs AddressFormat, BorrowerMandatoryField, BorrowerUnwantedField
- Verify that the values are saved correctly.

Note: A second patch will follow to manage the display of street number and street type
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-de.inc
koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-us.inc