]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1708488: adjust how patron financial summary is exposed to checkout receipts
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 7 Nov 2017 18:41:55 +0000 (13:41 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 9 Nov 2017 16:24:14 +0000 (11:24 -0500)
commit1ac9976fa102b2505e18bbeb4e999e4aab5be5ef
treecb5eef5de656652c633fc27cc7bd567bd8176c35
parentd6e3f5ffa59106c84ed86565c11b9c314af59ca1
LP#1708488: adjust how patron financial summary is exposed to checkout receipts

This patch builds on the previous patch by grabbing the patron's
financial summary from the patron stats values. The "patron_money"
template value is no longer associated with a particular loan, meaning
that you can do things like this:

<span ng-if="patron_money.balance_owed">You owe the library ${{patron_money.balance_owed}}</span>

The additional values include

* patron_money.balance_owed - current balance
* patron_money.total_paid - payments made on outstanding fines/fees
* patron_money.total_owed - total of outstanding fines/fees

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Terra McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/share/print_templates/t_checkout.tt2
Open-ILS/web/js/ui/default/staff/admin/workstation/app.js
Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js