2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 13:56:30 +00:00

Add ability to filter parts list by "salable" status

This commit is contained in:
Oliver Walters
2020-04-20 22:39:00 +10:00
parent 0c56079b41
commit 9e4d09343c
3 changed files with 9 additions and 3 deletions

View File

@ -164,9 +164,8 @@
<td><i>{% trans "Part can be purchased from external suppliers" %}</i></td>
{% endif %}
</tr>
{% if 0 %}
<tr>
<td><b>{% trans "Sellable" %}</b></td>
<td><b>{% trans "Salable" %}</b></td>
<td>{% include "slide.html" with state=part.salable field='salable' %}</td>
{% if part.salable %}
<td>{% trans "Part can be sold to customers" %}</td>
@ -174,7 +173,6 @@
<td><i>{% trans "Part cannot be sold to customers" %}</i></td>
{% endif %}
</tr>
{% endif %}
</table>
</div>
</div>