LP1737540: Add Patron Information to Receipts user/jboyer/lp1737540-patron-info-receipts
authorJason Boyer <jboyer@library.in.gov>
Mon, 29 Jan 2018 22:02:01 +0000 (17:02 -0500)
committerJason Boyer <jboyer@library.in.gov>
Mon, 29 Jan 2018 23:15:57 +0000 (18:15 -0500)
commit2cba941a2d424d57090e36946688d683543ee666
tree18d97a10206692cbe2ded97e6e12787caa2a0867
parent982d999ccd391abf811f2cc4fbb0f7108b5f5fc1
LP1737540: Add Patron Information to Receipts

Adds the following fields to a patron object on print_data:
first_given_name
second_given_name
family_name
suffix
barcode
money_summary.balance_owed
money_summary.total_paid
money_summary.total_owed
expire_date
alias
has_email
has_phone

On the following receipts: Checkout, Items Out, and Bill Payment.

(money_summary left out on bill payment because it will always be out of date.)

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Open-ILS/src/templates/staff/share/print_templates/t_bill_payment.tt2
Open-ILS/src/templates/staff/share/print_templates/t_checkout.tt2
Open-ILS/src/templates/staff/share/print_templates/t_items_out.tt2
Open-ILS/web/js/ui/default/staff/admin/workstation/app.js
Open-ILS/web/js/ui/default/staff/circ/patron/bills.js
Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js
Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js