Bug 18335 - Check in: Make patron info in hold messages obey syspref AddressFormat
authorMarc Véron <veron@veron.ch>
Sun, 26 Mar 2017 15:26:22 +0000 (17:26 +0200)
committerMason James <mtj@kohaaloha.com>
Sun, 30 Apr 2017 11:19:59 +0000 (23:19 +1200)
commit318f62227169215d8e6c1fcb4171025df1c87e3a
tree06494d18cd8aafafa9afc4bde5d5c155c9dc351a
parente7ee2fd59f39f6092cb2420c8fed25df096e1529
Bug 18335 - Check in: Make patron info in hold messages obey syspref AddressFormat

When checking in, information about patrons with a hold always display
in an US style. Address information should opey the system preference
AddressFormat

To reproduce:
- Set syspref AddressFormat to German style
- Check out an item to a patron A
- Put a hold on this item for patron B
- Check in item using the Check in field in page header
- Result: In message 'Hold found', address does not display in German
  style

To test:
- Apply patch
- Repeat steps above
- Verify that address displays as expected

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Mason James <mtj@kohaaloha.com>
circ/returns.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt