Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change in the order converting the business partner into a customer #1124

Merged
merged 1 commit into from
Aug 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand All @@ -142,7 +139,6 @@ export default {
listWithPrice() {
const { productPricesList } = this.productPrice
if (!this.isEmptyValue(productPricesList)) {
console.log(productPricesList)
return productPricesList
}
return []
Expand Down
2 changes: 1 addition & 1 deletion src/utils/ADempiere/apiConverts/pos.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down