2022-04-02 10:37:53 +02:00
|
|
|
@php
|
|
|
|
if (!isset($excludeFieldTypes))
|
|
|
|
{
|
|
|
|
$excludeFieldTypes = [];
|
|
|
|
}
|
|
|
|
@endphp
|
|
|
|
|
2021-07-09 21:30:35 +02:00
|
|
|
@if($userfields && count($userfields) > 0)
|
2019-04-22 22:16:35 +02:00
|
|
|
|
|
|
|
@foreach($userfields as $userfield)
|
|
|
|
|
2022-04-02 10:37:53 +02:00
|
|
|
@if(in_array($userfield->type, $excludeFieldTypes))
|
|
|
|
@continue
|
|
|
|
@endif
|
|
|
|
|
2019-04-22 22:16:35 +02:00
|
|
|
@if($userfield->show_as_column_in_tables == 1)
|
2022-02-15 18:40:42 +01:00
|
|
|
<th class="allow-grouping">{{ $userfield->caption }}</th>
|
2019-04-22 22:16:35 +02:00
|
|
|
@endif
|
|
|
|
|
|
|
|
@endforeach
|
|
|
|
|
|
|
|
@endif
|