@if($table->data->isEmpty() && $table->rendersAlternativeForEmptyDataset())
| {{ $table->options['empty']['text'] }} |
@else
@unless($table->headerIsHidden())
@foreach($table->columns as $column)
| width)style="width: {{ $column->width }};"@endisset>{!! $column->title !!} |
@endforeach
@endunless
@foreach($table->data as $line)
@foreach($table->columns as $column)
| tdAttributes() !!}@if($column->hasInlineStyle())style="{{ $column->inlineStyle() }}"@endif>{!! $column->render($line) !!} |
@endforeach
@endforeach
@if($table->hasFooter())
@foreach($table->footer as $footerColumn)
tdAttributes() !!}@if($footerColumn->hasInlineStyle())style="{{ $footerColumn->inlineStyle() }}"@endif>{!! $footerColumn->render($table->data) !!} |
@endforeach
@endif
@endif