From 680753d7dc01e1d6c52570e176951cbf63068203 Mon Sep 17 00:00:00 2001 From: s416422 Date: Mon, 9 Dec 2019 12:25:32 +0100 Subject: [PATCH] classes display fix --- resources/views/user/user_attendances.blade.php | 2 +- resources/views/user/user_classes.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/user/user_attendances.blade.php b/resources/views/user/user_attendances.blade.php index 81fac65..cc8a9f9 100644 --- a/resources/views/user/user_attendances.blade.php +++ b/resources/views/user/user_attendances.blade.php @@ -133,7 +133,7 @@ @foreach ($attendances_list as $attendance) {{ 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) }} + {{ 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 }} {{ $attendance->student_id_number }} {{ $attendance->student_name}} {{ $attendance->student_surname}} diff --git a/resources/views/user/user_classes.blade.php b/resources/views/user/user_classes.blade.php index e0b2874..5be3db7 100644 --- a/resources/views/user/user_classes.blade.php +++ b/resources/views/user/user_classes.blade.php @@ -16,7 +16,7 @@