From: Cesar Velez <cesar.velez@equinoxinitiative.org>
Date: Mon, 27 Aug 2018 20:07:48 +0000 (-0400)
Subject: LP#1776917 - fix patron bill grid lacking bill ID
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cf2298b38273697e14381a442968e9e2097dbf79;p=evergreen%2Fjoelewis.git

LP#1776917 - fix patron bill grid lacking bill ID

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>
---

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 c843bbb39e..6c3d2c15f7 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
@@ -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>