diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 45df3f1ff..2293cd76f 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -557,7 +557,8 @@ export default { summary: 'Summary', basicData: 'Basic Data', catalog: 'Catalog', - volume: 'Volume' + volume: 'Volume', + lines: 'Lines', }, field: { salesPersonFk: 'Sales Person', diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 90fdb18b6..5744dc682 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -467,6 +467,7 @@ export default { basicData: 'Datos básicos', catalog: 'Catálogo', volume: 'Volumen', + lines: 'Líneas', }, field: { salesPersonFk: 'Comercial', diff --git a/src/pages/Order/OrderLines.vue b/src/pages/Order/OrderLines.vue new file mode 100644 index 000000000..e014ed44a --- /dev/null +++ b/src/pages/Order/OrderLines.vue @@ -0,0 +1,253 @@ + + + + (orderSummary.total = data)" + auto-load + /> + (orderSummary.vat = data)" + auto-load + /> + + + + + {{ t('summary') }} + + + + + + + + + + + + + + + + {{ row?.item?.name }} + + + {{ t('ID') }}: {{ row.id }} + + + + + + + {{ row.item.subName }} + + + + + + + + + + + + + + + + + + + + + + + +en: + summary: Summary + subtotal: Subtotal + VAT: VAT + total: Total + item: Item + warehouse: Warehouse + shipped: Shipped + quantity: Quantity + price: Price + amount: Amount + remove: Remove + confirmDeletion: Confirm deletion, + confirmDeletionMessage: Are you sure you want to delete this item? +es: + summary: Resumen + subtotal: Subtotal + VAT: IVA + total: Total + item: Artículo + warehouse: Almacén + shipped: F. envío + quantity: Cantidad + price: Precio + amount: Importe + remove: Eliminar + confirmDeletion: Confirmar eliminación, + confirmDeletionMessage: Seguro que quieres eliminar este artículo? + diff --git a/src/router/modules/order.js b/src/router/modules/order.js index 8a55a39d2..4599394cd 100644 --- a/src/router/modules/order.js +++ b/src/router/modules/order.js @@ -11,7 +11,7 @@ export default { redirect: { name: 'OrderMain' }, menus: { main: ['OrderList'], - card: ['OrderBasicData', 'OrderCatalog', 'OrderVolume'], + card: ['OrderBasicData', 'OrderCatalog', 'OrderVolume', 'OrderLines'], }, children: [ { @@ -81,6 +81,15 @@ export default { }, component: () => import('src/pages/Order/OrderVolume.vue'), }, + { + name: 'OrderLines', + path: 'line', + meta: { + title: 'lines', + icon: 'vn:lines', + }, + component: () => import('src/pages/Order/OrderLines.vue'), + }, ], }, ],
+ {{ t('summary') }} +