refactor claim detail
This commit is contained in:
parent
5d426c490c
commit
12468afa3c
|
@ -28,6 +28,7 @@ class Controller extends Section {
|
||||||
if (value) {
|
if (value) {
|
||||||
this.calculateTotals();
|
this.calculateTotals();
|
||||||
this.isClaimEditable();
|
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.$http.get(`Tickets/${this.claim.ticketFk}/isEditable`).then(res => {
|
||||||
this.isEditable = res.data;
|
this.isEditable = res.data;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue