[open-ils-commits] [GIT] Evergreen ILS branch rel_3_0 updated. d44604114e6cd782a624ab67455f4551eb82b2aa

Evergreen Git git at git.evergreen-ils.org
Wed Feb 7 12:20:18 EST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_3_0 has been updated
       via  d44604114e6cd782a624ab67455f4551eb82b2aa (commit)
      from  c096eb8751dac732c9e57809271cc24f909623ac (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d44604114e6cd782a624ab67455f4551eb82b2aa
Author: Cesar Velez <cesar.velez at equinoxinitiative.org>
Date:   Fri Jan 5 14:23:01 2018 -0500

    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 <cesar.velez at equinoxinitiative.org>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>
    
    Signed-off-by: Jason Etheridge <jason at EquinoxInitiative.org>

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 9c1a53a..328ab1d 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">
     <eg-grid-action 
       label="[% l('Full Details') %]" handler="showFullDetails"></eg-grid-action>
 
@@ -18,6 +18,7 @@
     <eg-grid-field path="xact.summary.xact_type" label="[% l('Transaction Type') %]"></eg-grid-field>
     <eg-grid-field path="xact.summary.last_billing_type" label="[% l('Last Billing Type') %]"></eg-grid-field>
 
+    <eg-grid-field path="payment_type" label="Payment Type"></eg-grid-field>
     <eg-grid-field label="[% l('Title') %]" name="title" 
       path="xact.circulation.target_copy.call_number.record.simple_record.title">
       <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.record_id}}">{{item.title}}</a>

-----------------------------------------------------------------------

Summary of changes:
 .../staff/circ/patron/t_bill_history_payments.tt2  |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list