@extends('layouts.admin.app') @section('page-title') {{ __('classes') }} @endSection @section('page-nav-title')

{{ __('classes') }}

{{ __('all-classes') }}

@endsection @section('content') {{-- @if (!auth()->user()->is_super_admin)

{{ __("search") }}

@csrf
@if ($errors->has('class'))
{{ $errors->first('class') }}
@endif
@if ($errors->has('division'))
{{ $errors->first('division') }}
@endif
@if ($errors->has('date_from'))
{{ $errors->first('date_from') }}
@endif
@if ($errors->has('date_to'))
{{ $errors->first('date_to') }}
@endif
@endif --}}
@if (!Auth()->user()->is_super_admin) @endif
@if (!Auth::user()->is_super_admin) @else @endif @if (!Auth::user()->is_super_admin) @foreach ($classes as $key => $class) @endforeach @else @foreach ($subscribers as $key => $subscriber) @endforeach @endif
{{ __('#ID') }} {{ __('class') }} {{ __('division') }} {{ __('Control') }}
{{ __('#ID') }} {{ __('subscribers') }} {{ __('view') }}
{{ ++$key }} {{ app()->getLocale() == 'en' ? $class->name_en : $class->name_ar }} @if (count($class->division ) > 0 && $class->division->isNotEmpty()) @else

{{ __('There Is No Division For This Class') }}

@endif
{{ ++$key }} {{ $subscriber->full_name }}
@endsection @section('scripts') @if (app()->getLocale() == 'ar') @else @endif @endsection