mirror of
https://github.com/grocy/grocy.git
synced 2025-08-21 04:43:32 +00:00
Hide stock value on productcard when FEATURE_FLAG_STOCK_PRICE_TRACKING is disabled
This commit is contained in:
@@ -46,8 +46,8 @@
|
|||||||
class="pl-2 text-secondary d-none"><i class="fas fa-custom-sigma-sign"></i> <span id="productcard-product-stock-amount-aggregated"
|
class="pl-2 text-secondary d-none"><i class="fas fa-custom-sigma-sign"></i> <span id="productcard-product-stock-amount-aggregated"
|
||||||
class="locale-number locale-number-quantity-amount"></span> <span id="productcard-product-stock-qu-name-aggregated"></span> <span id="productcard-product-stock-opened-amount-aggregated locale-number locale-number-quantity-amount"
|
class="locale-number locale-number-quantity-amount"></span> <span id="productcard-product-stock-qu-name-aggregated"></span> <span id="productcard-product-stock-opened-amount-aggregated locale-number locale-number-quantity-amount"
|
||||||
class="small font-italic"></span></span><br>
|
class="small font-italic"></span></span><br>
|
||||||
<strong>{{ $__t('Stock value') }}:</strong> <span id="productcard-product-stock-value"
|
@if(GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING)<strong>{{ $__t('Stock value') }}:</strong> <span id="productcard-product-stock-value"
|
||||||
class="locale-number locale-number-currency"></span><br>
|
class="locale-number locale-number-currency"></span><br>@endif
|
||||||
@if(GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING)<strong>{{ $__t('Default location') }}:</strong> <span id="productcard-product-location"></span><br>@endif
|
@if(GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING)<strong>{{ $__t('Default location') }}:</strong> <span id="productcard-product-location"></span><br>@endif
|
||||||
<strong>{{ $__t('Last purchased') }}:</strong> <span id="productcard-product-last-purchased"></span> <time id="productcard-product-last-purchased-timeago"
|
<strong>{{ $__t('Last purchased') }}:</strong> <span id="productcard-product-last-purchased"></span> <time id="productcard-product-last-purchased-timeago"
|
||||||
class="timeago timeago-contextual"></time><br>
|
class="timeago timeago-contextual"></time><br>
|
||||||
|
Reference in New Issue
Block a user