<thead class="border-top-style"> <tr> <th colspan="{{ count($class->dates) + 2 }}">{{ $table }}</th> </tr> </thead>