Added the product descrption as a column on the stock overview page (closes #1362)

This commit is contained in:
Bernd Bestel
2021-07-08 20:22:51 +02:00
parent 7595d640f5
commit 8b977644f7
4 changed files with 12 additions and 2 deletions

View File

@@ -169,6 +169,7 @@
<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>
<th>{{ $__t('Product description') }}</th>
@include('components.userfields_thead', array(
'userfields' => $userfields
@@ -399,6 +400,9 @@
<td>
<span class="locale-number locale-number-quantity-amount">{{ $currentStockEntry->min_stock_amount }}</span>
</td>
<td>
{{ $currentStockEntry->product_description }}
</td>
@include('components.userfields_tbody', array(
'userfields' => $userfields,