diff --git a/modules/claim/front/action/index.html b/modules/claim/front/action/index.html index 329514b37..04ab71997 100644 --- a/modules/claim/front/action/index.html +++ b/modules/claim/front/action/index.html @@ -1,10 +1,14 @@ - + + + - + show-field="description"> {{::saleClaimed.sale.ticket.landed | date: 'dd/MM/yyyy'}} diff --git a/modules/claim/front/action/index.js b/modules/claim/front/action/index.js index 439b70d39..63b283f1f 100644 --- a/modules/claim/front/action/index.js +++ b/modules/claim/front/action/index.js @@ -19,7 +19,8 @@ class Controller { } } }, - {relation: 'claimBeggining'} + {relation: 'claimBeggining'}, + {relation: 'claimDestination'} ] }; this.resolvedState = 3; @@ -82,16 +83,6 @@ class Controller { this.calculateTotals(); } - setClaimDestination(id, claimDestinationFk) { - if (claimDestinationFk) { - let params = {id: id, claimDestinationFk: claimDestinationFk}; - let query = `claim/api/ClaimEnds/`; - this.$http.patch(query, params).then(() => { - this.vnApp.showSuccess(this.$translate.instant('Data saved!')); - }); - } - } - calculateTotals() { this.claimedTotal = 0; this.salesClaimed.forEach(sale => {