Jump to content

Email Template Invoice Delivery (Paid) with multiple invoices broken in Blesta v5.1.3


Recommended Posts

Last known working version was Blesta v5.1.0

Usually this code:

{% for invoice in invoices %}
Invoice #: {invoice.id_code}{% endfor %}

Would output this result:

Invoice #: 1001
Invoice #: 1002


But in v5.1.3 the output repeats the first invoice id like this:

Invoice #: 1001
Invoice #: 1001

The correct invoices are merged and attached to the email, just the generated text is incorrect. Based on the dates of my backup files I believe the problem started sometime after v5.1.0.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...