mirror of
https://github.com/grocy/grocy.git
synced 2025-04-30 18:12:44 +00:00
Hide price decimals setting when FEATURE_FLAG_STOCK_PRICE_TRACKING is disabled
This commit is contained in:
parent
2afa0c304d
commit
b42bcaaa44
@ -149,6 +149,7 @@
|
|||||||
'additionalCssClasses' => 'user-setting-control'
|
'additionalCssClasses' => 'user-setting-control'
|
||||||
))
|
))
|
||||||
|
|
||||||
|
@if(GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING)
|
||||||
@include('components.numberpicker', array(
|
@include('components.numberpicker', array(
|
||||||
'id' => 'stock_decimal_places_prices',
|
'id' => 'stock_decimal_places_prices',
|
||||||
'additionalAttributes' => 'data-setting-key="stock_decimal_places_prices"',
|
'additionalAttributes' => 'data-setting-key="stock_decimal_places_prices"',
|
||||||
@ -156,6 +157,7 @@
|
|||||||
'min' => 0,
|
'min' => 0,
|
||||||
'additionalCssClasses' => 'user-setting-control'
|
'additionalCssClasses' => 'user-setting-control'
|
||||||
))
|
))
|
||||||
|
@endif
|
||||||
|
|
||||||
<a href="{{ $U('/stockoverview') }}"
|
<a href="{{ $U('/stockoverview') }}"
|
||||||
class="btn btn-success">{{ $__t('OK') }}</a>
|
class="btn btn-success">{{ $__t('OK') }}</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user