Skip to content
Snippets Groups Projects
Commit 7726cfad authored by permcu's avatar permcu
Browse files

Implement StatisticsAbsencesCard

parent 79be14ea
No related branches found
No related tags found
1 merge request!361Resolve "Add statistics page for absences"
<template> <template>
<v-card> <v-card>
<absence-reason-chip
v-for="absenceReason in absenceReasons"
:absenceReason="absenceReason.absenceReason"
:count="absenceReason.count"
/>
</v-card> </v-card>
</template> </template>
<script> <script>
import AbsenceReasonChip from "aleksis.apps.kolego/components/AbsenceReasonChip.vue";
export default { export default {
name: "StatisticsAbsencesCard", name: "StatisticsAbsencesCard",
components: {
AbsenceReasonChip
},
props: {
absenceReasons: {
type: Array,
required: true,
},
},
}; };
</script> </script>
...@@ -8,7 +8,9 @@ ...@@ -8,7 +8,9 @@
<v-card-title v-else> <v-card-title v-else>
{{ $t("alsijil.coursebook.statistics.person_page.title") }} {{ $t("alsijil.coursebook.statistics.person_page.title") }}
</v-card-title> </v-card-title>
<statistics-absences-card /> <statistics-absences-card
:absence-reasons="statistics.absenceReasons"
/>
<statistics-tardiness-card /> <statistics-tardiness-card />
<statistics-extra-marks-card /> <statistics-extra-marks-card />
<statistics-personal-notes-list <statistics-personal-notes-list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment