@if (!empty($config['table_body']['status']) && !empty($data))
@php
$b_c = $config['table_body'];
@endphp
@foreach ($data as $item)
|
{!! $item['name'] ?? '' !!}
|
{!! $item['value'] ?? '-' !!}
|
@endforeach
@endif
@if (!empty($config['table_table']['status']) && !empty($table))
@php
$t_c = $config['table_table'];
@endphp
@if (!empty($table['header']))
@foreach ($table['header'] as $h)
|
{{ $h['name'] ?? '' }}
|
@endforeach
@endif
@if (!empty($table['body']))
@foreach ($table['body'] as $b)
@foreach ($b as $k => $v)
|
{{ $v['value'] ?? '' }}
|
@endforeach
@endforeach
@endif
@endif
@if (!empty($config['table_footer']['status']))
@endif