Add Patron's money summary to Circulations in Checkout print template.
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Terra McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
* title
* copy_barcode
* due_date
+ * patron_money.balance_owed - must be grabbed from a specific circulation, e.g. circulations[0].patron_money.balance_owed
-->
<div>
},
copy : seed_copy,
title : seed_record.title,
- author : seed_record.author
+ author : seed_record.author,
+ patron_money : {
+ balance_owed : "$5.00",
+ total_owed : "$10.10",
+ total_paid : "$5.10"
+ }
},
],
if (co.circ) {
print_data.circulations.push({
circ : egCore.idl.toHash(co.circ),
+ patron_money : egCore.idl.toHash(co.evt[0].payload.patron_money),
copy : egCore.idl.toHash(co.acp),
call_number : egCore.idl.toHash(co.acn),
title : co.title,