This commit is contained in:
denisdulici 2020-01-28 09:06:22 +03:00
parent fe7f4b385f
commit 950df870a5

View File

@ -1,19 +1,19 @@
<div class="table-responsive overflow-auto mt-4"> <div class="table-responsive overflow-auto mt-4">
<table class="table align-items-center rp-border-collapse"> <table class="table align-items-center rp-border-collapse">
@include($class->views['table.header']) @include($class->views['table.header'])
<tbody> <tbody>
@if (!empty($class->row_values[$table])) @if (!empty($class->row_values[$table]))
@foreach($class->row_values[$table] as $id => $rows) @foreach($class->row_values[$table] as $id => $rows)
@include($class->views['table.rows']) @include($class->views['table.rows'])
@endforeach @endforeach
@else @else
<tr> <tr>
<td colspan="{{ count($class->dates) + 2 }}"> <td colspan="{{ count($class->dates) + 2 }}">
<h5 class="text-center pl-0">{{ trans('general.no_records') }}</h5> <h5 class="text-center pl-0">{{ trans('general.no_records') }}</h5>
</td> </td>
</tr> </tr>
@endif @endif
</tbody> </tbody>
@include($class->views['table.footer']) @include($class->views['table.footer'])
</table> </table>
</div> </div>