Skip to content

Commit

Permalink
Fix for email template (inventree#7249)
Browse files Browse the repository at this point in the history
- Use `line.part` instead of `part`
  • Loading branch information
SchrodingersGat authored May 17, 2024
1 parent dc741b6 commit 2431fc6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{% for line in lines %}
<tr style="height: 2.5rem; border-bottom: 1px solid">
<td style='padding-left: 1em;'>
<a href='{{ line.link }}'>{{ line.part.full_name }}</a>{% if part.description %} - <em>{{ part.description }}</em>{% endif %}
<a href='{{ line.link }}'>{{ line.part.full_name }}</a>{% if line.part.description %} - <em>{{ line.part.description }}</em>{% endif %}
</td>
<td style="text-align: center;">
{% decimal line.required %} {% include "part/part_units.html" with part=line.part %}
Expand Down

0 comments on commit 2431fc6

Please sign in to comment.