mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-15 15:39:31 +00:00
Add a button to automatically add the ordered amount once delivered
This commit is contained in:
parent
b62d4aaeb7
commit
e6b1b533a8
5 changed files with 47 additions and 0 deletions
|
|
@ -39,6 +39,14 @@
|
|||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% if is_granted('edit', part) %}
|
||||
<br>
|
||||
<a class="btn btn-info mt-2" href="{{ entity_url(part, 'delivered') }}">
|
||||
<i class="fas fa-cloud-arrow-down"></i>
|
||||
{% trans %}part.delivered.btn{% endtrans %}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
|
||||
<form method="post" class="mt-2" action="{{ entity_url(part, 'delete') }}"
|
||||
{{ stimulus_controller('elements/delete_btn') }} {{ stimulus_action('elements/delete_btn', "submit", "submit") }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue