#1264 cambiar ruta invoice a invoiceOut
This commit is contained in:
parent
d322c941a4
commit
1e150dbc8f
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ Travels: Envíos
|
|||
Workers: Trabajadores
|
||||
Routes: Rutas
|
||||
Locator: Localizador
|
||||
Invoices: Facturas
|
||||
Invoices out: Facturas emitidas
|
||||
|
||||
# Common
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
import {ng} from 'core/vendor';
|
||||
|
||||
export default ng.module('invoice', ['vnCore']);
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -70,7 +70,7 @@ export default class Controller {
|
|||
|
||||
Controller.$inject = ['$scope', 'vnToken'];
|
||||
|
||||
ngModule.component('vnInvoiceIndex', {
|
||||
ngModule.component('vnInvoiceOutIndex', {
|
||||
template: require('./index.html'),
|
||||
controller: Controller
|
||||
});
|
|
@ -0,0 +1,3 @@
|
|||
import {ng} from 'core/vendor';
|
||||
|
||||
export default ng.module('invoiceOut', ['vnCore']);
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue