membershipworks: Suppress subtotals in event invoice when there is only one ticket type
This commit is contained in:
parent
d96de225bd
commit
fe03146bc6
@ -2,6 +2,7 @@
|
||||
|
||||
{% block table.tfoot %}
|
||||
{% if table.has_footer %}
|
||||
{% if table.rows|length > 1 %}
|
||||
<tfoot {{ table.attrs.tfoot.as_html }}>
|
||||
<tr>
|
||||
{% for column in table.columns %}
|
||||
@ -16,6 +17,7 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if table.event.instructor_flat_rate != 0 %}
|
||||
<tr class="text-end">
|
||||
<td colspan="{{ table.columns|length|add:-2 }}"></td>
|
||||
|
Loading…
Reference in New Issue
Block a user