diff --git a/modules/claim/front/summary/index.html b/modules/claim/front/summary/index.html index dd50d4933..ec650c86e 100644 --- a/modules/claim/front/summary/index.html +++ b/modules/claim/front/summary/index.html @@ -40,7 +40,7 @@ - Id + Item Landed Quantity Claimed @@ -107,7 +107,8 @@ - Id + Item + Ticket Destination Landed Quantity @@ -126,7 +127,13 @@ {{action.sale.itemFk | zeroFill:6}} - {{action.sale.id}} + + + {{action.sale.ticket.id | zeroFill:6}} + + {{action.claimBeggining.description}} {{action.sale.ticket.landed | dateTime: 'dd/MM/yyyy'}} {{action.sale.quantity}} @@ -150,4 +157,7 @@ - \ No newline at end of file + + + \ No newline at end of file diff --git a/modules/claim/front/summary/index.js b/modules/claim/front/summary/index.js index 67af420fe..b8fedca7a 100644 --- a/modules/claim/front/summary/index.js +++ b/modules/claim/front/summary/index.js @@ -33,12 +33,16 @@ class Controller { } showWorkerDescriptor(event, userId) { - event.preventDefault(); - event.stopImmediatePropagation(); this.selectedWorker = userId; this.$.workerDescriptor.parent = event.target; this.$.workerDescriptor.show(); } + + showTicketDescriptor(event, ticketId) { + this.$.ticketDescriptor.ticketFk = ticketId; + this.$.ticketDescriptor.parent = event.target; + this.$.ticketDescriptor.show(); + } } Controller.$inject = ['$scope', '$http'];