diff --git a/modules/claim/front/action/index.html b/modules/claim/front/action/index.html index 7b8042d6a..9f3a2e607 100644 --- a/modules/claim/front/action/index.html +++ b/modules/claim/front/action/index.html @@ -42,6 +42,7 @@ Id + Ticket Destination Landed Quantity @@ -62,6 +63,13 @@ {{saleClaimed.sale.itemFk | zeroFill:6}} + + + {{::saleClaimed.sale.ticketFk}} + + - \ No newline at end of file + + + \ No newline at end of file diff --git a/modules/claim/front/action/index.js b/modules/claim/front/action/index.js index 4ef3fd82a..ec93f2ae1 100644 --- a/modules/claim/front/action/index.js +++ b/modules/claim/front/action/index.js @@ -67,6 +67,14 @@ class Controller { }); } + showTicketDescriptor(event, ticketFk) { + this.$.ticketDescriptor.ticketFk = ticketFk; + this.$.ticketDescriptor.parent = event.target; + this.$.ticketDescriptor.show(); + + event.preventDefault(); + } + focusLastInput() { let inputs = document.querySelectorAll('#claimDestinationFk'); inputs[inputs.length - 1].querySelector('input').focus();