mirror of
https://github.com/grocy/grocy.git
synced 2025-08-23 05:19:11 +00:00
Fix stock entries page rendering problem when FEATURE_FLAG_STOCK_PRICE_TRACKING is set to false (references #658)
This commit is contained in:
@@ -35,8 +35,10 @@
|
|||||||
<th>{{ $__t('Amount') }}</th>
|
<th>{{ $__t('Amount') }}</th>
|
||||||
<th>{{ $__t('Best before date') }}</th>
|
<th>{{ $__t('Best before date') }}</th>
|
||||||
@if(GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING)<th>{{ $__t('Location') }}</th>@endif
|
@if(GROCY_FEATURE_FLAG_STOCK_LOCATION_TRACKING)<th>{{ $__t('Location') }}</th>@endif
|
||||||
|
@if(GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING)
|
||||||
<th>{{ $__t('Shopping location') }}</th>
|
<th>{{ $__t('Shopping location') }}</th>
|
||||||
@if(GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING)<th>{{ $__t('Price') }}</th>@endif
|
<th>{{ $__t('Price') }}</th>
|
||||||
|
@endif
|
||||||
<th>{{ $__t('Purchased date') }}</th>
|
<th>{{ $__t('Purchased date') }}</th>
|
||||||
|
|
||||||
@include('components.userfields_thead', array(
|
@include('components.userfields_thead', array(
|
||||||
|
Reference in New Issue
Block a user