#1264 cambiar ruta invoice a invoiceOut

This commit is contained in:
Carlos Jimenez Ruiz 2019-03-25 16:25:59 +01:00
parent d322c941a4
commit 1e150dbc8f
12 changed files with 29 additions and 29 deletions

View File

@ -15,7 +15,7 @@ export default function moduleImport(moduleName) {
case 'agency' : return import('agency/front');
case 'travel' : return import('travel/front');
case 'worker' : return import('worker/front');
case 'invoice' : return import('invoice/front');
case 'invoiceOut' : return import('invoiceOut/front');
case 'route' : return import('route/front');
}
}

View File

@ -43,7 +43,7 @@ Travels: Envíos
Workers: Trabajadores
Routes: Rutas
Locator: Localizador
Invoices: Facturas
Invoices out: Facturas emitidas
# Common

View File

@ -1,3 +0,0 @@
import {ng} from 'core/vendor';
export default ng.module('invoice', ['vnCore']);

View File

@ -1,23 +0,0 @@
{
"module": "invoice",
"name": "Invoices",
"icon": "icon-invoices1",
"validations" : true,
"dependencies": ["client"],
"routes": [
{
"url": "/invoice",
"state": "invoice",
"abstract": true,
"component": "ui-view",
"description": "Invoices",
"acl": ["employee"]
},
{
"url": "/index?q",
"state": "invoice.index",
"component": "vn-invoice-index",
"description": "Invoices"
}
]
}

View File

@ -70,7 +70,7 @@ export default class Controller {
Controller.$inject = ['$scope', 'vnToken'];
ngModule.component('vnInvoiceIndex', {
ngModule.component('vnInvoiceOutIndex', {
template: require('./index.html'),
controller: Controller
});

View File

@ -0,0 +1,3 @@
import {ng} from 'core/vendor';
export default ng.module('invoiceOut', ['vnCore']);

View File

@ -0,0 +1,23 @@
{
"module": "invoiceOut",
"name": "Invoices out",
"icon": "icon-invoices1",
"validations" : true,
"dependencies": ["client"],
"routes": [
{
"url": "/invoiceOut",
"state": "invoiceOut",
"abstract": true,
"component": "ui-view",
"description": "InvoiceOut",
"acl": ["employee"]
},
{
"url": "/index?q",
"state": "invoiceOut.index",
"component": "vn-invoice-out-index",
"description": "Invoices out"
}
]
}