From 5d5d6af059dd1919389611ee3d3bc4c98b044f37 Mon Sep 17 00:00:00 2001 From: elsiosanchez Date: Mon, 14 Feb 2022 08:47:25 -0400 Subject: [PATCH] #1567 --- .../AddNewFieldLocation/locationAddressForm.vue | 2 +- .../BillingFieldLocation/locationAddressForm.vue | 4 ++-- .../ADempiere/Form/VPOS/BusinessPartner/addAddress.vue | 7 +------ src/store/modules/ADempiere/utils.js | 1 - 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/components/ADempiere/Form/VPOS/BusinessPartner/AddNewFieldLocation/locationAddressForm.vue b/src/components/ADempiere/Form/VPOS/BusinessPartner/AddNewFieldLocation/locationAddressForm.vue index f03e01d159d..aacaea97066 100644 --- a/src/components/ADempiere/Form/VPOS/BusinessPartner/AddNewFieldLocation/locationAddressForm.vue +++ b/src/components/ADempiere/Form/VPOS/BusinessPartner/AddNewFieldLocation/locationAddressForm.vue @@ -153,7 +153,7 @@ export default { // return this.fieldsList - return this.FieldsList + return this.fieldsList }, locationId() { return this.$store.getters.getValueOfField({ diff --git a/src/components/ADempiere/Form/VPOS/BusinessPartner/BillingFieldLocation/locationAddressForm.vue b/src/components/ADempiere/Form/VPOS/BusinessPartner/BillingFieldLocation/locationAddressForm.vue index f4010b97b86..a287dd92437 100644 --- a/src/components/ADempiere/Form/VPOS/BusinessPartner/BillingFieldLocation/locationAddressForm.vue +++ b/src/components/ADempiere/Form/VPOS/BusinessPartner/BillingFieldLocation/locationAddressForm.vue @@ -134,9 +134,9 @@ export default { return this.$store.getters.getFieldsListLocationBilling } - // return this.fieldsList + return this.fieldsList - return this.getterPanel.fieldsList + // return this.getterPanel.fieldsList }, locationId() { return this.$store.getters.getValueOfField({ diff --git a/src/components/ADempiere/Form/VPOS/BusinessPartner/addAddress.vue b/src/components/ADempiere/Form/VPOS/BusinessPartner/addAddress.vue index 35685b67988..449ac75300b 100644 --- a/src/components/ADempiere/Form/VPOS/BusinessPartner/addAddress.vue +++ b/src/components/ADempiere/Form/VPOS/BusinessPartner/addAddress.vue @@ -31,11 +31,7 @@ :metadata="fieldsList[0]" :value-model="fieldsList[0].value" :container-uuid="'New-Address'" - :container-manager="{ - ...containerManager, - isMandatoryField({ isMandatory, isMandatoryFromLogic }) {return field.isMandatory || field.isMandatoryFromLogic}, - isDisplayedField({ isDisplayed, isDisplayedFromLogic }) {return field.isDisplayed || field.isDisplayedFromLogic} - }" + :container-manager="containerManager" /> @@ -421,7 +417,6 @@ export default { newAddress.uuid = this.isEmptyValue(customer.uuid) ? this.$store.getters.getValueOfField({ containerUuid: this.$route.meta.uuid, columnName: 'C_BPartner_ID_UUID' }) : customer.uuid newAddress.value = this.isEmptyValue(this.$store.getters.getNewCustomer.value) ? customer.value : this.$store.getters.getNewCustomer.value newAddress.name = customer.name - console.log(newAddress, customer, this.addressToUpdate, this.isEmptyValue(this.$store.getters.getNewCustomer.value)) updateCustomer(newAddress) .then(response => { const orderUuid = this.$store.getters.posAttributes.currentPointOfSales.currentOrder.uuid diff --git a/src/store/modules/ADempiere/utils.js b/src/store/modules/ADempiere/utils.js index 5318414081f..746b9388d3e 100644 --- a/src/store/modules/ADempiere/utils.js +++ b/src/store/modules/ADempiere/utils.js @@ -158,7 +158,6 @@ export default { state.quickSearchOrder = order }, setShowPanelAddress(state, showPanelAddress) { - console.log({ showPanelAddress }) state.showPanelAddress = showPanelAddress } },