Bug 30619: Add email receipt to POS
authorIsobel Graham <isobel.graham09@gmail.com>
Thu, 30 Jun 2022 15:32:26 +0000 (16:32 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 7 Sep 2022 22:59:34 +0000 (15:59 -0700)
commitb97ff5d7461e529b7a4e980ce0f2fe41cf6b0288
treedfd623beac543985f5c912124328d3b7ed6d0668
parente99e3a95505ccd806bd44e11448a317dfb217e1a
Bug 30619: Add email receipt to POS

This patch adds the ability to use email receipts with the point of sale
module.

To test:
1) Configure your Koha to enable the point of sale system.
2) Add an email template to the 'Point of sale > RECEIPT' notice.
3) Add some charges on point of sale and pay for them.
3a) You should now see a new 'Email receipt' button next to the 'Print
receipt' option.
3b) Clicking the button will display a modal to enter the anonymous
users email address
3c) Enter an email address and confirm to send the email

Sponsored-by: Martin Renvoize <martin.renvoize@gmail.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt
pos/pay.pl