xlsx sheet updated

This commit is contained in:
s416422 2019-12-14 23:14:52 +01:00
parent db8621837f
commit 03aaf21519

View File

@ -1,8 +1,6 @@
<table class="table table-striped subjects-table"> <table class="table table-striped subjects-table">
<tr class="thead-dark"> <tr class="thead-dark">
@if(!$export == 1) <th> Nazwa zajęć </th>
<th> Nazwa zajęć </th>
@endif
<th> Nr indeksu </th> <th> Nr indeksu </th>
<th> Imię </th> <th> Imię </th>
<th> Nazwisko </th> <th> Nazwisko </th>
@ -13,11 +11,9 @@
</tr> </tr>
@foreach ($attendances_list as $attendance) @foreach ($attendances_list as $attendance)
<tr> <tr>
@if(!$export == 1) <td> {{ App\Subject::find(App\Classes::find($attendance->classes_id)->subject_id)->name }},
<td> {{ App\Subject::find(App\Classes::find($attendance->classes_id)->subject_id)->name }},
{{ 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> {{ 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>
@endif <td> {{ $attendance->student_id_number }} </td>
<td> {{ $attendance->student_id_number }} </td>
<td> {{ $attendance->student_name}}</td> <td> {{ $attendance->student_name}}</td>
<td> {{ $attendance->student_surname}}</td> <td> {{ $attendance->student_surname}}</td>
<td> {{ $attendance->seat_number }} </td> <td> {{ $attendance->seat_number }} </td>