From 5c18c5c94ccefdd3c9867bc6c6613fd550feff89 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Fri, 21 May 2021 15:31:28 +0200 Subject: [PATCH] ticket module descriptor now takes warehouseFk from the ticket --- modules/ticket/front/component/index.html | 6 +++--- modules/ticket/front/expedition/index.html | 8 ++++---- modules/ticket/front/picture/index.html | 13 ++++++++++--- modules/ticket/front/request/index/index.html | 13 ++++++++++--- modules/ticket/front/sale-checked/index.html | 4 ++-- modules/ticket/front/sale-checked/index.js | 4 ++-- modules/ticket/front/sale-tracking/index.html | 4 ++-- modules/ticket/front/sale/index.html | 4 ++-- modules/ticket/front/summary/index.html | 8 ++++---- modules/ticket/front/volume/index.html | 4 ++-- 10 files changed, 41 insertions(+), 27 deletions(-) diff --git a/modules/ticket/front/component/index.html b/modules/ticket/front/component/index.html index ac109c334..3843529c3 100644 --- a/modules/ticket/front/component/index.html +++ b/modules/ticket/front/component/index.html @@ -24,7 +24,7 @@ {{sale.itemFk | zeroFill:6}} @@ -103,11 +103,11 @@ + vn-id="zone-descriptor"> diff --git a/modules/ticket/front/expedition/index.html b/modules/ticket/front/expedition/index.html index 26d9ef640..e4d42d62e 100644 --- a/modules/ticket/front/expedition/index.html +++ b/modules/ticket/front/expedition/index.html @@ -57,15 +57,15 @@ + vn-id="worker-descriptor"> diff --git a/modules/ticket/front/picture/index.html b/modules/ticket/front/picture/index.html index c95e604dd..b4ea6ae0d 100644 --- a/modules/ticket/front/picture/index.html +++ b/modules/ticket/front/picture/index.html @@ -7,6 +7,12 @@ data="sales" auto-load="true"> + +

- + {{::sale.item.name}}

@@ -63,5 +69,6 @@ - + vn-id="item-descriptor" + warehouse-fk="tickets[0].warehouseFk"> + \ No newline at end of file diff --git a/modules/ticket/front/request/index/index.html b/modules/ticket/front/request/index/index.html index dadc96325..767f1dccf 100644 --- a/modules/ticket/front/request/index/index.html +++ b/modules/ticket/front/request/index/index.html @@ -8,6 +8,12 @@ data="purchaseRequests" auto-load="true"> + + @@ -24,7 +30,7 @@ Atender Quantity Price - Sale id + Item id Ok @@ -101,10 +107,11 @@ + vn-id="item-descriptor" + warehouse-fk="tickets[0].warehouseFk"> + vn-id="worker-descriptor"> {{::sale.itemFk | zeroFill:6}} @@ -52,7 +52,7 @@ diff --git a/modules/ticket/front/sale-checked/index.js b/modules/ticket/front/sale-checked/index.js index cfc3985ba..857ac49e3 100644 --- a/modules/ticket/front/sale-checked/index.js +++ b/modules/ticket/front/sale-checked/index.js @@ -17,7 +17,7 @@ class Controller extends Section { ] }; } - showDescriptor(event, sale) { + showItemDescriptor(event, sale) { this.quicklinks = { btnThree: { icon: 'icon-transaction', @@ -29,7 +29,7 @@ class Controller extends Section { tooltip: 'Item diary' } }; - this.$.descriptor.show(event.target, sale.itemFk); + this.$.itemDescriptor.show(event.target, sale.itemFk); } } diff --git a/modules/ticket/front/sale-tracking/index.html b/modules/ticket/front/sale-tracking/index.html index 4e80b3565..54a0eca66 100644 --- a/modules/ticket/front/sale-tracking/index.html +++ b/modules/ticket/front/sale-tracking/index.html @@ -67,9 +67,9 @@ + vn-id="worker-descriptor"> \ No newline at end of file diff --git a/modules/ticket/front/sale/index.html b/modules/ticket/front/sale/index.html index 5bba457ca..5156206bb 100644 --- a/modules/ticket/front/sale/index.html +++ b/modules/ticket/front/sale/index.html @@ -100,7 +100,7 @@ + ng-click="itemDescriptor.show($event, sale.itemFk, sale.id)"> {{sale.itemFk}} diff --git a/modules/ticket/front/summary/index.html b/modules/ticket/front/summary/index.html index 6c25f2665..170cbd0cf 100644 --- a/modules/ticket/front/summary/index.html +++ b/modules/ticket/front/summary/index.html @@ -147,7 +147,7 @@ {{sale.itemFk | zeroFill:6}} @@ -259,7 +259,7 @@ {{request.sale.itemFk | zeroFill:6}} @@ -279,10 +279,10 @@ + vn-id="route-descriptor"> diff --git a/modules/ticket/front/volume/index.html b/modules/ticket/front/volume/index.html index eb2a07d26..8e2bc4bb6 100644 --- a/modules/ticket/front/volume/index.html +++ b/modules/ticket/front/volume/index.html @@ -37,7 +37,7 @@ {{sale.itemFk | zeroFill:6}} @@ -63,7 +63,7 @@