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

Updated Stock permission views and templates

This commit is contained in:
eeintech
2020-10-06 08:55:40 -05:00
parent 279b50d977
commit 095cfe9845
6 changed files with 91 additions and 32 deletions

View File

@ -1,10 +1,12 @@
{% load i18n %}
{% if roles.stock.change %}
<div id='attachment-buttons'>
<div class='btn-group'>
<button type='button' class='btn btn-success' id='new-attachment'>{% trans "Add Attachment" %}</button>
</div>
</div>
{% endif %}
<div class='dropzone' id='attachment-dropzone'>
<table class='table table-striped table-condensed' data-toolbar='#attachment-buttons' id='attachment-table'>