Bug 12448: Follow-up: Only ask confirmation when rental charge > 0

To test:
- Check out an item with no rental charge
- Verify no confirmation message appears
- Check out an item with rental charge
- Verify rental charge shows

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Katrin Fischer 2014-08-15 21:35:45 +02:00 committed by Tomas Cohen Arazi
parent 1aab0ff3e3
commit 4824ddba41

View file

@ -184,7 +184,7 @@ $(document).ready(function() {
<li>The patron has a debt of [% DEBT %].</li>
[% END %]
[% IF ( RENTALCHARGE ) %]
[% IF ( RENTALCHARGE > 0 ) %]
<li>Rental charge for this item: [% RENTALCHARGE %]</li>
[% END %]