@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
| {!! $col !!} |
@empty
Sin datos |
@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
| {!! $col !!} |
@empty
Sin datos |
@endforelse