Bug 22054: Updated the error message for attempting to renew an onsite checkout
To test: 1) Enable OnSiteCheckouts system preference 2) Checkout an item checking the onsite checkout checkbos in more options 3) Go to circulation > pending on-site checkouts 4) Verify the checkout shows 5) Go to circulation > renew 6) Try to renew the on-site checkout using the barcode 7) Verify display: onsite_checkout Continue without renewing 8) apply the patch and reload page with error message 9) verify display: Item cannot be renewed because it's an onsite checkout Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> (cherry picked from commit4eab830835) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commit3dd7d9dfad) Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com>
This commit is contained in:
parent
d822288763
commit
c0b2ad7da5
|
|
@ -117,6 +117,9 @@
|
|||
|
||||
<p>[% borrower.firstname %] [% borrower.surname %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]"> [% borrower.cardnumber %] </a> ) is currently restricted.</p>
|
||||
|
||||
[% ELSIF error == "onsite_checkout" %]
|
||||
<p>Item cannot be renewed because it's an onsite checkout</p>
|
||||
|
||||
[% ELSE %]
|
||||
|
||||
[% error %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue