diff --git a/src/components/ADempiere/Form/VPOS/ProductInfo/productList.vue b/src/components/ADempiere/Form/VPOS/ProductInfo/productList.vue index 11539596b88..fc4f79a463f 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 1f3afb30d22..4615689bb3d 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 }