Added new columns on the stock overview page (closes #1351)

This commit is contained in:
Bernd Bestel
2021-07-08 20:42:07 +02:00
parent 8b977644f7
commit 8c5c12cb47
4 changed files with 30 additions and 4 deletions

View File

@@ -170,6 +170,8 @@
<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>
<th>{{ $__t('Parent product') }}</th>
<th>{{ $__t('Default location') }}</th>
@include('components.userfields_thead', array(
'userfields' => $userfields
@@ -403,6 +405,13 @@
<td>
{{ $currentStockEntry->product_description }}
</td>
<td class="product-name-cell cursor-link"
data-product-id="{{ $currentStockEntry->parent_product_id }}">
{{ $currentStockEntry->parent_product_name }}
</td>
<td>
{{ $currentStockEntry->product_default_location_name }}
</td>
@include('components.userfields_tbody', array(
'userfields' => $userfields,