mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
Include duesoon/overdue/expired products for the belowminstockamount filter on the stock overview page (closes #1666)
This commit is contained in:
parent
8105dea17f
commit
edddfe234c
@ -1 +1,2 @@
|
||||
- The "Below min. stock amount" filter on the stock overview page now also includes due-soon, overdue or already expired products
|
||||
- Fixed that the "Stay logged in permanently" checkbox on the login page had no effect (thanks @0)
|
||||
|
@ -320,7 +320,7 @@
|
||||
<td>
|
||||
@if($currentStockEntry->product_group_name !== null){{ $currentStockEntry->product_group_name }}@endif
|
||||
</td>
|
||||
<td data-order={{ $currentStockEntry->amount }}>
|
||||
<td data-order="{{ $currentStockEntry->amount }}">
|
||||
<span id="product-{{ $currentStockEntry->product_id }}-amount"
|
||||
class="locale-number locale-number-quantity-amount">{{ $currentStockEntry->amount }}</span> <span id="product-{{ $currentStockEntry->product_id }}-qu-name">{{ $__n($currentStockEntry->amount, $currentStockEntry->qu_unit_name, $currentStockEntry->qu_unit_name_plural) }}</span>
|
||||
<span id="product-{{ $currentStockEntry->product_id }}-opened-amount"
|
||||
@ -374,8 +374,9 @@
|
||||
. ' days'
|
||||
))
|
||||
&&
|
||||
$currentStockEntry->amount > 0) duesoon @elseif ($currentStockEntry->product_missing) belowminstockamount @endif
|
||||
$currentStockEntry->amount > 0) duesoon @endif
|
||||
@if($currentStockEntry->amount_aggregated > 0) instockX @endif
|
||||
@if ($currentStockEntry->product_missing) belowminstockamount @endif
|
||||
</td>
|
||||
<td class="d-none">
|
||||
xx{{ $currentStockEntry->product_group_name }}xx
|
||||
|
Loading…
x
Reference in New Issue
Block a user