mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 04:56:45 +00:00
Adds a checkmark to indicate that a stock item has passed all required tests
This commit is contained in:
parent
88bb0f05e9
commit
6bdac076d7
@ -409,7 +409,14 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td><span class='fas fa-vial'></span></td>
|
<td><span class='fas fa-vial'></span></td>
|
||||||
<td>{% trans "Tests" %}</td>
|
<td>{% trans "Tests" %}</td>
|
||||||
<td>{{ item.requiredTestStatus.passed }} / {{ item.requiredTestStatus.total }}</td>
|
<td>
|
||||||
|
{{ item.requiredTestStatus.passed }} / {{ item.requiredTestStatus.total }}
|
||||||
|
{% if item.passedAllRequiredTests %}
|
||||||
|
<span class='fas fa-check-circle float-right icon-green'></span>
|
||||||
|
{% else %}
|
||||||
|
<span class='fas fa-times-circle float-right icon-red'></span>
|
||||||
|
{% endif %}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.owner %}
|
{% if item.owner %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user