Bug 8955 [Follow-up] Self checkout should degrade gracefully w/o JavaScript
authorOwen Leonard <oleonard@myacpl.org>
Tue, 6 Nov 2012 16:14:44 +0000 (11:14 -0500)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 22 Dec 2012 21:33:12 +0000 (16:33 -0500)
commite7cfb39a66dfc9f5af619ecd78bb757dfe4dec4e
tree264a14039675498e5b619f1bbfc6efde6743f8c0
parente1c621c23098c6d7562dbebf905ff3672d49e04e
Bug 8955 [Follow-up] Self checkout should degrade gracefully w/o JavaScript

This follow-up fixes some instance of unnecessary JavaScript
which I missed the first time around: The renew and check-in
buttons on the list of checkouts. The functionality can be
easily accomplished without JS.

Also corrected:

- Capitalization error
- Miss-named variable causing the "too many checkouts" not
  to be displayed
- Misplaced [% END %] tags hidding "Return to account" button
  on some dialogs.
- Corrected variable scope error which prevented the "return"
  button from appearing.

To test, log into self checkout using an account which has
checkouts. Testing renewing items both by scanning barcodes
and by clicking the "renew" button in the list of checkouts.

Renew something until it reaches its limit and test checking
it out by scanning the barcode. Test the "check in" button.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt