Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into 3092-module_transactions
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
commit
0b46e9ce35
|
@ -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() {
|
loadData() {
|
||||||
const filter = {
|
const filter = {
|
||||||
include: [{
|
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() {
|
isTicketEditable() {
|
||||||
if (!this.ticket) return;
|
if (!this.ticket) return;
|
||||||
|
|
||||||
|
|
|
@ -18,10 +18,6 @@ class Controller extends Descriptor {
|
||||||
super.entity = value;
|
super.entity = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
get hasInvoicing() {
|
|
||||||
return this.aclService.hasAny(['invoicing']);
|
|
||||||
}
|
|
||||||
|
|
||||||
loadData() {
|
loadData() {
|
||||||
const filter = {
|
const filter = {
|
||||||
include: [
|
include: [
|
||||||
|
|
Loading…
Reference in New Issue