mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-25 12:51:36 +00:00
Add 'Add stock' button to part stock info page
This commit is contained in:
parent
6330b71bfb
commit
f90d0f37f4
4 changed files with 96 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
{% include "parts/info/_withdraw_modal.html.twig" %}
|
||||
{% include "parts/info/_stocktake_modal.html.twig" %}
|
||||
{% include "parts/info/_add_lot_modal.html.twig" %}
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-hover">
|
||||
|
|
@ -126,3 +127,10 @@
|
|||
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{% if add_lot_form is not null %}
|
||||
<button type="button" class="btn btn-success" data-bs-toggle="modal" data-bs-target="#add-lot-modal">
|
||||
<i class="fas fa-plus-square fa-fw"></i>
|
||||
{% trans %}part_lot.create{% endtrans %}
|
||||
</button>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue