salix/modules/supplier/front/routes.json

42 lines
1.4 KiB
JSON

{
"module": "supplier",
"name": "Suppliers",
"icon" : "icon-supplier",
"dependencies": ["client", "item"],
"validations" : true,
"menus": {
"main": [
{"state": "supplier.index", "icon": "icon-supplier"}
],
"card": [
{"state": "supplier.card.basicData", "icon": "settings"},
{"state": "supplier.card.fiscalData", "icon": "account_balance"},
{"state": "supplier.card.billingData", "icon": "icon-payment"},
{"state": "supplier.card.log", "icon": "history"},
{"state": "supplier.card.account", "icon": "icon-account"},
{"state": "supplier.card.contact", "icon": "contact_phone"},
{"state": "supplier.card.address.index", "icon": "icon-delivery"},
{"state": "supplier.card.consumption", "icon": "show_chart"},
{"state": "supplier.card.agencyTerm.index", "icon": "icon-agency-term"}
]
},
"keybindings": [
{"key": "p", "state": "supplier.index"}
],
"routes": [
{
"url": "/supplier",
"state": "supplier",
"abstract": true,
"component": "vn-supplier",
"description": "Suppliers"
},
{
"url": "/index?q",
"state": "supplier.index",
"component": "vn-supplier-index",
"description": "Suppliers"
}
]
}