mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +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)
|
||||
- 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="custom-control custom-checkbox">
|
||||
<input @if($mode=='create'
|
||||
)
|
||||
checked
|
||||
@elseif($mode=='edit'
|
||||
<input @if($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">
|
||||
<label class="form-check-label custom-control-label"
|
||||
|
Loading…
x
Reference in New Issue
Block a user