From 62a806b813160c401c530ad0d1a1ec1303a2ca95 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Wed, 29 Nov 2023 09:07:44 -0300 Subject: [PATCH] WIP --- src/i18n/en/index.js | 1 + src/i18n/es/index.js | 1 + src/pages/InvoiceOut/InvoiceOutGlobalForm.vue | 3 +- src/pages/Travel/ExtraCommunity.vue | 445 ++++++++++++++++++ src/router/modules/travel.js | 14 +- 5 files changed, 460 insertions(+), 4 deletions(-) create mode 100644 src/pages/Travel/ExtraCommunity.vue diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 743977f42..59847c908 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -627,6 +627,7 @@ export default { list: 'List', create: 'Create', summary: 'Summary', + extraCommunity: 'ExtraCommunity', }, list: { clone: 'Clone', diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 431553d79..e9dbe53ae 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -629,6 +629,7 @@ export default { list: 'Listado', create: 'Crear', summary: 'Resumen', + extraCommunity: 'ExtraCommunity', }, list: { clone: 'Clonar', diff --git a/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue b/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue index be1a65f59..7ea3af713 100644 --- a/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue +++ b/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue @@ -16,12 +16,11 @@ const { formInitialData, invoicing, - printer, status, } = storeToRefs(invoiceOutGlobalStore); // invoiceOutGlobalStore actions -const { makeInvoice, setPrinterValue, setStatusValue } = invoiceOutGlobalStore; +const { makeInvoice, setStatusValue } = invoiceOutGlobalStore; const clientsToInvoice = ref('all'); diff --git a/src/pages/Travel/ExtraCommunity.vue b/src/pages/Travel/ExtraCommunity.vue new file mode 100644 index 000000000..3d57ece75 --- /dev/null +++ b/src/pages/Travel/ExtraCommunity.vue @@ -0,0 +1,445 @@ + + + + + + + + { + "en": { + "status": { + "packageInvoicing": "Build packaging tickets", + "invoicing": "Invoicing client", + "stopping": "Stopping process", + "done": "Ended process" + }, + "of": "of" + }, + "es": { + "status":{ + "packageInvoicing": "GeneraciĆ³n de tickets de empaque", + "invoicing": "Facturando a cliente", + "stopping": "Deteniendo proceso", + "done": "Proceso detenido", + }, + "of": "de" + } + } + diff --git a/src/router/modules/travel.js b/src/router/modules/travel.js index 9ba10380e..ebce7adb9 100644 --- a/src/router/modules/travel.js +++ b/src/router/modules/travel.js @@ -10,7 +10,7 @@ export default { component: RouterView, redirect: { name: 'TravelMain' }, menus: { - main: ['TravelList'], + main: ['TravelList', 'ExtraCommunity'], card: [], }, children: [ @@ -29,11 +29,21 @@ export default { }, component: () => import('src/pages/Travel/TravelList.vue'), }, + { + path: 'extra-community', + name: 'ExtraCommunity', + meta: { + title: 'extraCommunity', + icon: 'vn:shipment-01', + }, + component: () => import('src/pages/Travel/ExtraCommunity.vue'), + }, { path: 'create', name: 'TravelCreate', meta: { - title: 'create', + title: 'extraCommunity', + icon: '', }, component: () => import('src/pages/Travel/TravelCreate.vue'), },