From a6f85e37c3de654eb2e7d325837b4dfcc83a5f22 Mon Sep 17 00:00:00 2001 From: elsiosanchez Date: Wed, 25 Aug 2021 15:52:10 -0400 Subject: [PATCH] change in the order converting the business partner into a customer --- .../ADempiere/Form/VPOS/ProductInfo/productList.vue | 4 ---- src/utils/ADempiere/apiConverts/pos.js | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/ADempiere/Form/VPOS/ProductInfo/productList.vue b/src/components/ADempiere/Form/VPOS/ProductInfo/productList.vue index 11539596..fc4f79a4 100644 --- a/src/components/ADempiere/Form/VPOS/ProductInfo/productList.vue +++ b/src/components/ADempiere/Form/VPOS/ProductInfo/productList.vue @@ -130,9 +130,6 @@ export default { isShowProductsPriceList() { return this.$store.state['pointOfSales/listProductPrice'].productPrice[this.attribute] }, - // currentPoint() { - // return this.$store.getters.getCurrentPOS - // }, currentPointOfSales() { return this.$store.getters.posAttributes.currentPointOfSales }, @@ -142,7 +139,6 @@ export default { listWithPrice() { const { productPricesList } = this.productPrice if (!this.isEmptyValue(productPricesList)) { - console.log(productPricesList) return productPricesList } return [] diff --git a/src/utils/ADempiere/apiConverts/pos.js b/src/utils/ADempiere/apiConverts/pos.js index 1f3afb30..4615689b 100644 --- a/src/utils/ADempiere/apiConverts/pos.js +++ b/src/utils/ADempiere/apiConverts/pos.js @@ -41,7 +41,7 @@ export function convertOrder(order) { convertedOrder.documentType = convertDocumentType(order.document_type) convertedOrder.salesRepresentative = convertSalesRepresentative(order.sales_representative) convertedOrder.documentStatus = convertDocumentStatus(order.document_status) - convertedOrder.businessPartner = convertBusinessPartner(order.business_partner) + convertedOrder.businessPartner = convertBusinessPartner(order.customer) return convertedOrder }