refactor claim detail

This commit is contained in:
Bernat Exposito Domenech 2020-06-11 12:31:52 +02:00
parent 5d426c490c
commit 12468afa3c
1 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ class Controller extends Section {
if (value) {
this.calculateTotals();
this.isClaimEditable();
this.isTicketEditable();
}
}
@ -126,7 +127,7 @@ class Controller extends Section {
});
}
isClaimEditable() {
isTicketEditable() {
this.$http.get(`Tickets/${this.claim.ticketFk}/isEditable`).then(res => {
this.isEditable = res.data;
});