Details
-
Type: Bug
-
Status: Closed
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: 5.3.0-b1
-
Fix Version/s: 5.3.0
-
Component/s: Staff Interface
-
Labels:None
Description
The messenger template Invoice Delivery (Unpaid) and possibly other templates that include logic, are not included in the SMS. For example, this template includes the following default text:
Hi {contact.first_name}, An invoice has been created for your account. {% for invoice in invoices %} Invoice #: {invoice.id_code} - {invoice.total} {invoice.currency} Pay Now, visit http://{invoice.payment_url} (No login required) {% endfor %}
But, what is received via SMS is:
Hi Jonathan,
An invoice has been created for your account.
–
And that's it. The invoice # , link, etc are not included. Nothing in the for statement appears. I don't know if the issue is that the data is missing from "invoice", or if it's an issue with the logic itself.
Whatever the issue is, make sure it doesn't also impact any other email templates where logic is used.