This commit is contained in:
2019-06-12 19:56:14 +00:00
parent 03d4b11394
commit dce45378da
3 changed files with 15 additions and 7 deletions

View File

@@ -116,12 +116,13 @@ export default {
}, /////////////////////////////////////
// Show a report list
//
async getReportChoice(vm, reports) {
async getReportChoice(vm, reports, preselected) {
const result = await vm.$dialog.showAndWait(reportChooser, {
reports: reports,
title: vm.$gzlocale.get("Report"),
oktext: vm.$gzlocale.get("Print"),
canceltext: vm.$gzlocale.get("Cancel")
canceltext: vm.$gzlocale.get("Cancel"),
selectedvalue: preselected
});
return result;
}