Bug 16854: request.tt: Logic to display messages broken
authorMarc Véron <veron@veron.ch>
Mon, 4 Jul 2016 01:48:40 +0000 (03:48 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 8 Jul 2016 12:52:51 +0000 (12:52 +0000)
commit44092cbafd1641ef865497183b8368db83bb62a7
treea9901891fdd79388b7059acd1a8ca8eda46528d0
parent7c89f78f3bef1cdebb51dcb41fdda7a8dc252b94
Bug 16854: request.tt: Logic to display messages broken

This patch fixes broken logic in
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt

To verify, see initial comment.

To test:
- Apply patch
- Have a patron with a restricion and with outstanding fines
  greater than defined in syspref 'maxoutstanding'
- Place a hold for this patron and verify, that messages
  'Patron has restrictions' and 'Patron has outstanding fines...'
  appear

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt