|
|
@@ -10,7 +10,7 @@
|
|
|
<div class="table-wrap table-main" data-height="{{ $tableHeight }}">
|
|
|
<table class="custom-data-table dataTable {{ $grid->formatTableClass() }}" id="{{ $tableId }}">
|
|
|
<thead>
|
|
|
- @if ($headers = $grid->getComplexHeaders())
|
|
|
+ @if ($headers = $grid->getVisibleComplexHeaders())
|
|
|
<tr>
|
|
|
@foreach($headers as $header)
|
|
|
{!! $header->render() !!}
|
|
|
@@ -18,7 +18,7 @@
|
|
|
</tr>
|
|
|
@endif
|
|
|
<tr>
|
|
|
- @foreach($grid->columns() as $column)
|
|
|
+ @foreach($grid->getVisibleColumns() as $column)
|
|
|
<th {!! $column->formatTitleAttributes() !!}>{!! $column->getLabel() !!}{!! $column->renderHeader() !!}</th>
|
|
|
@endforeach
|
|
|
</tr>
|
|
|
@@ -31,7 +31,7 @@
|
|
|
<tbody>
|
|
|
@foreach($grid->rows() as $row)
|
|
|
<tr {!! $row->rowAttributes() !!}>
|
|
|
- @foreach($grid->getColumnNames() as $name)
|
|
|
+ @foreach($grid->getVisibleColumnNames() as $name)
|
|
|
<td {!! $row->columnAttributes($name) !!}>
|
|
|
{!! $row->column($name) !!}
|
|
|
</td>
|
|
|
@@ -40,7 +40,7 @@
|
|
|
@endforeach
|
|
|
@if ($grid->rows()->isEmpty())
|
|
|
<tr>
|
|
|
- <td colspan="{!! count($grid->getColumnNames()) !!}">
|
|
|
+ <td colspan="{!! count($grid->getVisibleColumnNames()) !!}">
|
|
|
<div style="margin:5px 0 0 10px;"><span class="help-block" style="margin-bottom:0"><i class="feather icon-alert-circle"></i> {{ trans('admin.no_data') }}</span></div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
@@ -54,7 +54,7 @@
|
|
|
<table class="custom-data-table dataTable {{ $grid->formatTableClass() }} ">
|
|
|
<thead>
|
|
|
|
|
|
- @if ($grid->getComplexHeaders())
|
|
|
+ @if ($grid->getVisibleComplexHeaders())
|
|
|
<tr>
|
|
|
@foreach($grid->leftVisibleComplexColumns() as $header)
|
|
|
{!! $header->render() !!}
|
|
|
@@ -97,7 +97,7 @@
|
|
|
<div class="table-wrap table-fixed table-fixed-right" data-height="{{ $tableHeight }}">
|
|
|
<table class="custom-data-table dataTable {{ $grid->formatTableClass() }} ">
|
|
|
<thead>
|
|
|
- @if ($grid->getComplexHeaders())
|
|
|
+ @if ($grid->getVisibleComplexHeaders())
|
|
|
<tr>
|
|
|
@foreach($grid->rightVisibleComplexColumns() as $header)
|
|
|
{!! $header->render() !!}
|