Skip to content
Snippets Groups Projects
Commit 12b68860 authored by Julian's avatar Julian
Browse files

Show tardinesses in group statistics table

parent 9600f28f
No related branches found
No related tags found
1 merge request!361Resolve "Add statistics page for absences"
...@@ -29,6 +29,17 @@ ...@@ -29,6 +29,17 @@
</v-avatar> </v-avatar>
{{ item.person.fullName }} {{ item.person.fullName }}
</template> </template>
<template #tardinessCount="{ item }">
<v-chip outlined class="me-2">
<v-icon left>mdi-chart-line-variant</v-icon>
{{ item.tardinessCount }}×
</v-chip>
<v-chip outlined>
<v-icon left>mdi-sigma</v-icon>
{{ $tc("time.minutes_n", item.tardinessSum) }}
</v-chip>
</template>
</c-r-u-d-list> </c-r-u-d-list>
</template> </template>
...@@ -82,7 +93,8 @@ export default { ...@@ -82,7 +93,8 @@ export default {
}; };
}), }),
{ {
text: "", text: this.$t("alsijil.personal_notes.tardiness_plural"),
value: "tardinessCount",
}, },
]; ];
}, },
......
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