membershipworks: Fix alignment of flat-rate/total rows in event invoices

This commit is contained in:
Adam Goldsmith 2024-11-25 14:02:53 -05:00
parent 35d74f7bc3
commit d96de225bd

View File

@ -17,7 +17,7 @@
{% endfor %} {% endfor %}
</tr> </tr>
{% if table.event.instructor_flat_rate != 0 %} {% if table.event.instructor_flat_rate != 0 %}
<tr> <tr class="text-end">
<td colspan="{{ table.columns|length|add:-2 }}"></td> <td colspan="{{ table.columns|length|add:-2 }}"></td>
<th scope="row">Flat Rate</th> <th scope="row">Flat Rate</th>
<td> <td>
@ -29,7 +29,7 @@
</td> </td>
</tr> </tr>
{% endif %} {% endif %}
<tr> <tr class="text-end">
<td colspan="{{ table.columns|length|add:-2 }}"></td> <td colspan="{{ table.columns|length|add:-2 }}"></td>
<th scope="row">Total</th> <th scope="row">Total</th>
<td> <td>