Students

{{ selectedStudent ? 'Editing Student: ' + selectedStudent.id : 'Register New Student' }}





Entity Relationships




@if (!selectedStudent) { } @else { }

@for (student of studentList(); track student.id; let isLast = $last) {
  • {{student.id}} {{ student.firstname }} {{ student.lastname }}
    {{ student.email }} | {{ student.telephone }}
    @if (student.studyGroup) {
    📚 Group: {{ student.studyGroup.name }}
    } @if (student.account) {
    👤 Account: {{ student.account.account_name }}
    } @if (student.address) {
    📍 City: {{ student.address.city }}
    } @if (student.teamList && student.teamList.length > 0) {
    👥 Teams: @for (team of student.teamList; track team.id) { {{ team.teamName }} }
    }
  • @if (isLast) {
    } } @empty {

    The student collection is currently empty.

    }