LP#1776917 - fix patron bill grid lacking bill ID
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Mon, 27 Aug 2018 20:07:48 +0000 (16:07 -0400)
committerJason Stephenson <jason@sigio.com>
Wed, 12 Sep 2018 18:37:57 +0000 (14:37 -0400)
Without the required attribute in the grid template
declaration, the Bill# column *had* to be enabled for
bill payments to work. This adds required attribute to
the Bill #, so that it's fetched regardless of whether
displayed or not, so posting payments work correctly.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.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 c843bbb..6c3d2c1 100644 (file)
@@ -51,7 +51,7 @@
     handler="showFullDetails"></eg-grid-action>
 
   <eg-grid-field label="[% l('Balance Owed') %]" path='summary.balance_owed'></eg-grid-field>
-  <eg-grid-field label="[% l('Bill #') %]" path='id'></eg-grid-field>
+  <eg-grid-field required label="[% l('Bill #') %]" path='id'></eg-grid-field>
   <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>