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