This commit is contained in:
2020-12-01 16:05:18 +00:00
parent f700702215
commit adf8eee4d7
5 changed files with 39 additions and 22 deletions

View File

@@ -11,7 +11,6 @@
hide-default-footer
@click:row="rowClick"
:sort-by="['name']"
show-select
:header-props="{ sortByText: $ay.t('Sort') }"
data-cy="usersTable"
>
@@ -223,20 +222,24 @@ function generateMenu(vm) {
}
//STUB REPORTS
//Report not Print, print is a further option
menuOptions.menuItems.push({
title: "Report",
icon: "$ayiFileAlt",
key: FORM_KEY + ":report",
vm: vm
});
//## NOTE: This form is not based on a DataList so it cannot be printed
//if it was a datalist then all would be as normal
//not sure why it's not a datalist
menuOptions.menuItems.push({
title: "stub: Last report used",
icon: "$ayiFileAlt",
key: FORM_KEY + ":report:STUBlastusedreportid",
vm: vm
});
//Report not Print, print is a further option
// menuOptions.menuItems.push({
// title: "Report",
// icon: "$ayiFileAlt",
// key: FORM_KEY + ":report",
// vm: vm
// });
// menuOptions.menuItems.push({
// title: "stub: Last report used",
// icon: "$ayiFileAlt",
// key: FORM_KEY + ":report:STUBlastusedreportid",
// vm: vm
// });
// menuOptions.menuItems.push({
// title: "Extensions",