mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Added total calories as a column to stock overview (references #1058)
This commit is contained in:
@@ -161,6 +161,7 @@
|
||||
<th class="d-none">Hidden status</th>
|
||||
<th class="d-none">Hidden product group</th>
|
||||
<th>{{ $__t('Calories') }}</th>
|
||||
<th>{{ $__t('Calories') }} ({{ $__t('Per stock quantity unit') }})</th>
|
||||
|
||||
@include('components.userfields_thead', array(
|
||||
'userfields' => $userfields
|
||||
@@ -367,6 +368,9 @@
|
||||
<td class="d-none">
|
||||
xx{{ $currentStockEntry->product_group_name }}xx
|
||||
</td>
|
||||
<td>
|
||||
<span class="locale-number locale-number-generic">{{ $currentStockEntry->product_calories }}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="locale-number locale-number-generic">{{ $currentStockEntry->calories }}</span>
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user