diff --git a/modules/client/front/summary/index.html b/modules/client/front/summary/index.html index a93aec4ea..8a71599e1 100644 --- a/modules/client/front/summary/index.html +++ b/modules/client/front/summary/index.html @@ -292,7 +292,7 @@ Id - Client + Nickname Packages Date State @@ -325,7 +325,7 @@ {{::ticket.refFk}} diff --git a/modules/client/front/summary/index.js b/modules/client/front/summary/index.js index 8144e9266..0f6c7e834 100644 --- a/modules/client/front/summary/index.js +++ b/modules/client/front/summary/index.js @@ -7,15 +7,23 @@ class Controller extends Summary { super($element, $); this.ticketFilter = { - include: { - relation: 'ticketState', - scope: { - fields: ['stateFk', 'code', 'alertLevel'], - include: { - relation: 'state' + include: [ + { + relation: 'ticketState', + scope: { + fields: ['stateFk', 'code', 'alertLevel'], + include: { + relation: 'state' + } + } + }, + { + relation: 'invoiceOut', + scope: { + fields: ['id'] } } - } + ] }; } $onChanges() { diff --git a/modules/ticket/front/summary/index.html b/modules/ticket/front/summary/index.html index 502476ca2..8dd43eac4 100644 --- a/modules/ticket/front/summary/index.html +++ b/modules/ticket/front/summary/index.html @@ -126,6 +126,7 @@ Price Discount Amount + Packing @@ -190,6 +191,9 @@ {{::sale.price | currency: 'EUR':2}} {{::sale.discount}} % {{::sale.quantity * sale.price * ((100 - sale.discount) / 100) | currency: 'EUR':2}} + + {{::sale.item.itemPackingTypeFk | dashIfEmpty}} +