@php $key = collect(explode('.', $parentIndex))->join(".content.") . ".content" @endphp
Column
@foreach ($columns as $i => $column)
{{ Str::ucfirst($column['label']) }}
@endforeach
@if ($options = $this->getOperands($key))
Operand
@foreach ($options as $operand)
{{ $operand }}
@endforeach
@endif @if (!in_array($rule['content']['operand'], ['is empty', 'is not empty']))
@if ($column = $this->getRuleColumn($key))
Value
@if (is_array($column['filterable']))
@foreach ($column['filterable'] as $value => $label) @if (is_object($label))
{{ $label->name }}
@elseif(is_array($label))
{{ $label['name'] }}
@elseif(is_numeric($value))
{{ $label }}
@else
{{ $label }}
@endif @endforeach
@elseif($column['type'] === 'boolean')
True
False
@elseif($column['type'] === 'date')
@elseif($column['type'] === 'time')
@else
@endif
@endif
@endif