|
@@ -85,7 +85,7 @@ angular.module('odoo',['ionic', 'ngCordova', 'xml-rpc'])
|
|
url: 'app/sales',
|
|
url: 'app/sales',
|
|
views: {
|
|
views: {
|
|
'content': {
|
|
'content': {
|
|
- templateUrl: 'templates/sales.html',
|
|
|
|
|
|
+ templateUrl: 'templates/sale/sales.html',
|
|
controller: 'SaleController'
|
|
controller: 'SaleController'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -95,12 +95,22 @@ angular.module('odoo',['ionic', 'ngCordova', 'xml-rpc'])
|
|
url: 'app/customers',
|
|
url: 'app/customers',
|
|
views: {
|
|
views: {
|
|
'content': {
|
|
'content': {
|
|
- templateUrl: 'templates/customers.html',
|
|
|
|
|
|
+ templateUrl: 'templates/sale/customers.html',
|
|
controller: 'CustomersController'
|
|
controller: 'CustomersController'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
|
|
|
|
+ .state('app.leads', {
|
|
|
|
+ url: 'app/leads',
|
|
|
|
+ views: {
|
|
|
|
+ 'content': {
|
|
|
|
+ templateUrl: 'templates/sale/leads.html',
|
|
|
|
+ controller: 'LeadsController'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+
|
|
.state('configuration', {
|
|
.state('configuration', {
|
|
url: '/configuration',
|
|
url: '/configuration',
|
|
templateUrl: 'templates/configuration.html',
|
|
templateUrl: 'templates/configuration.html',
|