Bug 23228: Add option to automatically display payment receipt for printing after...
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 27 Jun 2019 16:12:46 +0000 (12:12 -0400)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 8 Aug 2019 14:27:11 +0000 (15:27 +0100)
commit1bc1642b945e8565d62f636155c2dc2a64e2c7ef
treef65ce817c13f6e7d74aed66d5264991a743b9be1
parentd952abd83758fe115269914fad78ae99c8006f9e
Bug 23228: Add option to automatically display payment receipt for printing after making a payment

Some libraries would like an auto-popup after making a payment so librarians don't have
to navigate to the accounts page, locate the new payment, then click the print button.

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Make a payment, note no difference in behavior
4) Enable the new syspref FinePaymentAutoPopup
5) Make a payment, note the popup for the payment receipt

Signed-off-by: Lisette Scheer <lisettes@latahlibrary.org>
Rescued-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
installer/data/mysql/atomicupdate/FinePaymentAutoPopup.perl [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
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