diff --git a/app/index.html b/app/index.html
index 7634cac..9c50ba4 100644
--- a/app/index.html
+++ b/app/index.html
@@ -107,16 +107,12 @@
-
-
-
-
@@ -146,16 +142,12 @@
-
-
-
-
diff --git a/app/js/app.js b/app/js/app.js
index a0ff9c9..64f67bd 100644
--- a/app/js/app.js
+++ b/app/js/app.js
@@ -154,24 +154,6 @@
controller: "fuelManagerController"
})
- .state("app.gallery", {
- url: "/gallery",
- templateUrl: "partials/gallery/gallery.html",
- controller: "galleryController"
- })
-
- .state("app.jqueryui", {
- url: "/jqueryui",
- templateUrl: "partials/jqueryui/jqueryui.html",
- controller: "jqueryuiController"
- })
-
- .state("app.popups", {
- url: "/popups",
- templateUrl: "partials/popups/popups.html",
- controller: "popupsController"
- })
-
.state("app.pricing", {
url: "/pricing",
templateUrl: "partials/pricing/pricing.html",
@@ -210,13 +192,7 @@
controller: "viewCompanyController"
})
- .state("app.widgetTemplate", {
- url: "/widgetTemplate",
- templateUrl: "partials/widgetTemplate/widgetTemplate.html",
- controller: "widgetTemplateController"
- })
-
- .state("app.fuelOrders", {
+ .state("app.fuelOrders", {
url: "/fuelOrders",
templateUrl: "partials/fuelOrders/fuelOrders.html",
controller: "fuelOrdersController"
diff --git a/app/partials/gallery/gallery.controller.js b/app/partials/gallery/gallery.controller.js
deleted file mode 100644
index 05de295..0000000
--- a/app/partials/gallery/gallery.controller.js
+++ /dev/null
@@ -1,12 +0,0 @@
-'use strict';
-
- //Load controller
- angular.module('acufuel')
-
- .controller('galleryController', ['$scope',function($scope) {
-
- $scope.test = "Testing...";
-
- }]);
-
-
diff --git a/app/partials/gallery/gallery.html b/app/partials/gallery/gallery.html
deleted file mode 100644
index 8bee40d..0000000
--- a/app/partials/gallery/gallery.html
+++ /dev/null
@@ -1,151 +0,0 @@
-
-
\ No newline at end of file
diff --git a/app/partials/gallery/gallery.service.js b/app/partials/gallery/gallery.service.js
deleted file mode 100644
index d142af3..0000000
--- a/app/partials/gallery/gallery.service.js
+++ /dev/null
@@ -1,13 +0,0 @@
-(function(){
- 'use strict';
- angular.module('acufuel')
- .service('galleryService', ['$q', '$http', 'BE', galleryService]);
-
- function galleryService($q, $http, BE) {
- var temp = {};
-
-
-
- }
-
-})();
\ No newline at end of file
diff --git a/app/partials/jqueryui/jqueryui.controller.js b/app/partials/jqueryui/jqueryui.controller.js
deleted file mode 100644
index 7ee06e3..0000000
--- a/app/partials/jqueryui/jqueryui.controller.js
+++ /dev/null
@@ -1,14 +0,0 @@
-
-(function() {
- 'use strict'
-
- angular.module('acufuel')
- .controller('jqueryuiController', [ '$scope', '$filter', '$rootScope', '$state', jqueryuiController]);
-
- function jqueryuiController($scope, $filter, $rootScope, $state) {
-
- }
-})();
-
-
-
diff --git a/app/partials/jqueryui/jqueryui.html b/app/partials/jqueryui/jqueryui.html
deleted file mode 100644
index e0d920b..0000000
--- a/app/partials/jqueryui/jqueryui.html
+++ /dev/null
@@ -1,127 +0,0 @@
-
-
\ No newline at end of file
diff --git a/app/partials/jqueryui/jqueryui.service.js b/app/partials/jqueryui/jqueryui.service.js
deleted file mode 100644
index d4d76fc..0000000
--- a/app/partials/jqueryui/jqueryui.service.js
+++ /dev/null
@@ -1,13 +0,0 @@
-(function(){
- 'use strict';
- angular.module('acufuel')
- .service('jqueryuiService', ['$q', '$http', 'BE', jqueryuiService]);
-
- function jqueryuiService($q, $http, BE) {
- var temp = {};
-
-
-
- }
-
-})();
\ No newline at end of file
diff --git a/app/partials/popups/popups.controller.js b/app/partials/popups/popups.controller.js
deleted file mode 100644
index 88bda6c..0000000
--- a/app/partials/popups/popups.controller.js
+++ /dev/null
@@ -1,13 +0,0 @@
-
-'use strict';
-
- //Load controller
- angular.module('acufuel')
-
- .controller('popupsController', ['$scope',function($scope) {
-
- $scope.test = "Testing...";
-
- }]);
-
-
diff --git a/app/partials/popups/popups.html b/app/partials/popups/popups.html
deleted file mode 100644
index c51e0d6..0000000
--- a/app/partials/popups/popups.html
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
\ No newline at end of file
diff --git a/app/partials/popups/popups.service.js b/app/partials/popups/popups.service.js
deleted file mode 100644
index 27f6de1..0000000
--- a/app/partials/popups/popups.service.js
+++ /dev/null
@@ -1,13 +0,0 @@
-(function(){
- 'use strict';
- angular.module('acufuel')
- .service('popupsService', ['$q', '$http', 'BE', popupsService]);
-
- function popupsService($q, $http, BE) {
- var temp = {};
-
-
-
- }
-
-})();
\ No newline at end of file
diff --git a/app/partials/viewCompany/viewCompany.controller.js b/app/partials/viewCompany/viewCompany.controller.js
index 256c1f0..90ec9d5 100644
--- a/app/partials/viewCompany/viewCompany.controller.js
+++ b/app/partials/viewCompany/viewCompany.controller.js
@@ -57,6 +57,17 @@
function getContactList(){
ViewCompanyService.getContact(companyId).then(function(result) {
$scope.companyContactList = result;
+ for(var i=0;i<$scope.companyContactList.length; i++){
+ if($scope.companyContactList[i].priceEmail == true){
+ $scope.companyContactList[i].value1 = 'on';
+ console.log('aya')
+ }else{
+ $scope.companyContactList[i].value1 = 'off';
+
+ }
+ console.log($scope.companyContactList[i])
+ $('#'+$scope.companyContactList[i].id).bootstrapToggle($scope.companyContactList[i].value1)
+ }
})
}
diff --git a/app/partials/viewCompany/viewCompany.html b/app/partials/viewCompany/viewCompany.html
index e6513c0..09554ab 100644
--- a/app/partials/viewCompany/viewCompany.html
+++ b/app/partials/viewCompany/viewCompany.html
@@ -293,7 +293,7 @@
- |
+ |
{{contact.firstName}} |
{{contact.lastName}} |
{{contact.title}} |
diff --git a/app/partials/widgetTemplate/widgetTemplate.controller.js b/app/partials/widgetTemplate/widgetTemplate.controller.js
deleted file mode 100644
index ad1c543..0000000
--- a/app/partials/widgetTemplate/widgetTemplate.controller.js
+++ /dev/null
@@ -1,13 +0,0 @@
-
-'use strict';
-
- //Load controller
- angular.module('acufuel')
-
- .controller('widgetTemplateController', ['$scope',function($scope) {
-
- $scope.test = "Testing...";
-
- }]);
-
-
diff --git a/app/partials/widgetTemplate/widgetTemplate.html b/app/partials/widgetTemplate/widgetTemplate.html
deleted file mode 100644
index 29923a8..0000000
--- a/app/partials/widgetTemplate/widgetTemplate.html
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/app/partials/widgetTemplate/widgetTemplate.service.js b/app/partials/widgetTemplate/widgetTemplate.service.js
deleted file mode 100644
index 9c4f9b2..0000000
--- a/app/partials/widgetTemplate/widgetTemplate.service.js
+++ /dev/null
@@ -1,13 +0,0 @@
-(function(){
- 'use strict';
- angular.module('acufuel')
- .service('widgetTemplateService', ['$q', '$http', 'BE', widgetTemplateService]);
-
- function widgetTemplateService($q, $http, BE) {
- var temp = {};
-
-
-
- }
-
-})();
\ No newline at end of file