mirror of
https://github.com/grocy/grocy.git
synced 2025-08-19 20:11:16 +00:00
Some bug fixes. (#1000)
* Fix #997. Remove datetimepicker if FEATURE_FLAG_STOCK_BEST_BEFORE_DATE is not set. * datetimepicker: Fix that SetValue did not set the value if "shortcut-checkbox" (e.g. "never expires") was checked. * Use parent div as clickable area for checkboxes in dropdowns * Fix nightmode-enable * Fix possibly undefined variables in CalendarService.php * Fix undefined variable in GenericEntityApiController.php * Fix "Trying to access property barcodes on non-object" in productpicker * Fix undefined "hintId" in shoppinglocationpicker * Fix undefined variables in locationpicker.blade.php
This commit is contained in:
committed by
GitHub
parent
0624b0df59
commit
5056ca9397
@@ -53,13 +53,7 @@
|
||||
class="text-info font-italic d-none">' . $__t('Tare weight handling enabled - please weigh the whole container, the amount to be posted will be automatically calculcated') . '</div>'
|
||||
))
|
||||
|
||||
@php
|
||||
$additionalGroupCssClasses = '';
|
||||
if (!GROCY_FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_TRACKING)
|
||||
{
|
||||
$additionalGroupCssClasses = 'd-none';
|
||||
}
|
||||
@endphp
|
||||
@if(GROCY_FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_TRACKING)
|
||||
@include('components.datetimepicker', array(
|
||||
'id' => 'best_before_date',
|
||||
'label' => 'Best before',
|
||||
@@ -77,7 +71,7 @@
|
||||
'additionalGroupCssClasses' => $additionalGroupCssClasses,
|
||||
'activateNumberPad' => GROCY_FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_FIELD_NUMBER_PAD
|
||||
))
|
||||
@php $additionalGroupCssClasses = ''; @endphp
|
||||
@endif
|
||||
|
||||
@if(GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING)
|
||||
@include('components.numberpicker', array(
|
||||
|
Reference in New Issue
Block a user