// use the group names as headers for the v-select
value:'tardiness',
},
returnthis.groups.map(
{
group=>{
text:window.django.gettext('Excused'),
return[
value:'excused',
{header:group.name,id:group.short_name},
},
group.members
{
]
text:window.django.gettext('Excuse Type'),
}
value:'excuse_type',
).flat(2);
},
{
text:window.django.gettext('Extra Marks'),
value:'extra_marks',
},
{
text:window.django.gettext('Remarks'),
value:'remarks',
},
],
}
}
},
},
template:`
template:`
...
@@ -56,7 +58,10 @@ export default {
...
@@ -56,7 +58,10 @@ export default {
>
>
<template v-slot:activator="{ on, attrs }">
<template v-slot:activator="{ on, attrs }">
<div>
<div>
<v-chip class="ma-1" v-for="personal_note in personalNotes" close @click="editPersonalNote(personal_note)" @click:close="removePersonalNote(personal_note)">{{personal_note.student.full_name}}: {{personal_note.tardiness}}</v-chip>
<v-chip class="ma-1" v-for="personal_note in personalNotes" close