@if (Auth::user()->role == 'admin' || Auth::user()->role == 'teacher') @endif

@if (count($leaner) == 0) @endif @php $no = 1; @endphp @foreach ( $leaner as $row) @endforeach
No Subject Detail Image Action
No data available in table
{{$no++}} {{$row->subject}} {{$row->detail}} @if(isset($row->gambar)) thumbnail @endif @if (Auth::user()->role == 'admin' || Auth::user()->role == 'teacher') @endif