| Week |
Teory |
Detail |
Practice |
@if (Auth::user()->role == 'admin' || Auth::user()->role == 'teacher')
Action |
@endif
@foreach ($data as $row)
| {{$row->week}} |
{{$row->teori}} |
{{$row->detail}} |
{{$row->practice}} |
@if (Auth::user()->role == 'admin' || Auth::user()->role == 'teacher')
|
@endif
@endforeach