LP#1739669 - add PaymentType and persistkey bill payment hist grid
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Fri, 5 Jan 2018 19:23:01 +0000 (14:23 -0500)
committerJason Etheridge <jason@EquinoxInitiative.org>
Wed, 7 Feb 2018 17:18:10 +0000 (12:18 -0500)
commit2a9d6c618109b4ac40eb95d368ae83aa64e85e00
tree376e3670bd304e7fc962f6e0c082fed2ee92c80e
parentf6555251add7c9ca4c4b66858f34aaa6414142ee
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@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Open-ILS/src/templates/staff/circ/patron/t_bill_history_payments.tt2