corrected indentation on routes.json and added one path to services tests js

This commit is contained in:
Carlos Jimenez 2018-02-14 15:56:22 +01:00
parent f0c8445149
commit 79c4aac3f5
2 changed files with 41 additions and 20 deletions

View File

@ -9,16 +9,19 @@
"state": "clients",
"component": "vn-client-index",
"acl": ["employee"]
}, {
},
{
"url": "/create",
"state": "create",
"component": "vn-client-create"
}, {
},
{
"url": "/clients/:id",
"state": "clientCard",
"abstract": true,
"component": "vn-client-card"
}, {
},
{
"url": "/basic-data",
"state": "clientCard.basicData",
"component": "vn-client-basic-data",
@ -29,7 +32,8 @@
"description": "Basic data",
"icon": "person"
}
}, {
},
{
"url": "/fiscal-data",
"state": "clientCard.fiscalData",
"component": "vn-client-fiscal-data",
@ -40,7 +44,8 @@
"description": "Fiscal data",
"icon": "account_balance"
}
}, {
},
{
"url": "/billing-data",
"state": "clientCard.billingData",
"component": "vn-client-billing-data",
@ -51,12 +56,14 @@
"description": "Pay method",
"icon": "assignment"
}
}, {
},
{
"url": "/addresses",
"state": "clientCard.addresses",
"component": "ui-view",
"abstract": true
}, {
},
{
"url": "/list",
"state": "clientCard.addresses.list",
"component": "vn-client-addresses",
@ -67,15 +74,18 @@
"description": "Addresses",
"icon": "local_shipping"
}
}, {
},
{
"url": "/create",
"state": "clientCard.addresses.create",
"component": "vn-address-create"
}, {
},
{
"url": "/:addressId/edit",
"state": "clientCard.addresses.edit",
"component": "vn-address-edit"
}, {
},
{
"url": "/web-access",
"state": "clientCard.webAccess",
"component": "vn-client-web-access",
@ -86,12 +96,14 @@
"description": "Web access",
"icon": "language"
}
}, {
},
{
"url": "/notes",
"state": "clientCard.notes",
"component": "ui-view",
"abstract": true
}, {
},
{
"url": "/list",
"state": "clientCard.notes.list",
"component": "vn-client-notes",
@ -102,16 +114,19 @@
"description": "Notes",
"icon": "insert_drive_file"
}
}, {
},
{
"url": "/create",
"state": "clientCard.notes.create",
"component": "vn-note-create"
}, {
},
{
"url": "/credit",
"abstract": true,
"state": "clientCard.credit",
"component": "ui-view"
}, {
},
{
"url": "/list",
"state": "clientCard.credit.list",
"component": "vn-client-credit-list",
@ -123,19 +138,22 @@
"icon": "credit_card"
},
"acl": ["manager", "salesAssistant", "teamBoss", "teamManager"]
}, {
},
{
"url": "/create",
"state": "clientCard.credit.create",
"component": "vn-client-credit-create",
"params": {
"client": "$ctrl.client"
}
}, {
},
{
"url": "/greuge",
"abstract": true,
"state": "clientCard.greuge",
"component": "ui-view"
}, {
},
{
"url": "/list",
"state": "clientCard.greuge.list",
"component": "vn-client-greuge-list",
@ -146,14 +164,16 @@
"description": "Greuge",
"icon": "work"
}
}, {
},
{
"url": "/create",
"state": "clientCard.greuge.create",
"component": "vn-client-greuge-create",
"params": {
"client": "$ctrl.client"
}
}, {
},
{
"url": "/mandate",
"state": "clientCard.mandate",
"component": "vn-client-mandate",

View File

@ -19,6 +19,7 @@ jasmine.loadConfig({
spec_files: [
'auth/server/**/*[sS]pec.js',
'client/common/**/*[sS]pec.js',
'item/common/**/*[sS]pec.js',
'loopback/common/**/*[sS]pec.js'
],
helpers: [