Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4572

Messenger: Invoice Delivery logic does not appear to evaluate

    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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/Feb/22

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 7 hours, 54 minutes
              7h 54m