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)
committerJulian Maurice <julian.maurice@biblibre.com>
Tue, 16 Aug 2016 14:39:36 +0000 (16:39 +0200)
commit60f621f7e3f9a6c8f27eba0e66c2023fb92bd5dc
tree299a00802cc329e8e77769f90b7d4a9208306978
parentf23d07ee3b7a8da5bdfb526757fd0a9e29e165e9
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>
(cherry picked from commit e9840ac7956c4a8028575daab41303bc34457e0a)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt