mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Decimalize display of variant stock
(cherry picked from commit 6e45360c4b7a6bc91f584f498fb6e1988593db95)
This commit is contained in:
parent
b2c302cb2c
commit
09400fd66b
@ -1,5 +1,6 @@
|
|||||||
{% extends "part/part_base.html" %}
|
{% extends "part/part_base.html" %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
{% load inventree_extras %}
|
||||||
|
|
||||||
{% block details %}
|
{% block details %}
|
||||||
{% include "part/tabs.html" with tab='variants' %}
|
{% include "part/tabs.html" with tab='variants' %}
|
||||||
@ -40,7 +41,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td>{{ variant.description }}</td>
|
<td>{{ variant.description }}</td>
|
||||||
<td>{{ variant.total_stock }}</td>
|
<td>{% decimal variant.total_stock %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Loading…
Reference in New Issue
Block a user