Bug 16854: request.tt: Logic to display messages broken
commite9840ac7956c4a8028575daab41303bc34457e0a
authorMarc Véron <veron@veron.ch>
Mon, 4 Jul 2016 01:48:40 +0000 (4 03:48 +0200)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 1 Aug 2016 08:39:40 +0000 (1 10:39 +0200)
tree1fd53f1c15fa1c38eeb4039f0b20cfc15ea5f9e8
parente0b29cea2ac3f32a8e1322ab680a0bcb513725a8
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>
(cherry picked from commit 44092cbafd1641ef865497183b8368db83bb62a7)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt