Skip to content

Commit 10305e8

Browse files
authored
Multiple invoice table row fix in shop order page (#383)
If order has more than one invoice, rendering in shop order page is broken as all rows are placed inside one `<tr>` element instead of individual ones.
2 parents d248ef7 + fbf38dd commit 10305e8

File tree

1 file changed

+4
-4
lines changed
  • templates/shop/order/show/content/summary/invoices/card/body/table

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<tbody>
2-
<tr>
3-
{% for invoice in hookable_metadata.context.invoices %}
2+
{% for invoice in hookable_metadata.context.invoices %}
3+
<tr>
44
{% hook 'body' with { invoice } %}
5-
{% endfor %}
6-
</tr>
5+
</tr>
6+
{% endfor %}
77
</tbody>

0 commit comments

Comments
 (0)