Bug 10362: ensure that all messages and alerts are shown upon checkin
authorFridolyn SOMERS <fridolyn.somers@biblibre.com>
Tue, 28 May 2013 13:43:05 +0000 (15:43 +0200)
committerChris Hall <followingthepath@gmail.com>
Sun, 20 Oct 2013 06:52:20 +0000 (19:52 +1300)
commit729cd95fc5baebdb7f3578e8ffabdfe06a5deb67
tree239f6c410b35e3cbad111c5673e5f7f7081a4e57
parent291ce17fa8af1137ba577f860d026fd608a3233c
Bug 10362: ensure that all messages and alerts are shown upon checkin

If an item is returned and has mutiple error or warnings (e.g.,
it both needs to be transferred and the patron was debarred
in the course of the return), because of a bug in the template,
not all of the messages would be displayed.

This patch changes the template to show both messages and alerts.

Test plan :
- Perform an checkout that will a checkin :
  * need a transfert (return in a different branch)
  * set user debarred (depends on issuing rules)
- Perform check-in
=> You get tranfert message and debarment alert

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 5192fd81adaccf9b0f4a01dcc0ffc689edc9468f)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 8525d49e0601c85807235c007f712666c2abbceb)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit 8525d49e0601c85807235c007f712666c2abbceb)
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt