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

Implement print-method for the coursebook-print-dialog

parent 9da714c5
No related branches found
No related tags found
1 merge request!422Resolve "Add export functionality to course book"
Pipeline #193618 failed
......@@ -132,6 +132,23 @@ export default {
this.currentGroupSelection=groups;
console.log(groups);
},
print() {
this.$router.push({
name: "alsijil.coursebook_print",
params: {
// TODO: Send & handle more than one group!
groupId: this.selectedGroups[0],
},
query: {
cover: this.includeCover,
abbreviations: this.includeAbbreviations,
members_table: this.includeMembersTable,
teachers_and_subjects_table: this.includeTeachersAndSubjectsTable,
person_overviews: this.includePersonOverviews,
coursebook: this.includeCoursebook,
},
});
},
},
};
</script>
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