mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 20:26:42 +00:00
Fixed batteries stock overview page was broken when having any Userfield (fixes #1786)
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
### Batteries
|
### 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
|
### Equipment
|
||||||
|
|
||||||
|
@@ -194,6 +194,12 @@
|
|||||||
@if($currentBatteryEntry->due_type == 'duetoday')
|
@if($currentBatteryEntry->due_type == 'duetoday')
|
||||||
duesoon
|
duesoon
|
||||||
@endif
|
@endif
|
||||||
|
</td>
|
||||||
|
|
||||||
|
@include('components.userfields_tbody',
|
||||||
|
array( 'userfields'=> $userfields,
|
||||||
|
'userfieldValues' => FindAllObjectsInArrayByPropertyValue($userfieldValues, 'object_id', $currentBatteryEntry->battery_id)
|
||||||
|
))
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
Reference in New Issue
Block a user