mirror of
https://github.com/grocy/grocy.git
synced 2025-08-28 17:10:11 +00:00
Fixed stock entry page consume amount handling (fixes #2397)
This commit is contained in:
@@ -188,7 +188,7 @@
|
||||
data-stock-id="{{ $stockEntry->stock_id }}"
|
||||
data-stockrow-id="{{ $stockEntry->id }}"
|
||||
data-location-id="{{ $stockEntry->location_id }}"
|
||||
data-consume-amount="1">
|
||||
data-consume-amount="{{ $stockEntry->amount }}">
|
||||
{{ $__t('Consume this stock entry as spoiled', '1 ' . FindObjectInArrayByPropertyValue($quantityunits, 'id', FindObjectInArrayByPropertyValue($products, 'id', $stockEntry->product_id)->qu_id_stock)->name, FindObjectInArrayByPropertyValue($products, 'id', $stockEntry->product_id)->name) }}
|
||||
</a>
|
||||
@if(GROCY_FEATURE_FLAG_RECIPES)
|
||||
|
Reference in New Issue
Block a user