diff --git a/src/components/ADempiere/Form/VPOS/Order/index.vue b/src/components/ADempiere/Form/VPOS/Order/index.vue index 14081dfb..7fc66f89 100644 --- a/src/components/ADempiere/Form/VPOS/Order/index.vue +++ b/src/components/ADempiere/Form/VPOS/Order/index.vue @@ -37,10 +37,9 @@ v-if="!isEmptyValue(getOrder.documentStatus.value)" :type="tagStatus(getOrder.documentStatus.value)" > - - Borrador + + {{ getOrder.documentStatus.name }} - {{ getOrder.documentStatus.name }} diff --git a/src/components/ADempiere/Form/VPOS/posMixin.js b/src/components/ADempiere/Form/VPOS/posMixin.js index 35200e35..2a9ccdc5 100644 --- a/src/components/ADempiere/Form/VPOS/posMixin.js +++ b/src/components/ADempiere/Form/VPOS/posMixin.js @@ -357,10 +357,7 @@ export default { // this.order = orderToPush }, getOrderTax(currency) { - if (this.isEmptyValue(this.order)) { - return undefined - } - return this.formatPrice(this.order.grandTotal - this.order.totalLines, currency) + return this.formatPrice(this.getOrder.grandTotal - this.getOrder.totalLines, currency) }, subscribeChanges() { return this.$store.subscribe((mutation, state) => {