]> git.koha-community.org Git - koha.git/commit
Bug 23507: Add ability to show change given on auto-popup fee receipt from FinePaymen...
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 26 Aug 2019 18:33:29 +0000 (14:33 -0400)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 8 Oct 2019 13:47:39 +0000 (14:47 +0100)
commit1feb110d05dd4b6672f9f96ed4b86aecd057819b
tree5077e7023bac7297f92ef01f05e37aeb1d4efc4a
parent6d9bc489a23596b37eca88eec46d2ead030d8e82
Bug 23507: Add ability to show change given on auto-popup fee receipt from FinePaymentAutoPopup

Some libraries would like to show the amount of change given on print reciepts triggered by FinePaymentAutoPopup
so the patron can verify he or she has recieved the correct amount of change.

1) Apply this patch
2) Edit ACCOUNT_CREDIT slip and add "[% IF change_given %]<h1>CHANGE: [% change_given %]</h1>[% END %]" at the top
3) Enable FinePaymentAutoPopup
4) Make a payment
5) Note the change given is shown on the popup receipt
6) Note the change given is *not* shown on subsequent prints of the same receipt using the "print" button for the payment

Signed-off-by: Kyle Hall <kyle@bywatersolutions.com>
Signed-off-by: Hasina Akhte <hasinaa@pascolibraries.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt
members/boraccount.pl
members/pay.pl
members/paycollect.pl
members/printfeercpt.pl