ЕНТ — результаты
@include('admin.ent_scores._results_card', [
'search' => $search,
'classId' => $classId,
'students' => $students,
'sections' => $sections,
'lastProfile' => $lastProfile,
'detail' => $detail,
'attempts' => $attempts,
])
@endsection
@push('scripts')
{{--
Behaviour for the profile-subject slots in _results_card (read its header first — it
explains the compact/full split this drives).
Everything is delegated off `document` rather than bound to the controls themselves:
a successful submit replaces #entScoresCard wholesale (js-ajax-form's
data-replace-target), so anything bound at load time would be gone afterwards.
Whatever state doesn't survive that swap — the "все предметы" switch, the two
list-wide default dropdowns — is re-applied by refresh() below.
--}}
@endpush