Added min. stock amount column to stock overview (closes #856)

This commit is contained in:
Bernd Bestel
2020-12-19 17:25:13 +01:00
parent 3ad5f2cac5
commit 362b3f8508
5 changed files with 12 additions and 4 deletions

View File

@@ -168,6 +168,7 @@
<th>{{ $__t('Calories') }}</th>
<th>{{ $__t('Last purchased') }}</th>
<th class="@if(!GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING) d-none @endif">{{ $__t('Last price') }}</th>
<th>{{ $__t('Min. stock amount') }}</th>
@include('components.userfields_thead', array(
'userfields' => $userfields
@@ -380,6 +381,9 @@
<td class="@if(!GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING) d-none @endif">
<span class="locale-number locale-number-currency">{{ $currentStockEntry->last_price }}</span>
</td>
<td>
<span class="locale-number locale-number-quantity-amount">{{ $currentStockEntry->min_stock_amount }}</span>
</td>
@include('components.userfields_tbody', array(
'userfields' => $userfields,