2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 05:25:42 +00:00

Added global setting and updated stock item templates

This commit is contained in:
eeintech
2020-12-01 15:54:05 -05:00
parent e1fb7e5d98
commit 2c38be2d13
5 changed files with 26 additions and 4 deletions

View File

@ -10,4 +10,14 @@
{% endblock %}
{% block settings %}
<h4>{% trans "Stock Options" %}</h4>
<table class='table table-striped table-condensed'>
<thead></thead>
<tbody>
{% include "InvenTree/settings/setting.html" with key="STOCK_OWNER" %}
</tbody>
</table>
{% endblock %}

View File

@ -1,6 +1,5 @@
{% load i18n %}
{% if roles.stock.change %}
<div id='attachment-buttons'>
<div class='btn-group'>
<button type='button' class='btn btn-success' id='new-attachment'>
@ -8,7 +7,6 @@
</button>
</div>
</div>
{% endif %}
<div class='dropzone' id='attachment-dropzone'>
<table class='table table-striped table-condensed' data-toolbar='#attachment-buttons' id='attachment-table'>