diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 752314813..c9bcce645 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -596,6 +596,11 @@ export default { items: 'Items', orderTicketList: 'Order Ticket List', details: 'Details', + item: 'Item', + description: 'Description', + quantity: 'Quantity', + price: 'Price', + amount: 'Amount' } }, worker: { diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index eacca664f..45c01aca8 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -457,6 +457,61 @@ export default { }, }, }, + order: { + pageTitles: { + order: 'Cesta', + orderList: 'Listado', + create: 'Crear', + summary: 'Resumen', + basicData: 'Datos básicos', + catalog: 'Catálogo', + }, + field: { + salesPersonFk: 'Comercial', + clientFk: 'Cliente', + isConfirmed: 'Confirmada', + created: 'Creado', + landed: 'F. entrega', + hour: 'Hora', + agency: 'Agencia', + total: 'Total' + }, + form: { + clientFk: 'Cliente', + addressFk: 'Dirección', + landed: 'F. entrega', + agencyModeFk: 'Agencia', + }, + list: { + newOrder: 'Nuevo Pedido' + }, + summary: { + basket: 'Cesta', + nickname: 'Alias', + company: 'Empresa', + confirmed: 'Confirmada', + notConfirmed: 'No confirmada', + created: 'Creado', + landed: 'F. entrega', + phone: 'Teléfono', + createdFrom: 'Creado desde', + address: 'Dirección', + notes: 'Notas', + subtotal: 'Subtotal', + total: 'Total', + vat: 'IVA', + state: 'Estado', + alias: 'Alias', + items: 'Items', + orderTicketList: 'Tickets del pedido', + details: 'Detalles', + item: 'Item', + description: 'Descripción', + quantity: 'Cantidad', + price: 'Precio', + amount: 'Monto' + } + }, shelving: { pageTitles: { shelving: 'Carros', diff --git a/src/pages/Order/Card/OrderSummary.vue b/src/pages/Order/Card/OrderSummary.vue index d3ecc7984..8d91ac789 100644 --- a/src/pages/Order/Card/OrderSummary.vue +++ b/src/pages/Order/Card/OrderSummary.vue @@ -24,28 +24,28 @@ const entityId = computed(() => $props.id || route.params.id); const detailsColumns = ref([ { name: 'item', - label: t('claim.summary.item'), + label: t('order.summary.item'), field: (row) => row?.item?.id, sortable: true, }, { - name: 'description', - label: t('claim.summary.description'), + name: t('order.summary.description'), + label: t('order.summary.description'), field: (row) => row?.item?.name, }, { - name: 'quantity', - label: t('claim.summary.description'), + name: t('order.summary.quantity'), + label: t('order.summary.quantity'), field: (row) => row?.quantity, }, { - name: 'price', - label: t('claim.summary.description'), + name: t('order.summary.price'), + label: t('order.summary.price'), field: (row) => toCurrency(row?.price), }, { - name: 'amount', - label: t('claim.summary.description'), + name: t('order.summary.amount'), + label: t('order.summary.amount'), field: (row) => toCurrency(row?.quantity * row?.price), }, ]);