diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 88fae5bb7..5d483c6fc 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -251,6 +251,50 @@ export default { returnOfMaterial: 'Return of material authorization (RMA)', }, }, + invoiceOut: { + pageTitles: { + invoiceOuts: 'InvoiceOuts', + list: 'List', + createInvoiceOut: 'Create invoice out', + summary: 'Summary', + basicData: 'Basic Data' + }, + list: { + ref: 'Reference', + issued: 'Issued', + amount: 'Amount', + client: 'Client', + created: 'Created', + company: 'Company', + dued: 'Due date' + }, + card: { + issued: 'Issued', + amount: 'Amount', + client: 'Client', + company: 'Company', + customerCard: 'Customer card', + ticketList: 'Ticket List' + }, + summary: { + issued: 'Issued', + created: 'Created', + dued: 'Due', + booked: 'Booked', + company: 'Company', + taxBreakdown: 'Tax breakdown', + type: 'Type', + taxableBase: 'Taxable base', + rate: 'Rate', + fee: 'Fee', + tickets: 'Tickets', + ticketId: 'Ticket id', + nickname: 'Alias', + shipped: 'Shipped', + totalWithVat: 'Amount', + + } + }, components: { topbar: {}, userPanel: { diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 0103b1a92..bbe30970e 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -250,6 +250,50 @@ export default { returnOfMaterial: 'Autorización de retorno de materiales (RMA)', }, }, + invoiceOut: { + pageTitles: { + invoiceOuts: 'Fact. emitidas', + list: 'Listado', + createInvoiceOut: 'Crear fact. emitida', + summary: 'Resumen', + basicData: 'Datos básicos' + }, + list: { + ref: 'Referencia', + issued: 'Fecha emisión', + amount: 'Importe', + client: 'Cliente', + created: 'Fecha creación', + company: 'Empresa', + dued: 'Fecha vencimineto' + }, + card: { + issued: 'Fecha emisión', + amount: 'Importe', + client: 'Cliente', + company: 'Empresa', + customerCard: 'Ficha del cliente', + ticketList: 'Listado de tickets' + }, + summary: { + issued: 'Fecha', + created: 'Fecha creación', + dued: 'Vencimiento', + booked: 'Contabilizada', + company: 'Empresa', + taxBreakdown: 'Desglose impositivo', + type: 'Tipo', + taxableBase: 'Base imp.', + rate: 'Tarifa', + fee: 'Cuota', + tickets: 'Tickets', + ticketId: 'Id ticket', + nickname: 'Alias', + shipped: 'F. envío', + totalWithVat: 'Importe', + + } + }, components: { topbar: {}, userPanel: { diff --git a/src/pages/InvoiceOut/Card/InvoiceOutCard.vue b/src/pages/InvoiceOut/Card/InvoiceOutCard.vue new file mode 100644 index 000000000..00e603d20 --- /dev/null +++ b/src/pages/InvoiceOut/Card/InvoiceOutCard.vue @@ -0,0 +1,18 @@ + + diff --git a/src/pages/InvoiceOut/Card/InvoiceOutDescriptor.vue b/src/pages/InvoiceOut/Card/InvoiceOutDescriptor.vue new file mode 100644 index 000000000..ece6b2053 --- /dev/null +++ b/src/pages/InvoiceOut/Card/InvoiceOutDescriptor.vue @@ -0,0 +1,104 @@ + + + diff --git a/src/pages/InvoiceOut/Card/InvoiceOutDescriptorPopover.vue b/src/pages/InvoiceOut/Card/InvoiceOutDescriptorPopover.vue new file mode 100644 index 000000000..30d27669d --- /dev/null +++ b/src/pages/InvoiceOut/Card/InvoiceOutDescriptorPopover.vue @@ -0,0 +1,15 @@ + + diff --git a/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue b/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue new file mode 100644 index 000000000..3db0a7299 --- /dev/null +++ b/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue @@ -0,0 +1,200 @@ + + + + + diff --git a/src/pages/InvoiceOut/Card/InvoiceOutSummaryDialog.vue b/src/pages/InvoiceOut/Card/InvoiceOutSummaryDialog.vue new file mode 100644 index 000000000..0e5b3127a --- /dev/null +++ b/src/pages/InvoiceOut/Card/InvoiceOutSummaryDialog.vue @@ -0,0 +1,21 @@ + + + diff --git a/src/pages/InvoiceOut/InvoiceOutList.vue b/src/pages/InvoiceOut/InvoiceOutList.vue new file mode 100644 index 000000000..f5eebd2a3 --- /dev/null +++ b/src/pages/InvoiceOut/InvoiceOutList.vue @@ -0,0 +1,83 @@ + + + diff --git a/src/pages/InvoiceOut/InvoiceOutMain.vue b/src/pages/InvoiceOut/InvoiceOutMain.vue new file mode 100644 index 000000000..099e82879 --- /dev/null +++ b/src/pages/InvoiceOut/InvoiceOutMain.vue @@ -0,0 +1,17 @@ + + + diff --git a/src/router/modules/invoiceOut.js b/src/router/modules/invoiceOut.js new file mode 100644 index 000000000..7f30de62f --- /dev/null +++ b/src/router/modules/invoiceOut.js @@ -0,0 +1,47 @@ +import { RouterView } from 'vue-router'; + +export default { + path: '/invoiceOut', + name: 'InvoiceOut2', + meta: { + title: 'invoiceOuts', + icon: 'vn:invoice-out' + }, + component: RouterView, + redirect: { name: 'InvoiceOutMain' }, + children: [ + { + path: '', + name: 'InvoiceOutMain', + component: () => import('src/pages/InvoiceOut/InvoiceOutMain.vue'), + redirect: { name: 'InvoiceOutList' }, + children: [ + { + path: 'list', + name: 'InvoiceOutList', + meta: { + title: 'list', + icon: 'view_list', + }, + component: () => import('src/pages/InvoiceOut/InvoiceOutList.vue'), + } + ] + }, + { + name: 'InvoiceOutCard', + path: ':id', + component: () => import('src/pages/InvoiceOut/Card/InvoiceOutCard.vue'), + redirect: { name: 'InvoiceOutSummary' }, + children: [ + { + name: 'InvoiceOutSummary', + path: 'summary', + meta: { + title: 'summary' + }, + component: () => import('src/pages/InvoiceOut/Card/InvoiceOutSummary.vue'), + } + ] + }, + ] +}; diff --git a/src/router/routes.js b/src/router/routes.js index a7261379f..8fc355e64 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -1,6 +1,7 @@ import customer from './modules/customer'; import ticket from './modules/ticket'; import claim from './modules/claim'; +import invoiceOut from './modules/invoiceOut'; const routes = [ { @@ -25,6 +26,7 @@ const routes = [ customer, ticket, claim, + invoiceOut, { path: '/:pathMatch(.*)*', name: 'NotFound', @@ -34,4 +36,4 @@ const routes = [ } ]; -export default routes; \ No newline at end of file +export default routes;