https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34340
--- Comment #5 from David Nind <[email protected]> --- Testing notes (using KTD): 1. Needed to set up KTD so that email could be sent.[1] 2. For the updated notice to appear, I needed to do a reset_all then setup POS again. I'm not sure how this will affect upgrades, or if there is a way for updated notices to be applied - does this require a database update as well? 3. In additional, while this does fix the problem, all the other fields in the email notice are empty.[2] This was the case before the patch was applied. Does this need a separate bug to fix this? I have also included the notice as it is for me after the patch in KTD.[3] [1] To test sending emails using a Google account, edit /etc/koha/sites/kohadev/koha-conf.xml file and add this configuration near the end (where <user_name> = your Google email address; <password> = your APP password, not your Google account password): <smtp_server> <host>smtp.gmail.com</host> <port>587</port> <timeout>5</timeout> <ssl_mode>STARTTLS</ssl_mode> <user_name>GOOGLEACCOUNTUSER</user_name> <password>GOOGLEAPPPASSWORD</password> <debug>1</debug> </smtp_server> [2] Email notice with Tendered amount fixed: Transaction ID: Operator ID: Payment type: Payment receipt Description of charges Amount Total: 0.00 Tendered: 30.00 Change given: 0.00 [3] Current email notice (HTRML) for Point of sale receipt: [% USE KohaDates %] [% USE Branches %] [% USE Price %] [% PROCESS "accounts.inc" %] <table> [% IF ( LibraryName ) %] <tr> <th colspan="2" class="centerednames"> <h3>[% LibraryName | html %]</h3> </th> </tr> [% END %] [% IF credit.library %] <tr> <th colspan="2" class="centerednames"> <h2>[% payment.library.branchname | html %]</h2> </th> </tr> [% END %] <tr> <th colspan="2" class="centerednames"> <h3>[% payment.date | $KohaDates %]</h3> </th> </tr> <tr> <td>Transaction ID: </td> <td>[% payment.accountlines_id %]</td> </tr> <tr> <td>Operator ID: </td> <td>[% payment.manager_id %]</td> </tr> <tr> <td>Payment type: </td> <td>[% payment.payment_type %]</td> </tr> <tr> <th colspan="2" class="centerednames"> <h2><u>Payment receipt</u></h2> </th> </tr> <tr> <th>Description of charges</th> <th>Amount</th> </tr> [% FOREACH offset IN payment.credit_offsets %] <tr> <td>[% PROCESS account_type_description account=debit %]</td> <td>[% debit.amount * -1 | $Price %]</td> </tr> [% END %] <tfoot> <tr class="highlight"> <td>Total:</td> <td>[% payment.amount * -1 | $Price %]</td> </tr> <tr> <td>Tendered: </td> <td>[% collected | $Price %]</td> </tr> <tr> <td>Change given:</td> <td>[% change | $Price %]</td> </tr> </tfoot> </table> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
