This commit is contained in:
2020-09-14 16:03:28 +00:00
parent 2a5cad343e
commit 511c717cc5
2 changed files with 17 additions and 14 deletions

View File

@@ -350,13 +350,14 @@ export default {
}
},
showLinkReportId() {
//TODO: Many others as well, but for now until those objects exist
//NOTE: Currently projected: Only Quotes and Workorders are involved in sending as attached reports
//And only to customers and only single items, not lists so it's doable to indicate a report id
//and send a link from notification to open the report
switch (this.obj.eventType) {
case 27: //General notification
case 20: //backup status
return false;
default:
case 999: //to be filled in later
return true;
default:
return false;
}
},
showTags() {