LP#1662535 Patron Bill Grid Columns
authorTerran McCanna <tmccanna@georgialibraries.org>
Thu, 13 Dec 2018 02:56:55 +0000 (21:56 -0500)
committerJason Stephenson <jason@sigio.com>
Fri, 14 Dec 2018 16:23:07 +0000 (11:23 -0500)
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>
Open-ILS/src/templates/staff/circ/patron/t_bills_list.tt2

index a29aa3d..d622db6 100644 (file)
   <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>
     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>
 
 
   <!-- 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>
     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>