@extends('layouts.teacher') @section('title', $title.' ยท '.config('brand.name')) @section('content')
@include('teacher.progress.nav', ['section' => $section]) @if ($subjects->isEmpty())

Subject performance appears once you are assigned to teach a subject.

@else
@foreach ($subjects as $row) @endforeach
Subject Students Average progress
{{ $row['subject'] }} {{ $row['students'] }} @include('student.partials.progress-bar', ['percent' => $row['average']])
@endif
@endsection