LP#705693 Check Number in Bill History
authorDan Briem <dbriem@wlsmail.org>
Tue, 8 Dec 2020 20:42:48 +0000 (15:42 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 15 Mar 2021 16:13:32 +0000 (12:13 -0400)
Adds the check number field to the Bill History payment grids
(hidden by default).

To test:
1. Bill patron and apply a check payment with a check number
2. Go to Bills->History->Payments and note check number is not
   an option (drop-down on top-right of grid shows the list)
3. Right-click the payment line->Full Details->Details and note
   check number is not an option on the bottom payments grid
4. Apply patch (may need to clear cache especially on Firefox)
5. Repeat steps 2-3 and note check number is an available option

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>

Open-ILS/src/templates/staff/circ/patron/t_bill_history_payments.tt2
Open-ILS/src/templates/staff/circ/patron/t_xact_details_details.tt2

index e21a301..1b8ea09 100644 (file)
@@ -79,6 +79,8 @@
     <eg-grid-field path="circulation.target_copy.*" hidden></eg-grid-field>
     <eg-grid-field path="circulation.target_copy.call_number.*" hidden></eg-grid-field>
     -->
+
+    <eg-grid-field path="check_payment.check_number" label="[% l('Check Number') %]" hidden></eg-grid-field>
   </eg-grid>
 </div>
 
index 1887cbe..7a0b3a6 100644 (file)
@@ -56,6 +56,9 @@
   <eg-grid-field path="accepting_usr.home_ou.shortname" name="staff_org"
     label="[% l('Staff Org Unit') %]" hidden required></eg-grid-field>
 
+  <eg-grid-field path="check_payment.check_number"
+    label="[% l('Check Number') %]" hidden></eg-grid-field>
+
 </eg-grid>
 
 </div>