From: Cesar Velez Date: Fri, 5 Jan 2018 19:23:01 +0000 (-0500) Subject: LP#1739669 - add PaymentType and persistkey bill payment hist grid X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2a9d6c618109b4ac40eb95d368ae83aa64e85e00;p=evergreen%2Fjoelewis.git LP#1739669 - add PaymentType and persistkey bill payment hist grid This adds "circ.patron.billhistory_payments" as the persist-key for that grid and also adds a Payment Type column. Note that the Payment Type is that of the individual payment, while the Last Payment Type is that of the most recent payment on the billing in question. To test ------- [1] Set up a patron bill that has multiple payments on it off different types (e.g., cash, credit, etc.) [2] Apply the patch. [3] In the payments tab of the Bill History page in the web staff client, note that there is now a Payment Type column available. Verify that it matches the types of the payments entered in step 1. [4] Verify that column settings for that payment history grid can be saved. Signed-off by: Cesar Velez Signed-off-by: Galen Charlton Signed-off-by: Jason Etheridge --- diff --git a/Open-ILS/src/templates/staff/circ/patron/t_bill_history_payments.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_bill_history_payments.tt2 index 9c1a53acc0..328ab1d097 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_bill_history_payments.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_bill_history_payments.tt2 @@ -5,8 +5,8 @@ idl-class="mp" id-field="id" grid-controls="gridControls" - dateformat="{{$root.egDateAndTimeFormat}}"> - + dateformat="{{$root.egDateAndTimeFormat}}" + persist-key="circ.patron.billhistory_payments"> @@ -18,6 +18,7 @@ + {{item.title}}