mirror of
https://github.com/grocy/grocy.git
synced 2025-04-30 10:05:45 +00:00
Fix default for product option "Never show on stock overview" (fixes #1212)
This commit is contained in:
parent
937bd6b702
commit
cf05be35fe
@ -1,2 +1,3 @@
|
|||||||
- Improved the prerequisites checker (added missing required PHP extension `ctype`) (thanks @Forceu)
|
- Improved the prerequisites checker (added missing required PHP extension `ctype`) (thanks @Forceu)
|
||||||
- Fixed that browser camera barcode scanning did not work on the product edit page
|
- Fixed that browser camera barcode scanning did not work on the product edit page
|
||||||
|
- Fixed that the new product option "Never show on stock overview" was unintentionally set by default for new products
|
||||||
|
@ -402,10 +402,7 @@
|
|||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="custom-control custom-checkbox">
|
<div class="custom-control custom-checkbox">
|
||||||
<input @if($mode=='create'
|
<input @if($mode=='edit'
|
||||||
)
|
|
||||||
checked
|
|
||||||
@elseif($mode=='edit'
|
|
||||||
&&
|
&&
|
||||||
$product->hide_on_stock_overview == 1) checked @endif class="form-check-input custom-control-input" type="checkbox" id="hide_on_stock_overview" name="hide_on_stock_overview" value="1">
|
$product->hide_on_stock_overview == 1) checked @endif class="form-check-input custom-control-input" type="checkbox" id="hide_on_stock_overview" name="hide_on_stock_overview" value="1">
|
||||||
<label class="form-check-label custom-control-label"
|
<label class="form-check-label custom-control-label"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user