From 053a250b21b59d64afbce945d16a88a517341593 Mon Sep 17 00:00:00 2001 From: Yamel Senih Date: Tue, 1 Dec 2020 20:18:22 -0400 Subject: [PATCH] Add translation for Product Info --- .../Form/ProductInfo/productList.vue | 18 ++++++++--------- src/lang/ADempiere/en.js | 20 ++++++++++--------- src/lang/ADempiere/es.js | 20 ++++++++++--------- 3 files changed, 31 insertions(+), 27 deletions(-) diff --git a/src/components/ADempiere/Form/ProductInfo/productList.vue b/src/components/ADempiere/Form/ProductInfo/productList.vue index 5058c7b6..fc86f3e9 100644 --- a/src/components/ADempiere/Form/ProductInfo/productList.vue +++ b/src/components/ADempiere/Form/ProductInfo/productList.vue @@ -29,7 +29,7 @@ > {{ scope.row.product.name }} -

Codigo :{{ scope.row.product.value }}


-

Precio : {{ formatPrice(scope.row.priceStandard, scope.row.currency.iSOCode) }}


-

Tax : {{ formatPrice(getTaxAmount(scope.row.priceStandard, scope.row.taxRate.rate), scope.row.currency.iSOCode) }}


-

Gran Total : {{ formatPrice(getTaxAmount(scope.row.priceStandard, scope.row.taxRate.rate) + scope.row.priceStandard, scope.row.currency.iSOCode) }}


-

UPC : {{ scope.row.product.upc }}

+

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


+

{{ $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.upc') }} {{ scope.row.product.upc }}

{{ scope.row.product.name }}
@@ -50,7 +50,7 @@
@@ -59,7 +59,7 @@ @@ -68,7 +68,7 @@ diff --git a/src/lang/ADempiere/en.js b/src/lang/ADempiere/en.js index 9419fa28..67bf3b8a 100644 --- a/src/lang/ADempiere/en.js +++ b/src/lang/ADempiere/en.js @@ -363,15 +363,6 @@ export default { editQuantities: 'Edit Quantities', remove: 'Remove' }, - product: { - productInformation: 'Product information', - code: 'Code', - name: 'Name', - description: 'Description', - price: 'Price', - taxRate: 'Tax Rate', - quantityAvailable: 'Quantity Avalible' - }, order: { order: 'Order', seller: 'Seller', @@ -400,6 +391,17 @@ export default { priceChecking: { messageError: 'This Product Not Available', basePrice: 'Base price' + }, + productInfo: { + productInformation: 'Product information', + code: 'Code', + name: 'Name', + description: 'Description', + price: 'Price', + taxAmount: 'Tax Amount', + grandTotal: 'Grand Total', + quantityAvailable: 'Quantity Avalible', + upc: 'UPC / EAN' } } } diff --git a/src/lang/ADempiere/es.js b/src/lang/ADempiere/es.js index 46c60741..e64b11c3 100644 --- a/src/lang/ADempiere/es.js +++ b/src/lang/ADempiere/es.js @@ -338,15 +338,6 @@ export default { editQuantities: 'Editar Cantidades', remove: 'Eliminar' }, - product: { - productInformation: 'Información de Producto', - code: 'Código', - name: 'Nombre', - description: 'Descripción', - price: 'Precio', - taxRate: 'Tasa de Impuesto', - quantityAvailable: 'Cantidad Disponible' - }, order: { order: 'Orden', seller: 'Vendedor', @@ -375,6 +366,17 @@ export default { priceChecking: { messageError: 'Este Producto No Disponible', basePrice: 'Precio Base' + }, + productInfo: { + productInformation: 'Product information', + code: 'Código', + name: 'Nombre', + description: 'Descripción', + price: 'Precio', + taxAmount: 'Monto de Impuesto', + grandTotal: 'Total General', + quantityAvailable: 'Cantidad Disponible', + upc: 'Código de Barras' } } }