This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user