LP#1780283 Checking One Bill Checks Them All
authorDan Briem <dbriem@wlsmail.org>
Fri, 9 Aug 2019 03:45:40 +0000 (23:45 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 27 Dec 2019 21:08:17 +0000 (16:08 -0500)
Under Patron->Bills->History if Bill # isn't visible for the Transactions
grid or Payment ID isn't visible for Payments grid, rows can't be selected
individually. This adds the required attribute to those field directives.

1. Under a patron account with multiple bills, go to Bills->History
2. Remove Bill # from the Transactions grid
3. Try to select an individual row (note all rows are selected)
4. Apply patch and repeat steps 1-3 (note rows are selected individually)

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Josh Stompro <stompro@stompro.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_bill_history_xacts.tt2

index bbea998..5c31297 100644 (file)
@@ -11,7 +11,7 @@
       label="[% l('Full Details') %]" handler="showFullDetails"></eg-grid-action>
 
     <eg-grid-field path="amount" label="[% l('Amount') %]"></eg-grid-field>
-    <eg-grid-field path="id" label="[% l('Payment ID') %]"></eg-grid-field>
+    <eg-grid-field path="id" label="[% l('Payment ID') %]" required></eg-grid-field>
     <eg-grid-field path="payment_ts" label="[% l('Payment Time') %]" datatype="timestamp"></eg-grid-field>
     <eg-grid-field path="note" label="[% l('Note') %]"></eg-grid-field>
     <eg-grid-field path="voided" label="[% l('Voided') %]"></eg-grid-field>
index b429440..4be0ef0 100644 (file)
@@ -16,7 +16,7 @@
       label="[% l('Print Bills') %]" handler="printBills"></eg-grid-action>
 
     <eg-grid-field path="summary.balance_owed"></eg-grid-field>
-    <eg-grid-field path="id" label="[% l('Bill #') %]"></eg-grid-field>
+    <eg-grid-field path="id" label="[% l('Bill #') %]" required></eg-grid-field>
     <eg-grid-field path="xact_finish" label="[% l('Finish') %]" datatype="timestamp"></eg-grid-field>
     <eg-grid-field path="xact_start" label="[% l('Start') %]" datatype="timestamp"></eg-grid-field>
     <eg-grid-field path="summary.total_owed" label="[% l('Total Billed') %]"></eg-grid-field>