Add archiving items support
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
This commit is contained in:
@@ -206,6 +206,17 @@
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col s12">
|
||||
<form action="/m/inventory/{{ item._id }}/archive" method="post" style="display: inline;">
|
||||
<button {% if not can_edit %} disabled="" {% endif %} class="red lighten-1 waves-effect waves-light btn" type="submit">
|
||||
<i class="material-icons left">archive</i>Archive
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if can_audit %}
|
||||
<div id="audit-modal" class="modal">
|
||||
<div class="modal-content">
|
||||
|
Reference in New Issue
Block a user