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 5192fd81ad)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
309536b7d5
commit
8525d49e06
|
|
@ -313,7 +313,7 @@ $(document).ready(function () {
|
|||
</form>
|
||||
</div>
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
[% END %]
|
||||
|
||||
[% IF ( errmsgloop ) %]
|
||||
<div class="dialog alert">
|
||||
|
|
@ -360,7 +360,6 @@ $(document).ready(function () {
|
|||
[% END %]
|
||||
[% END %]
|
||||
</div>
|
||||
[% END %]
|
||||
|
||||
<div id="exemptfines" class="dialog message" style="display:none;">
|
||||
<p>Fines for returned items are forgiven.</p>
|
||||
|
|
|
|||
Loading…
Reference in New Issue