mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 02:11:16 +00:00
Merge remote-tracking branch 'inventree/master'
This commit is contained in:
commit
f40a9d1dad
6 files changed
+3121
-1748
No files matched your search
Binary file not shown.
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -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>
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ InvenTree | {% trans "Stock Item" %} - {{ item }}
|
|||||||
<span class='fas fa-edit icon-blue'/>
|
<span class='fas fa-edit icon-blue'/>
|
||||||
</button>
|
</button>
|
||||||
{% if item.can_delete %}
|
{% if item.can_delete %}
|
||||||
<button type='button' class='btn btn-default' id='stock-delete' title='{% trans "Edit stock item" %}'>
|
<button type='button' class='btn btn-default' id='stock-delete' title='{% trans "Delete stock item" %}'>
|
||||||
<span class='fas fa-trash-alt icon-red'/>
|
<span class='fas fa-trash-alt icon-red'/>
|
||||||
</button>
|
</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in new issue
Block a user