Bug 23354: Add receipting to Pay page
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 17 Sep 2019 11:28:30 +0000 (12:28 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 13 Jan 2020 14:04:09 +0000 (14:04 +0000)
commitdd9cfda29f1b6007919506839eb83dbe1034a43f
tree1949104ea1379edb74ac3cc9b7460e28733b72f7
parent3e6ef8614a5c7eaf47a903b68518c404cc657091
Bug 23354: Add receipting to Pay page

This patch adds receipt printing to the new Point of Sale pay page.

Test plan:
1) Apply patch and run database update
2) Enable automatic receipt printing via the `` system preference.
3) Make a payment for an item via the new POS pay page.
4) Note that a receipt printing dialogue is shown automatically after
   payment.
5) Note that a new notice is available under tools where you can alter
   the content of the receipt.
6) Signoff

Sponsored-by: PTFS Europe
Sponsored-by: Cheshire Libraries Shared Services
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
installer/data/mysql/atomicupdate/bug_23354.perl
installer/data/mysql/en/mandatory/sample_notices.sql
koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt
koha-tmpl/intranet-tmpl/prog/en/modules/pos/printreceipt.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt
pos/pay.pl
pos/printreceipt.pl [new file with mode: 0755]