@forelse($columns as $key => $column) @php $props = ''; $col = ''; @endphp @if (is_array($column)) @php $col = $key; @endphp @foreach($column as $k => $v) @php $props .= $k.'="'.$v.'"'; @endphp @endforeach @else @php $col = $column; @endphp @endif @empty @endforelse @forelse($columns as $key => $column) @php $props = ''; $col = ''; @endphp @if (is_array($column)) @php $col = $key; @endphp @foreach($column as $k => $v) @php $props .= $k.'='.$v; @endphp @endforeach @else @php $col = $column; @endphp @endif @empty @endforelse
{!! $col !!}Sin datos
{!! $col !!}Sin datos