2019-12-14 22:03:41 +01:00
|
|
|
<table class="table table-striped subjects-table">
|
|
|
|
<tr class="thead-dark">
|
2019-12-14 23:14:52 +01:00
|
|
|
<th> Nazwa zajęć </th>
|
2019-12-14 22:03:41 +01:00
|
|
|
<th> Nr indeksu </th>
|
|
|
|
<th> Imię </th>
|
|
|
|
<th> Nazwisko </th>
|
|
|
|
<th> Nr miejsca </th>
|
|
|
|
@if(!$export == 1)
|
|
|
|
<th></th>
|
|
|
|
@endif
|
|
|
|
</tr>
|
|
|
|
@foreach ($attendances_list as $attendance)
|
|
|
|
<tr>
|
2019-12-14 23:14:52 +01:00
|
|
|
<td> {{ App\Subject::find(App\Classes::find($attendance->classes_id)->subject_id)->name }},
|
2019-12-14 22:03:41 +01:00
|
|
|
{{ App\Classes::find($attendance->classes_id)-> date }} {{ App\Subject::find(App\Classes::find($attendance->classes_id)->subject_id)->time }}, sala {{ App\Room::find(App\Subject::find(App\Classes::find($attendance->classes_id)->subject_id)->room_id)->name }} </td>
|
2019-12-14 23:14:52 +01:00
|
|
|
<td> {{ $attendance->student_id_number }} </td>
|
2019-12-14 22:03:41 +01:00
|
|
|
<td> {{ $attendance->student_name}}</td>
|
|
|
|
<td> {{ $attendance->student_surname}}</td>
|
|
|
|
<td> {{ $attendance->seat_number }} </td>
|
|
|
|
@if(!$export == 1)
|
|
|
|
<td>
|
|
|
|
<a href="{{ route('user_delete_attendance', [$attendance->id]) }}" name="delete-attendance-btn" class="btn btn-danger"> Usuń </a>
|
|
|
|
</td>
|
|
|
|
@endif
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</table>
|