mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 07:39:25 +01:00
Add battery description column to batteries overview
This commit is contained in:
parent
9c123bd92a
commit
6a6ad57340
|
|
@ -97,6 +97,7 @@
|
|||
href="#"><i class="fa-solid fa-eye"></i></a>
|
||||
</th>
|
||||
<th>{{ $__t('Battery') }}</th>
|
||||
<th>{{ $__t('Description') }}</th>
|
||||
<th class="allow-grouping">{{ $__t('Used in') }}</th>
|
||||
<th>{{ $__t('Last charged') }}</th>
|
||||
<th>{{ $__t('Next planned charge cycle') }}</th>
|
||||
|
|
@ -166,6 +167,10 @@
|
|||
data-battery-id="{{ $currentBatteryEntry->battery_id }}">
|
||||
{{ FindObjectInArrayByPropertyValue($batteries, 'id', $currentBatteryEntry->battery_id)->name }}
|
||||
</td>
|
||||
<td class="fit-content"
|
||||
data-battery-id="{{ $currentBatteryEntry->battery_id }}">
|
||||
{{ FindObjectInArrayByPropertyValue($batteries, 'id', $currentBatteryEntry->battery_id)->description }}
|
||||
</td>
|
||||
<td class="fit-content">
|
||||
{{ FindObjectInArrayByPropertyValue($batteries, 'id', $currentBatteryEntry->battery_id)->used_in }}
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user