From 213bd301a9bc226d9eb73d659b8711c554c506a7 Mon Sep 17 00:00:00 2001 From: Terran McCanna <tmccanna@georgialibraries.org> Date: Wed, 12 Dec 2018 21:56:55 -0500 Subject: [PATCH] LP#1662535 Patron Bill Grid Columns 1) Adding missing columns, including: - Call Number - Owning Library - Shelving Location - Last Billing Note - Last Billing Timestamp - Last Payment Timestamp - Last payment Note - Last Payment Type 2) Corrected path for Type 3) Changed column name for Location to 'Billing Location' and the former Billing Location to 'Grocery Billing Location' for clarity Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org> Signed-off-by: John Amundson <jamundson@cwmars.org> Signed-off-by: Jason Stephenson <jason@sigio.com> --- .../templates/staff/circ/patron/t_bills_list.tt2 | 24 ++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/Open-ILS/src/templates/staff/circ/patron/t_bills_list.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_bills_list.tt2 index a29aa3d381..d622db6c47 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_bills_list.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_bills_list.tt2 @@ -55,7 +55,19 @@ <eg-grid-field label="[% l('Start') %]" path='xact_start' datatype="timestamp"></eg-grid-field> <eg-grid-field label="[% l('Total Billed') %]" path='summary.total_owed'></eg-grid-field> <eg-grid-field label="[% l('Total Paid') %]" path='summary.total_paid'></eg-grid-field> - <eg-grid-field label="[% l('Type') %]" path='xact_type'></eg-grid-field> + <eg-grid-field label="[% l('Type') %]" path='summary.xact_type'></eg-grid-field> + + <eg-grid-field path="circulation.target_copy.call_number.label" + label="[% l('Call Number') %]" name="call_number"> + </eg-grid-field> + + <eg-grid-field path="circulation.target_copy.call_number.owning_lib.shortname" + label="[% l('Owning Library') %]" name="owning_lib"> + </eg-grid-field> + + <eg-grid-field path="circulation.target_copy.location.name" + label="[% l('Shelving Location') %]" name="location"> + </eg-grid-field> <!-- receipt data --> <eg-grid-field path='summary.last_billing_type' required></eg-grid-field> @@ -88,7 +100,7 @@ label="[% l('Circulation Library') %]" name="circ_lib" hidden> </eg-grid-field> - <eg-grid-field label="[% l('Location') %]" name="xact_location"> + <eg-grid-field label="[% l('Billing Location') %]" name="xact_location"> {{item['grocery.billing_location.shortname']||item['circulation.circ_lib.shortname']}} </eg-grid-field> @@ -98,7 +110,7 @@ <!-- import all circ fields, hidden by default --> <eg-grid-field path='grocery.*' hidden> </eg-grid-field> - <eg-grid-field label="[% l('Billing Location') %]" + <eg-grid-field label="[% l('Grocery Billing Location') %]" path='grocery.billing_location.shortname' required hidden> </eg-grid-field> <eg-grid-field path='circulation.circ_lib' required hidden></eg-grid-field> <eg-grid-field path='circulation.duration' required hidden></eg-grid-field> @@ -110,6 +122,10 @@ path='circulation.circ_lib.shortname' required hidden> </eg-grid-field> <eg-grid-field path='circulation.target_copy.*' hidden> </eg-grid-field> - + <eg-grid-field path='circulation.target_copy.call_number.*' hidden required></eg-grid-field> + <eg-grid-field path='circulation.target_copy.call_number.owning_lib.*' hidden required></eg-grid-field> + <eg-grid-field path='circulation.target_copy.location.*' hidden required></eg-grid-field> + <eg-grid-field path='summary.*' hidden required></eg-grid-field> + </eg-grid> -- 2.11.0