Skip to content

Commit

Permalink
Fix html tag in template (#5445) (#5448)
Browse files Browse the repository at this point in the history
- Ensure <td> tag is closed correctly

(cherry picked from commit e7b5b14)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
  • Loading branch information
github-actions[bot] and SchrodingersGat committed Aug 14, 2023
1 parent 89d8e47 commit b5c7cf0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion InvenTree/stock/templates/stock/item_base.html
Expand Up @@ -371,8 +371,9 @@ <h5>{% if item.quantity != available %}{% decimal available %} / {% endif %}{% d
<td>
<a href="{% url 'so-detail' item.sales_order.id %}">{{ item.sales_order.reference }}</a>
{% if item.sales_order.customer %}
- <a href="{% url 'company-detail' item.sales_order.customer.id %}">{{ item.sales_order.customer.name }}</a></td>
- <a href="{% url 'company-detail' item.sales_order.customer.id %}">{{ item.sales_order.customer.name }}</a>
{% endif %}
</td>
</tr>
{% else %}
{% if allocated_to_sales_orders %}
Expand Down

0 comments on commit b5c7cf0

Please sign in to comment.