{ "module": "order", "name": "Orders", "icon": "shopping_cart", "validations": true, "routes": [ { "url": "/order", "state": "order", "abstract": true, "component": "ui-view", "description": "Orders" }, { "url": "/index?q", "state": "order.index", "component": "vn-order-index", "description": "List" }, { "url": "/:id", "state": "order.card", "abstract": true, "component": "vn-order-card" }, { "url": "/summary", "state": "order.card.summary", "component": "vn-order-summary", "description": "Summary", "params": { "order": "$ctrl.order" } }, { "url": "/catalog?category&type", "state": "order.card.catalog", "component": "vn-order-catalog", "description": "Catalog", "params": { "order": "$ctrl.order" } }, { "url": "/volume", "state": "order.card.volume", "component": "vn-order-volume", "description": "Volume", "params": { "order": "$ctrl.order" } }, { "url": "/line", "state": "order.card.line", "component": "vn-order-line", "description": "Lines", "params": { "order": "$ctrl.order" } }, { "url": "/create?clientFk", "state": "order.create", "component": "vn-order-create", "description": "New order" } ], "menu": [ {"state": "order.card.catalog", "icon": "shopping_cart"}, {"state": "order.card.volume", "icon": "icon-volume"}, {"state": "order.card.line", "icon": "icon-lines"} ] }