Add 'Add stock' button to part stock info page

This commit is contained in:
kernchen-brc 2026-04-24 08:14:37 +02:00
parent 6330b71bfb
commit f90d0f37f4
4 changed files with 96 additions and 1 deletions

View file

@ -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 %}