{{-- Ports app/Views/student/show.php's renderGroupCard() (legacy, lines 76-282) — see the Phase 8 plan. Stats/tariff/month-grouping are precomputed in StudentProfileController@loadGroupInfo/computeGroupStats/resolveGroupTariff (Blade partials shouldn't run SQL or business logic), not recomputed here. --}} @php $tariff = $group->tariff; $stats = $group->stats; $uniqueId = $group->uniqueId; @endphp
Предмет: {{ $group->discipline_name }}
Учитель: {{ $group->teacher_name ?? '—' }}
С: {{ date('d.m.Y', strtotime($group->joined_at)) }} @if ($group->end_date) по {{ date('d.m.Y', strtotime($group->end_date)) }} @endif
@if ($tariff)