Add calories as a column to stock overview (references #1058)

This commit is contained in:
Bernd Bestel
2020-11-11 22:06:01 +01:00
parent e7491fd8d1
commit 7c8a17ce78
4 changed files with 13 additions and 5 deletions

View File

@@ -160,6 +160,7 @@
<th class="d-none">Hidden location</th>
<th class="d-none">Hidden status</th>
<th class="d-none">Hidden product group</th>
<th>{{ $__t('Calories') }}</th>
@include('components.userfields_thead', array(
'userfields' => $userfields
@@ -366,6 +367,9 @@
<td class="d-none">
xx{{ $currentStockEntry->product_group_name }}xx
</td>
<td>
<span class="locale-number locale-number-generic">{{ $currentStockEntry->calories }}</span>
</td>
@include('components.userfields_tbody', array(
'userfields' => $userfields,