]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1551447 Selfcheck: Printing Fines Prints All Open Transactions
authorTerran McCanna <tmccanna@georgialibraries.org>
Tue, 1 Mar 2016 22:35:28 +0000 (17:35 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 14 Mar 2016 21:01:53 +0000 (17:01 -0400)
commitc658bd0d5dd7ae5855d1c140b1c770551217b707
tree09b8dad57e5ddeec62f5cb892aa20b5d10d668a0
parent61cb8e54e3161a3bc2d78afe8e86a16bb09eed8c
LP#1551447 Selfcheck: Printing Fines Prints All Open Transactions

This corrects the behavior of the selfcheck fines receipt print template.
Prior to this, it printed all open billable transactions (eg, every item
that the patron had checked out) regardless of whether or not it had bills
associated with it. This adds a small bit of logic to the template to
check for a balance due. It also updates the javascript to check for a
balance on the account before launching the print function to prevent the
system from taking unnecessary action.

This includes a SQL upgrade script to update the Self-Checked Fines
Receipt template for systems that are already in production, as well as
including an update to the seed data.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.selfcheck_fines_printing.sql [new file with mode: 0644]
Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js
docs/RELEASE_NOTES_NEXT/Circulation/selfcheck_printing_fines.adoc [new file with mode: 0644]