Summary: | Add the option to email receipts as an alternative to printing | ||
---|---|---|---|
Product: | Koha | Reporter: | Martin Renvoize (ashimema) <martin.renvoize> |
Component: | Fines and fees | Assignee: | Isobel Graham <isobel.graham09> |
Status: | CLOSED FIXED | QA Contact: | Kyle M Hall (khall) <kyle> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | david, dcook, lucas, sally.healey, victor |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31448 | ||
Change sponsored?: | Sponsored | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: |
This enhancement adds an email receipt option to the Point of Sale module, along with a sample notice (RECEIPT). When completing a transaction, there is now an 'Email receipt' button next to 'Print receipt' button - the email address is entered in a pop-up window if the email receipt option is selected.
|
Version(s) released in: |
22.11.00
|
Circulation function: | |||
Bug Depends on: | 13985 | ||
Bug Blocks: | |||
Attachments: |
Bug 30619: Add email receipt to POS
Bug 30619: Add sample email notice Bug 30619: Add email receipt to POS Bug 30619: Add sample email notice Bug 30619: Add email receipt to POS Bug 30619: Add sample email notice Bug 30619: Add email receipt to POS Bug 30619: Add sample email notice Bug 30619: (QA follow-up) Add exec flag to bug_30619.pl |
Description
Martin Renvoize (ashimema)
2022-04-26 11:02:38 UTC
Created attachment 136798 [details] [review] 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 Created attachment 136800 [details] [review] Bug 30619: Add sample email notice This patch adds a default same email type notice for the point of sale receipt. Thanks Isobel, great work. I've added a follow-up patch to set the default email notice template for you. Test plan wise, this can be easily tested using the sandboxes. Follow the plan and then you can spot that the email has been sent using the Koha Mail Log available from the sandbox management UI. Created attachment 136801 [details] [review] 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> Created attachment 136802 [details] [review] Bug 30619: Add sample email notice This patch adds a default same email type notice for the point of sale receipt. Created attachment 137131 [details] [review] 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> Created attachment 137132 [details] [review] Bug 30619: Add sample email notice This patch adds a default same email type notice for the point of sale receipt. Signed-off-by: David Nind <david@davidnind.com> Created attachment 139502 [details] [review] 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> Created attachment 139503 [details] [review] Bug 30619: Add sample email notice This patch adds a default same email type notice for the point of sale receipt. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Created attachment 139504 [details] [review] Bug 30619: (QA follow-up) Add exec flag to bug_30619.pl Pushed to master for 22.11. Nice work everyone, thanks! Enhancement will not be backported to 22.05.x series |