3092-module_transactions #740

Merged
joan merged 41 commits from 3092-module_transactions into dev 2021-10-18 07:42:24 +00:00
2 changed files with 12 additions and 12 deletions
Showing only changes of commit 0b46e9ce35 - Show all commits

View File

@ -36,6 +36,18 @@ class Controller extends Section {
});
}
get isInvoiced() {
return this.ticket.refFk !== null;
}
get isTicketModule() {
return this.$state.getCurrentPath()[1].state.name === 'ticket';
}
get hasInvoicing() {
return this.aclService.hasAny(['invoicing']);
}
loadData() {
const filter = {
include: [{
@ -82,14 +94,6 @@ class Controller extends Section {
});
}
get isInvoiced() {
return this.ticket.refFk !== null;
}
get isTicketModule() {
return this.$state.getCurrentPath()[1].state.name === 'ticket';
}
isTicketEditable() {
if (!this.ticket) return;

View File

@ -18,10 +18,6 @@ class Controller extends Descriptor {
super.entity = value;
}
get hasInvoicing() {
return this.aclService.hasAny(['invoicing']);
}
loadData() {
const filter = {
include: [