From 0cdca9ded5601865cf87fd0a2f1f5ad9e00141a5 Mon Sep 17 00:00:00 2001 From: Yamel Senih Date: Fri, 4 Dec 2020 12:44:29 -0400 Subject: [PATCH] Add Quantity On Hand to popover of Product info --- src/components/ADempiere/Form/ProductInfo/productList.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/ADempiere/Form/ProductInfo/productList.vue b/src/components/ADempiere/Form/ProductInfo/productList.vue index 5b96d586..f9370ea3 100644 --- a/src/components/ADempiere/Form/ProductInfo/productList.vue +++ b/src/components/ADempiere/Form/ProductInfo/productList.vue @@ -40,10 +40,11 @@

{{ $t('form.productInfo.code') }}{{ scope.row.product.value }}


{{ $t('form.productInfo.upc') }} {{ scope.row.product.upc }}


+

{{ $t('form.productInfo.quantityOnHand') }} {{ formatQuantity(scope.row.quantityOnHand) }}


{{ $t('form.productInfo.price') }} {{ formatPrice(scope.row.priceStandard, scope.row.currency.iSOCode) }}


{{ $t('form.productInfo.taxAmount') }} {{ formatPrice(getTaxAmount(scope.row.priceStandard, scope.row.taxRate.rate), scope.row.currency.iSOCode) }}


-

{{ $t('form.productInfo.grandTotal') }} {{ formatPrice(getTaxAmount(scope.row.priceStandard, scope.row.taxRate.rate) + scope.row.priceStandard, scope.row.currency.iSOCode) }}


-

{{ $t('form.productInfo.grandTotalConverted') }} {{ scope.row.schemaCurrency.iSOCode }} {{ formatPrice(getTaxAmount(scope.row.schemaPriceStandard, scope.row.taxRate.rate) + scope.row.schemaPriceStandard, scope.row.schemaCurrency.iSOCode) }}

+

{{ $t('form.productInfo.grandTotal') }} {{ formatPrice(getTaxAmount(scope.row.priceStandard, scope.row.taxRate.rate) + scope.row.priceStandard, scope.row.currency.iSOCode) }}


+

{{ $t('form.productInfo.grandTotalConverted') }} ({{ scope.row.schemaCurrency.iSOCode }}) {{ formatPrice(getTaxAmount(scope.row.schemaPriceStandard, scope.row.taxRate.rate) + scope.row.schemaPriceStandard, scope.row.schemaCurrency.iSOCode) }}

{{ scope.row.product.name }}