Fixed stock entry open button amount on /stockentries (fixes #2303)

This commit is contained in:
Bernd Bestel
2023-08-13 08:27:02 +02:00
parent d6cc87ac86
commit 106f25cc6b
3 changed files with 5 additions and 2 deletions

View File

@@ -130,7 +130,8 @@
data-product-name="{{ FindObjectInArrayByPropertyValue($products, 'id', $stockEntry->product_id)->name }}"
data-product-qu-name="{{ FindObjectInArrayByPropertyValue($quantityunits, 'id', FindObjectInArrayByPropertyValue($products, 'id', $stockEntry->product_id)->qu_id_stock)->name }}"
data-stock-id="{{ $stockEntry->stock_id }}"
data-stockrow-id="{{ $stockEntry->id }}">
data-stockrow-id="{{ $stockEntry->id }}"
data-open-amount="{{ $stockEntry->amount }}">
<i class="fa-solid fa-box-open"></i>
</a>
@endif