@extends('layouts.admin') @section('page-title','') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), '#'=>isset($pageTitle)?$pageTitle:'' ]]) @endsection @section('search-form')
@endsection @section('content')
{{ __lang('add-class') }}
{{ formElement($text) }}
{{ formElement($select) }}
{{ formElement($sortSelect) }}


@php if(GLOBAL_ACCESS): @endphp @php endif; @endphp @php foreach($paginator as $row): @endphp @php if(GLOBAL_ACCESS): @endphp @php endif; @endphp @php endforeach; @endphp
{{ __lang('id') }} {{ __lang('name') }} {{ __lang('class-type') }} {{ __lang('sort-order') }}{{ __lang('created-by') }}{{__lang('actions')}}
{{ $row->id }} {{ $row->name }} {{ ($row->type=='s')? __lang('physical-location'):__lang('online') }} @php if($row->type=='c'): @endphp ( {{ $lectureTable->getTotalLectures($row->id) }} {{ __lang('lectures') }} ) @php endif; @endphp {{ $row->sort_order }}{{ adminName($row->admin_id) }}
{{ $paginator->appends(request()->input())->links() }}
@endsection