-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Is your feature request related to a problem? Please describe.
UndefinedError
jinja2.exceptions.UndefinedError: 'None' has no attribute 'strip'
{% for invoice in debtor['failedInvoices'] %}
<tr>
<td>{{ invoice.subscribie_subscription.plan.title }}
</td>
<td>{% if invoice.subscribie_subscription.note %}
{% if invoice.subscribie_subscription.note.note.strip() != '' %}
{{ invoice.subscribie_subscription.note.note }}
{% else %}
<small style="color: lightgrey">None</small>
{% endif %}
{% endif %}
Describe the solution you'd like
Describe alternatives you've considered
actually use a type strict templating language.
Additional context
Metadata
Metadata
Assignees
Labels
No labels