<table class="table subjects-table">
    <tr class="thead-light">
        <th> Nr indeksu </th>
        <th> ImiÄ™ </th>
        <th> Nazwisko </th>
        <th> Nr miejsca </th>
    </tr>
    @foreach ($attendances as $attendance)
        <tr class="attendance-id" id="{{ $attendance->seat_number }}++{{ $attendance->student_name}}++{{ $attendance->student_surname}}">
            <td> {{ $attendance->student_id_number }} </td>
            <td> {{ $attendance->student_name}}</td>
            <td> {{ $attendance->student_surname}}</td>
            <td> {{ $attendance->seat_number }} </td>
        </tr>
    @endforeach
</table>