{{ __('app.academics.title') }}

{{ __('app.academics.desc') }}

@can('academics.create') {{ __('app.academics.years.create') }} @endcan
@if ($notice) {{ $notice }} @endif @if ($errors->has('archive') || $errors->has('current')) {{ $errors->first('archive') ?: $errors->first('current') }} @endif @if ($showForm)
{{ __('app.actions.cancel') }} {{ __('app.actions.save') }}
@endif
@forelse ($years as $year) @empty @endforelse
{{ __('app.academics.fields.name') }} {{ __('app.academics.fields.code') }} {{ __('app.academics.years.period') }} {{ __('app.academics.years.records') }} {{ __('app.academics.status') }} {{ __('app.actions.view') }}
{{ $year->name }} @if ($year->is_current) {{ __('app.academics.years.current') }} @endif {{ $year->code }} {{ $year->starts_on->format('d M Y') }} — {{ $year->ends_on->format('d M Y') }} {{ __('app.academics.years.counts', ['students' => $year->students_count, 'applications' => $year->applications_count]) }} @if ($year->isArchived()) {{ __('app.academics.archived') }} @else {{ __('app.academics.active') }} @endif
@can('academics.edit') @if ($year->isArchived()) {{ __('app.actions.restore') }} @else @unless ($year->is_current) {{ __('app.actions.set_current') }} @endunless {{ __('app.actions.edit') }} {{ __('app.actions.archive') }} @endif @endcan