Add some more columns (hidden by default) (references https://github.com/grocy/grocy/issues/1058#issuecomment-744059155)

This commit is contained in:
Bernd Bestel
2020-12-19 10:51:07 +01:00
parent eb4a748da3
commit 7ef5bc6f77
9 changed files with 124 additions and 3 deletions

View File

@@ -478,6 +478,7 @@
@endif
<th>{{ $__t('Quantity unit') }}</th>
<th>{{ $__t('Amount') }}</th>
<th class="@if(!GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING) d-none @endif">{{ $__t('Last price') }}</th>
@include('components.userfields_thead', array(
'userfields' => $productBarcodeUserfields
@@ -523,6 +524,9 @@
<span class="locale-number locale-number-quantity-amount">{{ $barcode->amount }}</span>
@endif
</td>
<td class="@if(!GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING) d-none @endif">
<span class="locale-number locale-number-currency">{{ $barcode->last_price }}</span>
</td>
@include('components.userfields_tbody', array(
'userfields' => $productBarcodeUserfields,