mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 20:26:42 +00:00
Added on option to only show in-stock products on the /products page (closes #1388)
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-md-6 col-xl-3">
|
||||
<div class="col-12 col-md-6 col-xl-2">
|
||||
<div class="form-check custom-control custom-checkbox">
|
||||
<input class="form-check-input custom-control-input"
|
||||
type="checkbox"
|
||||
@@ -82,6 +82,17 @@
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-md-6 col-xl-2">
|
||||
<div class="form-check custom-control custom-checkbox">
|
||||
<input class="form-check-input custom-control-input"
|
||||
type="checkbox"
|
||||
id="show-only-in-stock">
|
||||
<label class="form-check-label custom-control-label"
|
||||
for="show-only-in-stock">
|
||||
{{ $__t('Show only in-stock products') }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="float-right">
|
||||
<a id="clear-filter-button"
|
||||
|
Reference in New Issue
Block a user