diff --git a/aleksis/apps/alsijil/frontend/components/coursebook/CoursebookPrintDialog.vue b/aleksis/apps/alsijil/frontend/components/coursebook/CoursebookPrintDialog.vue index 65e29f2c5d8b21484afb50fc85be002db93e6359..b69ab14f62efeb404a75add394701dbe47f167a9 100644 --- a/aleksis/apps/alsijil/frontend/components/coursebook/CoursebookPrintDialog.vue +++ b/aleksis/apps/alsijil/frontend/components/coursebook/CoursebookPrintDialog.vue @@ -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>