diff --git a/modules/entry/back/methods/entry/latestBuysFilter.js b/modules/entry/back/methods/entry/latestBuysFilter.js index dffe5793d..3240652cd 100644 --- a/modules/entry/back/methods/entry/latestBuysFilter.js +++ b/modules/entry/back/methods/entry/latestBuysFilter.js @@ -125,7 +125,8 @@ module.exports = Self => { b.price2, b.price3, b.ektFk, - b.weight + b.weight, + b.packageFk FROM cache.last_buy lb LEFT JOIN cache.visible v ON v.item_id = lb.item_id AND v.calc_id = @calc_id diff --git a/modules/entry/front/latest-buys/index.html b/modules/entry/front/latest-buys/index.html index 4aa3aeae2..ea00b51b8 100644 --- a/modules/entry/front/latest-buys/index.html +++ b/modules/entry/front/latest-buys/index.html @@ -53,6 +53,7 @@ Min price Ekt Weight + PackageName @@ -126,6 +127,7 @@ {{::buy.minPrice | currency: 'EUR':2}} {{::buy.ektFk | dashIfEmpty}} {{::buy.weight}} + {{::buy.packageFk}} diff --git a/modules/entry/front/latest-buys/locale/en.yml b/modules/entry/front/latest-buys/locale/en.yml index 4f53d6126..48dda861b 100644 --- a/modules/entry/front/latest-buys/locale/en.yml +++ b/modules/entry/front/latest-buys/locale/en.yml @@ -1 +1,2 @@ -Minimun amount: Minimun purchase quantity \ No newline at end of file +Minimun amount: Minimun purchase quantity +PackageName: Package \ No newline at end of file diff --git a/modules/entry/front/latest-buys/locale/es.yml b/modules/entry/front/latest-buys/locale/es.yml index 7144caa8a..18bc1a689 100644 --- a/modules/entry/front/latest-buys/locale/es.yml +++ b/modules/entry/front/latest-buys/locale/es.yml @@ -10,4 +10,5 @@ Min price: Precio min Ekt: Ekt Weight: Peso Minimun amount: Cantidad mínima de compra -Field to edit: Campo a editar \ No newline at end of file +Field to edit: Campo a editar +PackageName: Cubo