From 72fb23abda812aeac244d6f67b57b2451b29614e Mon Sep 17 00:00:00 2001 From: Elsio Sanchez <45974454+elsiosanchez@users.noreply.github.com> Date: Fri, 28 May 2021 17:59:46 -0400 Subject: [PATCH] adjust point of sale catalog image (#886) Co-authored-by: elsiosanchez --- .../ADempiere/Form/VPOS/BusinessPartner/index.vue | 14 +++++--------- .../ADempiere/Form/VPOS/KeyLayout/index.vue | 4 ++-- src/components/ADempiere/Form/VPOS/posMixin.js | 2 +- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/src/components/ADempiere/Form/VPOS/BusinessPartner/index.vue b/src/components/ADempiere/Form/VPOS/BusinessPartner/index.vue index 81f074cd..9f7917ae 100644 --- a/src/components/ADempiere/Form/VPOS/BusinessPartner/index.vue +++ b/src/components/ADempiere/Form/VPOS/BusinessPartner/index.vue @@ -165,15 +165,11 @@ export default { }, displayedValue: { get() { - const busineesPartner = this.$store.getters.posAttributes.currentPointOfSales.currentOrder.businessPartner.name - if (this.isEmptyValue(busineesPartner)) { - return this.$store.getters.getValueOfField({ - containerUuid: this.parentMetadata.containerUuid, - // DisplayColumn_'ColumnName' - columnName: 'DisplayColumn_C_BPartner_ID' // this.parentMetadata.displayColumnName - }) - } - return busineesPartner + return this.$store.getters.getValueOfField({ + containerUuid: this.parentMetadata.containerUuid, + // DisplayColumn_'ColumnName' + columnName: 'DisplayColumn_C_BPartner_ID' // this.parentMetadata.displayColumnName + }) }, set(value) { this.$store.commit('updateValueOfField', { diff --git a/src/components/ADempiere/Form/VPOS/KeyLayout/index.vue b/src/components/ADempiere/Form/VPOS/KeyLayout/index.vue index 83d45bdf..e369daa4 100644 --- a/src/components/ADempiere/Form/VPOS/KeyLayout/index.vue +++ b/src/components/ADempiere/Form/VPOS/KeyLayout/index.vue @@ -228,7 +228,7 @@ export default { } const image = getImagePath({ file: fileName, - width: 200, + width: 300, height: 300 }) return image.uri @@ -304,7 +304,7 @@ export default {