From 5d82a0dd8645c0b076a096375054bb76458a9a34 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 26 Aug 2019 14:33:29 -0400 Subject: [PATCH] Bug 23507: Add ability to show change given on auto-popup fee reciept 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 %]

CHANGE: [% change_given %]

[% 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 Signed-off-by: Hasina Akhte --- .../intranet-tmpl/prog/en/modules/members/boraccount.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt | 2 +- .../intranet-tmpl/prog/en/modules/members/paycollect.tt | 7 ++++++- members/boraccount.pl | 2 ++ members/pay.pl | 6 +++++- members/paycollect.pl | 5 +++-- members/printfeercpt.pl | 3 +++ 7 files changed, 21 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt index 1677f0932a..2ad20bb340 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt @@ -121,7 +121,7 @@