mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Fixed batteries stock overview page was broken when having any Userfield (fixes #1786)
This commit is contained in:
parent
c5b47badad
commit
21d5952950
@ -36,7 +36,7 @@
|
||||
|
||||
### Batteries
|
||||
|
||||
- xxx
|
||||
- Fixed that the batteries overview page was broken when there was any battery Userfields with enabled "Show as column in tables" option
|
||||
|
||||
### Equipment
|
||||
|
||||
|
@ -194,6 +194,12 @@
|
||||
@if($currentBatteryEntry->due_type == 'duetoday')
|
||||
duesoon
|
||||
@endif
|
||||
</td>
|
||||
|
||||
@include('components.userfields_tbody',
|
||||
array( 'userfields'=> $userfields,
|
||||
'userfieldValues' => FindAllObjectsInArrayByPropertyValue($userfieldValues, 'object_id', $currentBatteryEntry->battery_id)
|
||||
))
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
|
Loading…
x
Reference in New Issue
Block a user