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>
<v-card>
<absence-reason-chip
v-for="absenceReason in absenceReasons"
:absenceReason="absenceReason.absenceReason"
:count="absenceReason.count"
/>
</v-card>
</template>
<script>
import AbsenceReasonChip from "aleksis.apps.kolego/components/AbsenceReasonChip.vue";
export default {
name: "StatisticsAbsencesCard",
components: {
AbsenceReasonChip
},
props: {
absenceReasons: {
type: Array,
required: true,
},
},
};
</script>
......@@ -8,7 +8,9 @@
<v-card-title v-else>
{{ $t("alsijil.coursebook.statistics.person_page.title") }}
</v-card-title>
<statistics-absences-card />
<statistics-absences-card
:absence-reasons="statistics.absenceReasons"
/>
<statistics-tardiness-card />
<statistics-extra-marks-card />
<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