Bug 22054: Updated the error message for attempting to renew an onsite checkout
authorhelene hickey <hickeyhe@wgc.school.nz>
Tue, 15 Jan 2019 03:47:58 +0000 (03:47 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 17 Jan 2019 02:23:27 +0000 (02:23 +0000)
commit4eab8308353948c81d9a05978584073354cb43e5
treeca51e21da1399d3bdd13619e197b47b75cf575b9
parentdc8e663c9eeb54ebd26ecf9c7d5ef7c953db283c
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>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt