Bug 8361 (QA Followup) Add warnings

- Added message to circulation.tt to warn if rule undefined for
patron/itemtype combination

To test:
1 - Remove all circ rules
2 - Add one rule
3 - Checkout to patron an itemtype that is outside of rule
defined above
4 - Note explanation that no rule is defined

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 63f7cbc777)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
(cherry picked from commit 9b23c35086)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
This commit is contained in:
Nick Clemens 2017-01-13 18:06:34 +00:00 committed by Julian Maurice
parent 809b0a28b7
commit 91120fee8c
1 changed files with 5 additions and 1 deletions

View File

@ -269,7 +269,11 @@ $(document).ready(function() {
[% END %]
[% IF ( PATRON_CANT ) %]
<li>This patron can't check out this item per library circulation policy</li>
<li>This patron can't check out this item per library circulation policy.</li>
[% END %]
[% IF ( TOO_MANY and TOO_MANY == 'NO_RULE_DEFINED' ) %]
<li>No circulation rule is defined for this patron and itemtype combination.</li>
[% END %]
[% IF ( NOT_FOR_LOAN_FORCING ) %]