Commit 302b19c4eea4d4e9560b8534d133418604a9a2d9

Authored by Kuldeep Arora
1 parent b033133c1d
Exists in master

updates

1 /*------------------------------------------------------------------ 1 /*------------------------------------------------------------------
2 2
3 [Login/Signup Stylesheet] 3 [Login/Signup Stylesheet]
4 4
5 Project: Base Admin 5 Project: Base Admin
6 Version: 1.0 6 Version: 1.0
7 Last change: 05/21/2012 7 Last change: 05/21/2012
8 Assigned to: Rod Howard (rh) 8 Assigned to: Rod Howard (rh)
9 9
10 -------------------------------------------------------------------*/ 10 -------------------------------------------------------------------*/
11 11
12 12
13 13
14 14
15 /** Base Body Styles **/ 15 /** Base Body Styles **/
16 /*body{ color:#838383; font: 13px/1.7em 'Open Sans'; 16 /*body{ color:#838383; font: 13px/1.7em 'Open Sans';
17 */body{ 17 */body{
18 color:#838383; 18 color:#838383;
19 font-family: 'Open Sans', sans-serif; 19 font-family: 'Open Sans', sans-serif;
20 font: 13px/1.7em 'Open Sans' sans-serif; 20 font: 13px/1.7em 'Open Sans' sans-serif;
21 background: #f3f3f3; 21 background: #f3f3f3;
22 22
23 23
24 24
25 } 25 }
26 26
27 .account-container { 27 .account-container {
28 width: 390px; 28 width: 390px;
29 display: block; 29 display: block;
30 margin: 60px auto 0 auto; 30 margin: 60px auto 0 auto;
31 31
32 background: #f9f9f9; 32 background: #f9f9f9;
33 33
34 border: 1px solid #d5d5d5; 34 border: 1px solid #d5d5d5;
35 35
36 -webkit-border-radius: 5px; 36 -webkit-border-radius: 5px;
37 -moz-border-radius: 5px; 37 -moz-border-radius: 5px;
38 border-radius: 5px; 38 border-radius: 5px;
39 39
40 40
41 } 41 }
42 /* login page css */ 42 /* login page css */
43 43
44 .login-action {float: right; margin-top: 18px;} 44 .login-action {float: right; margin-top: 18px;}
45 45
46 .content { 46 .content {
47 padding: 16px 28px 23px; 47 padding: 16px 28px 23px;
48 } 48 }
49 49
50 .login-fields { 50 .login-fields {
51 51
52 } 52 }
53 53
54 .login-fields .field { 54 .login-fields .field {
55 margin-bottom: 1.25em; 55 margin-bottom: 1.25em;
56 } 56 }
57 57
58 .login-fields label { 58 .login-fields label {
59 display: none; 59 display: none;
60 } 60 }
61 61
62 .login-fields input { 62 .login-fields input {
63 font-family: 'Open Sans'; 63 font-family: 'Open Sans';
64 font-size: 13px; 64 font-size: 13px;
65 color: #8e8d8d; 65 color: #8e8d8d;
66 padding: 11px 15px 10px 50px; 66 padding: 11px 15px 10px 50px;
67 background-color: #fdfdfd; 67 background-color: #fdfdfd;
68 width: 100%; 68 width: 100%;
69 display: block; 69 display: block;
70 margin: 0; 70 margin: 0;
71 box-shadow: inset 2px 2px 4px #f1f1f1; 71 box-shadow: inset 2px 2px 4px #f1f1f1;
72 height: 40px; 72 height: 40px;
73 } 73 }
74 74
75 .username-field { background: url(../../img/signin/user.png) no-repeat; } 75 .username-field { background: url(../../img/signin/user.png) no-repeat; }
76 76
77 .password-field { background: url(../../img/signin/password.png) no-repeat; } 77 .password-field { background: url(../../img/signin/password.png) no-repeat; }
78 78
79 .email-field { background: url(../../img/forgetPassword/forgetPassword.png) no-repeat; } 79 .email-field { background: url(../../img/forgetPassword/forgetPassword.png) no-repeat; }
80 80
81 81
82 82
83 .login-actions { 83 .login-actions {
84 float: left; 84 float: left;
85 85
86 width: 100%; 86 width: 100%;
87 87
88 margin-top: -1em; 88 margin-top: -1em;
89 margin-bottom: 1.25em; 89 margin-bottom: 1.25em;
90 } 90 }
91 .btn-primary-color { 91 .btn-primary-color {
92 color: #fff; 92 color: #fff;
93 background-color: #f79400; 93 background-color: #f79400;
94 border-color: #f79400; 94 border-color: #f79400;
95 } 95 }
96 96
97 .btn-primary-color : hover { 97 .btn-primary-color : hover {
98 color: #fff; 98 color: #fff;
99 background-color: #f79400; 99 background-color: #f79400;
100 border-color: #f79400; 100 border-color: #f79400;
101 } 101 }
102 102
103 .login-social { 103 .login-social {
104 float: left; 104 float: left;
105 105
106 padding: 10px 0 15px; 106 padding: 10px 0 15px;
107 107
108 border: 1px dotted #CCC; 108 border: 1px dotted #CCC;
109 border-right: none; 109 border-right: none;
110 border-left: none; 110 border-left: none;
111 } 111 }
112 112
113 .login-checkbox { 113 .login-checkbox {
114 float: left; 114 float: left;
115 margin-top: 31px; 115 margin-top: 31px;
116 } 116 }
117 117
118 .login-checkbox > input[type='checkbox'] { 118 .login-checkbox > input[type='checkbox'] {
119 opacity: 0; 119 opacity: 0;
120 float: left; 120 float: left;
121 width: 15px; 121 width: 15px;
122 } 122 }
123 123
124 .login-checkbox > input[type='checkbox'] + label { 124 .login-checkbox > input[type='checkbox'] + label {
125 clear: none; 125 clear: none;
126 126
127 height: 15px; 127 height: 15px;
128 display: block; 128 display: block;
129 padding: 0 0 0 22px; 129 padding: 0 0 0 22px;
130 margin: 0; 130 margin: 0;
131 131
132 font-size: 12px; 132 font-size: 12px;
133 line-height: 1.2em; 133 line-height: 1.2em;
134 134
135 background: url(../../img/signin/check.png) no-repeat 0 0; 135 background: url(../../img/signin/check.png) no-repeat 0 0;
136 136
137 cursor: pointer; 137 cursor: pointer;
138 } 138 }
139 139
140 .login-checkbox > input[type='checkbox']:checked + label { 140 .login-checkbox > input[type='checkbox']:checked + label {
141 background-position: 0 -15px; 141 background-position: 0 -15px;
142 } 142 }
143 143
144 /** Text Under Box**/ 144 /** Text Under Box**/
145 .login-extra { 145 .login-extra {
146 display: block; 146 display: block;
147 width: 300px; 147 width: 300px;
148 margin: 1.5em auto; 148 margin: 1.5em auto;
149 149
150 text-align: center; 150 text-align: center;
151 line-height: 19px; 151 line-height: 19px;
152 152
153 text-shadow: 1px 1px 0px #fff; 153 text-shadow: 1px 1px 0px #fff;
154 } 154 }
155 155
156 156
157 .account-container h1 { 157 .account-container h1 {
158 margin-bottom: .4em; 158 margin-bottom: .4em;
159 159
160 color: #f90; 160 color: #f90;
161 161
162 font-size: 32px; 162 font-size: 32px;
163 } 163 }
164 164
165 /** Buttons **/ 165 /** Buttons **/
166 .twitter, .fb { 166 .twitter, .fb {
167 position: relative; 167 position: relative;
168 168
169 height: 32px; 169 height: 32px;
170 width: 157px; 170 width: 157px;
171 display: block; 171 display: block;
172 172
173 background: url(../../img/signin/twitter_btn.png) no-repeat; 173 background: url(../../img/signin/twitter_btn.png) no-repeat;
174 174
175 } 175 }
176 176
177 .fb { 177 .fb {
178 width: 162px; 178 width: 162px;
179 179
180 background: url(../../img/signin/fb_btn.png) no-repeat; 180 background: url(../../img/signin/fb_btn.png) no-repeat;
181 } 181 }
182 182
183 .twitter:active, .fb:active { 183 .twitter:active, .fb:active {
184 top: 1px; 184 top: 1px;
185 } 185 }
186 186
187 .twitter:hover, .fb:hover { 187 .twitter:hover, .fb:hover {
188 background-position: 0 -32px; 188 background-position: 0 -32px;
189 } 189 }
190 190
191 .twitter a, .fb a { 191 .twitter a, .fb a {
192 padding: 5px 0 0 35px; 192 padding: 5px 0 0 35px;
193 text-shadow: -1px -1px 0px rgba(0,0,0,.3); 193 text-shadow: -1px -1px 0px rgba(0,0,0,.3);
194 color:#fff; 194 color:#fff;
195 font-weight: bold; 195 font-weight: bold;
196 font-size: 11px; 196 font-size: 11px;
197 height: 32px; 197 height: 32px;
198 display: block; 198 display: block;
199 } 199 }
200 200
201 .fb a { 201 .fb a {
202 padding: 5px 0 0 31px; 202 padding: 5px 0 0 31px;
203 203
204 } 204 }
205 205
206 .twitter, .fb { 206 .twitter, .fb {
207 display: inline-block; 207 display: inline-block;
208 } 208 }
209 209
210 .twitter a:hover, .fb a:hover { 210 .twitter a:hover, .fb a:hover {
211 color: #FFF; 211 color: #FFF;
212 text-decoration: none; 212 text-decoration: none;
213 } 213 }
214 214
215 .register .login-social { 215 .register .login-social {
216 margin-bottom: 1em; 216 margin-bottom: 1em;
217 } 217 }
218 218
219 .register .login-actions { 219 .register .login-actions {
220 margin-bottom: 0; 220 margin-bottom: 0;
221 } 221 }
222 222
223 .register .login-fields input { 223 .register .login-fields input {
224 width: 299px; 224 width: 299px;
225 padding-left: 6px; 225 padding-left: 6px;
226 } 226 }
227 227
228 .register h1 { 228 .register h1 {
229 color: #444; 229 color: #444;
230 } 230 }
231 231
232 .register span.login-checkbox { 232 .register span.login-checkbox {
233 position: relative; 233 position: relative;
234 top: -6px; 234 top: -6px;
235 235
236 width: 200px; 236 width: 200px;
237 } 237 }
238 238
239 .register span.login-checkbox > input[type="checkbox"] + label { 239 .register span.login-checkbox > input[type="checkbox"] + label {
240 240
241 position: relative; 241 position: relative;
242 242
243 line-height: 1.3em; 243 line-height: 1.3em;
244 } 244 }
245 245
246 246
247 247
248 @media (max-width: 480px) { 248 @media (max-width: 480px) {
249 249
250 .account-container { 250 .account-container {
251 width: 280px; 251 width: 280px;
252 margin-top: 35px; 252 margin-top: 35px;
253 } 253 }
254 254
255 .login-fields input { 255 .login-fields input {
256 width: 160px; 256 width: 160px;
257 } 257 }
258 258
259 .login-social { 259 .login-social {
260 width: 100%; 260 width: 100%;
261 } 261 }
262 262
263 .twitter { 263 .twitter {
264 display: block; 264 display: block;
265 margin-bottom: 1em; 265 margin-bottom: 1em;
266 } 266 }
267 267
268 .register .login-fields input { 268 .register .login-fields input {
269 width: 204px; 269 width: 204px;
270 padding-left: 6px; 270 padding-left: 6px;
271 } 271 }
272 272
273 }/**/ 273 }/**/
274 274
275 275
276 .bttn-clr{ 276 .bttn-clr{
277 background-color: #DD8500; 277 background-color: #DD8500;
278 border-color: #AA6500; 278 border-color: #AA6500;
279 background-image: linear-gradient(to bottom, #f1f1f1 0%, #cc7a00 100%); 279 background-image: linear-gradient(to bottom, #f1f1f1 0%, #cc7a00 100%);
280 280
281 } 281 }
282 282
283 283
284 284
285 .custom-widget-content{ 285 .custom-widget-content{
286 width: 100%; 286 width: 100%;
287 height: auto; 287 height: auto;
288 padding: 15px 0; 288 padding: 15px 0;
289 background-color: #fff; 289 background-color: #fff;
290 border: 1px solid #D5D5D5; 290 border: 1px solid #D5D5D5;
291 border-radius: 0 0 5px 5px; 291 border-radius: 0 0 5px 5px;
292 } 292 }
293 .hr{ 293 .hr{
294 margin: 5px 0; 294 margin: 5px 0;
295 } 295 }
296 .disableSelect:disabled{ 296 .disableSelect:disabled{
297 border: 0; 297 border: 0;
298 background-color: transparent; 298 background-color: transparent;
299 color: #f90; 299 color: #f90;
300 box-shadow: none; 300 box-shadow: none;
301 -webkit-appearance: none; 301 -webkit-appearance: none;
302 appearance: none; 302 appearance: none;
303 } 303 }
304 .disableInput:disabled{ 304 .disableInput:disabled{
305 border: 0; 305 border: 0;
306 background-color: transparent; 306 background-color: transparent;
307 color: #222; 307 color: #222;
308 box-shadow: none; 308 box-shadow: none;
309 } 309 }
310 .img-logo{ 310 .img-logo{
311 height: 25px; 311 height: 25px;
312 padding-left: 10%; 312 padding-left: 10%;
313 } 313 }
314 314
315 .font-company{ 315 .font-company{
316 font-size: 10px; 316 font-size: 10px;
317 } 317 }
318 318
319 .icon-tint-margin{ 319 .icon-tint-margin{
320 margin-bottom: 5px; 320 margin-bottom: 5px;
321 } 321 }
322 322
323 .forget-password{ 323 .forget-password{
324 color:#f90; 324 color:#f90;
325 font-size: 21px; 325 font-size: 21px;
326 326
327 } 327 }
328 328
329 .forget{ 329 .forget{
330 position:relative; 330 position:relative;
331 right: 120px; 331 right: 120px;
332 } 332 }
333 333
334 334
335 /* login page css */ 335 /* login page css */
336
337 .table.vertical-center > thead > tr > th, .table.vertical-center > tbody > tr > th, .table.vertical-center > tfoot > tr > th, .table.vertical-center > thead > tr > td, .table.vertical-center > tbody > tr > td, .table.vertical-center > tfoot > tr > td{
338 vertical-align: middle !important;
339 }
340 .checkLabel:last-child>span{
341 display: none;
342 }
app/partials/fuelManager/fuelManager.controller.js
1 1
2 'use strict'; 2 'use strict';
3 3
4 //Load controller 4 //Load controller
5 angular.module('acufuel') 5 angular.module('acufuel')
6 6
7 //.controller('fuelManagerController', ['$scope', 'fuelManagerService',function($scope, fuelManagerService) { 7 //.controller('fuelManagerController', ['$scope', 'fuelManagerService',function($scope, fuelManagerService) {
8 .controller('fuelManagerController', ['$scope', '$rootScope', '$uibModal', '$filter', '$http', 'fuelManagerService', fuelManagerController]); 8 .controller('fuelManagerController', ['$scope', '$rootScope', '$uibModal', '$filter', '$http', 'fuelManagerService', fuelManagerController]);
9 9
10 function fuelManagerController($scope, $rootScope, $uibModal, $filter, $http, fuelManagerService) { 10 function fuelManagerController($scope, $rootScope, $uibModal, $filter, $http, fuelManagerService) {
11 11
12 var todayDate = new Date(); 12 var todayDate = new Date();
13 var ddn = todayDate.getDate(); 13 var ddn = todayDate.getDate();
14 var mmn = todayDate.getMonth()+1; //January is 0! 14 var mmn = todayDate.getMonth()+1; //January is 0!
15 var yyyyn = todayDate.getFullYear(); 15 var yyyyn = todayDate.getFullYear();
16 16
17 if(ddn<10) { 17 if(ddn<10) {
18 ddn ='0'+ddn 18 ddn ='0'+ddn
19 } 19 }
20 20
21 if(mmn<10) { 21 if(mmn<10) {
22 mmn ='0'+mmn 22 mmn ='0'+mmn
23 } 23 }
24 24
25 $scope.todayDateNew = mmn+'/'+ddn+'/'+yyyyn; 25 $scope.todayDateNew = mmn+'/'+ddn+'/'+yyyyn;
26 $scope.currentUserName = JSON.parse(window.localStorage.getItem("currentUserName")); 26 $scope.currentUserName = JSON.parse(window.localStorage.getItem("currentUserName"));
27 27
28 $scope.currentUserData = JSON.parse(localStorage.getItem('userProfileId')); 28 $scope.currentUserData = JSON.parse(localStorage.getItem('userProfileId'));
29 $scope.showLoader = true; 29 $scope.showLoader = true;
30 30
31 fuelManagerService.getFullList().then(function(result) { 31 fuelManagerService.getFullList().then(function(result) {
32 $scope.fullJetList = result; 32 $scope.fullJetList = result;
33 console.log('$scope.fullJetList', $scope.fullJetList); 33 // console.log('$scope.fullJetList', $scope.fullJetList);
34 for (var i = 0; i<$scope.fullJetList.length; i++) { 34 for (var i = 0; i<$scope.fullJetList.length; i++) {
35 for (var j = 0; j<$scope.fullJetList[i].aircraftsSize.length; j++) { 35 for (var j = 0; j<$scope.fullJetList[i].aircraftsSize.length; j++) {
36 if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance != null) { 36 if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance != null) {
37 if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != null && $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != '') { 37 if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != null && $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != '') {
38 var newTime = new Date($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate); 38 var newTime = new Date($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate);
39 var dmonth = newTime.getUTCMonth() + 1; //months from 1-12 39 var dmonth = newTime.getUTCMonth() + 1; //months from 1-12
40 var dday = newTime.getUTCDate(); 40 var dday = newTime.getUTCDate();
41 var dyear = newTime.getUTCFullYear(); 41 var dyear = newTime.getUTCFullYear();
42 $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate = dmonth+'/'+dday+'/'+dyear; 42 $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate = dmonth+'/'+dday+'/'+dyear;
43 console.log('$scope.fullJetList.aircraftsSize.rampFeesAndAvoidance.expirationDate', $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate); 43 // console.log('$scope.fullJetList.aircraftsSize.rampFeesAndAvoidance.expirationDate', $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate);
44 } 44 }
45 } 45 }
46 } 46 }
47 } 47 }
48 $scope.showLoader = false; 48 $scope.showLoader = false;
49 }) 49 })
50 50
51 $scope.avoidanceList = {}; 51 $scope.avoidanceList = {};
52 52
53 $scope.updateList = function(fullJetList){ 53 $scope.updateList = function(fullJetList){
54 $scope.showLoader = true; 54 $scope.showLoader = true;
55 $scope.addData = []; 55 $scope.addData = [];
56 $scope.newJetList = fullJetList; 56 $scope.newJetList = fullJetList;
57 if ($scope.currentUserData != undefined || $scope.currentUserData != null) { 57 if ($scope.currentUserData != undefined || $scope.currentUserData != null) {
58 for(var i=0; i<$scope.newJetList.length;i++){ 58 for(var i=0; i<$scope.newJetList.length;i++){
59 for(var j = 0; j < $scope.newJetList[i].aircraftsSize.length; j++){ 59 for(var j = 0; j < $scope.newJetList[i].aircraftsSize.length; j++){
60 if($scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance != null){ 60 if($scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance != null){
61 if ($scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != null) { 61 if ($scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != null) {
62 $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate = new Date($scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate); 62 $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate = new Date($scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate);
63 $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate = $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate.getTime(); 63 $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate = $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate.getTime();
64 } 64 }
65 $scope.addData.push({ 65 $scope.addData.push({
66 //'aircraftType': $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.aircraftType, 66 //'aircraftType': $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.aircraftType,
67 'id': $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.id, 67 'id': $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.id,
68 'aircraftSizeId': $scope.newJetList[i].aircraftsSize[j].id, 68 'aircraftSizeId': $scope.newJetList[i].aircraftsSize[j].id,
69 'rampFees': $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.rampFees, 69 'rampFees': $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.rampFees,
70 'avoidance' : $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.avoidance, 70 'avoidance' : $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.avoidance,
71 'applicable' : $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.applicable, 71 'applicable' : $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.applicable,
72 'expirationDate' : $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate, 72 'expirationDate' : $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate,
73 'notes' : $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.notes, 73 'notes' : $scope.newJetList[i].aircraftsSize[j].rampFeesAndAvoidance.notes,
74 'reportedBy': $scope.currentUserName 74 'reportedBy': $scope.currentUserName
75 }); 75 });
76 } 76 }
77 } 77 }
78 } 78 }
79 $scope.avoidanceList.rampFeesAndAvoidanceList = $scope.addData; 79 $scope.avoidanceList.rampFeesAndAvoidanceList = $scope.addData;
80 $scope.avoidanceList.fboUserId = $scope.currentUserData; 80 $scope.avoidanceList.fboUserId = $scope.currentUserData;
81 81
82 fuelManagerService.updateFullList($scope.avoidanceList).then(function(result) { 82 fuelManagerService.updateFullList($scope.avoidanceList).then(function(result) {
83 toastr.success(''+result.success+'', { 83 toastr.success(''+result.success+'', {
84 closeButton: true 84 closeButton: true
85 }) 85 })
86 fuelManagerService.getFullList().then(function(result) { 86 fuelManagerService.getFullList().then(function(result) {
87 $scope.fullJetList = result; 87 $scope.fullJetList = result;
88 console.log('$scope.fullJetList', $scope.fullJetList); 88 // console.log('$scope.fullJetList', $scope.fullJetList);
89 for (var i = 0; i<$scope.fullJetList.length; i++) { 89 for (var i = 0; i<$scope.fullJetList.length; i++) {
90 for (var j = 0; j<$scope.fullJetList[i].aircraftsSize.length; j++) { 90 for (var j = 0; j<$scope.fullJetList[i].aircraftsSize.length; j++) {
91 if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance != null) { 91 if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance != null) {
92 if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != null && $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != '') { 92 if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != null && $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != '') {
93 var newTime = new Date($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate); 93 var newTime = new Date($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate);
94 var dmonth = newTime.getUTCMonth() + 1; //months from 1-12 94 var dmonth = newTime.getUTCMonth() + 1; //months from 1-12
95 var dday = newTime.getUTCDate(); 95 var dday = newTime.getUTCDate();
96 var dyear = newTime.getUTCFullYear(); 96 var dyear = newTime.getUTCFullYear();
97 $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate = dmonth+'/'+dday+'/'+dyear; 97 $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate = dmonth+'/'+dday+'/'+dyear;
98 console.log('$scope.fullJetList.aircraftsSize.rampFeesAndAvoidance.expirationDate', $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate); 98 // console.log('$scope.fullJetList.aircraftsSize.rampFeesAndAvoidance.expirationDate', $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate);
99 } 99 }
100 } 100 }
101 } 101 }
102 } 102 }
103 $scope.showLoader = false; 103 $scope.showLoader = false;
104 }) 104 })
105 }) 105 })
106 106
107 } 107 }
108 108
109 } 109 }
110 110
111 $scope.dropOptions = {}; 111 $scope.dropOptions = {};
112 112
113 fuelManagerService.getOptions().then(function(result) { 113 fuelManagerService.getOptions().then(function(result) {
114 $scope.dropOptions = result; 114 $scope.dropOptions = result;
115 console.log('$scope.dropOptions', $scope.dropOptions); 115 // console.log('$scope.dropOptions', $scope.dropOptions);
116 }) 116 })
117 117
118 fuelManagerService.getAircrafts().then(function(result) { 118 fuelManagerService.getAircrafts().then(function(result) {
119 $scope.aircrafts = result; 119 $scope.aircrafts = result;
120 }) 120 })
121 121
122 $scope.customRampData = {}; 122 $scope.customRampData = {};
123 $scope.customRampDataCraft = {}; 123 $scope.customRampDataCraft = {};
124 $scope.customRampDataCraft.aircraftType = ''; 124 $scope.customRampDataCraft.aircraftType = '';
125 $scope.customRampDataCraft.aircraftSizeId = ''; 125 $scope.customRampDataCraft.aircraftSizeId = '';
126 126
127 $scope.openRampFeeModal = false; 127 $scope.openRampFeeModal = false;
128 $scope.showWeightForm = false; 128 $scope.showWeightForm = false;
129 $scope.showMakeModelForm = false; 129 $scope.showMakeModelForm = false;
130 $scope.showWingspanForm = false; 130 $scope.showWingspanForm = false;
131 $scope.showTailForm = false; 131 $scope.showTailForm = false;
132 132
133 $scope.customRampData = {}; 133 $scope.customRampData = {};
134 $scope.customMakeData = {}; 134 $scope.customMakeData = {};
135 $scope.customWingspanData = {}; 135 $scope.customWingspanData = {};
136 $scope.customTailData = {}; 136 $scope.customTailData = {};
137 137
138 $scope.openRampModal = function(){ 138 $scope.openRampModal = function(){
139 $scope.showLoader = true; 139 $scope.showLoader = true;
140 $scope.openRampFeeModal = true; 140 $scope.openRampFeeModal = true;
141 if ($scope.customRampDataCraft.aircraftType != null) { 141 if ($scope.customRampDataCraft.aircraftType != null) {
142 for (var i = 0; i < $scope.dropOptions.length; i++) { 142 for (var i = 0; i < $scope.dropOptions.length; i++) {
143 if ($scope.customRampDataCraft.aircraftType === $scope.dropOptions[i].size) { 143 if ($scope.customRampDataCraft.aircraftType === $scope.dropOptions[i].size) {
144 $scope.customRampDataCraft.aircraftSizeId = $scope.dropOptions[i].id; 144 $scope.customRampDataCraft.aircraftSizeId = $scope.dropOptions[i].id;
145 } 145 }
146 } 146 }
147 $scope.OldRampData = {}; 147 $scope.OldRampData = {};
148 fuelManagerService.getRampFeeDetail($scope.customRampDataCraft.aircraftSizeId).then(function(result) { 148 fuelManagerService.getRampFeeDetail($scope.customRampDataCraft.aircraftSizeId).then(function(result) {
149 $scope.OldRampData = result; 149 $scope.OldRampData = result;
150 if ($scope.customRampDataCraft.aircraftType === 'WEIGHT') { 150 if ($scope.customRampDataCraft.aircraftType === 'WEIGHT') {
151 $scope.showWeightForm = true; 151 $scope.showWeightForm = true;
152 $scope.showMakeModelForm = false; 152 $scope.showMakeModelForm = false;
153 $scope.showWingspanForm = false; 153 $scope.showWingspanForm = false;
154 $scope.showTailForm = false; 154 $scope.showTailForm = false;
155 $scope.customRampData = $scope.OldRampData; 155 $scope.customRampData = $scope.OldRampData;
156 }else if ($scope.customRampDataCraft.aircraftType === 'MAKE_AND_MODEL') { 156 }else if ($scope.customRampDataCraft.aircraftType === 'MAKE_AND_MODEL') {
157 $scope.showWeightForm = false; 157 $scope.showWeightForm = false;
158 $scope.showMakeModelForm = true; 158 $scope.showMakeModelForm = true;
159 $scope.showWingspanForm = false; 159 $scope.showWingspanForm = false;
160 $scope.showTailForm = false; 160 $scope.showTailForm = false;
161 $scope.customMakeData = $scope.OldRampData; 161 $scope.customMakeData = $scope.OldRampData;
162 console.log('$scope.customMakeData', $scope.customMakeData); 162 // console.log('$scope.customMakeData', $scope.customMakeData);
163 }else if ($scope.customRampDataCraft.aircraftType === 'WINGSPAN') { 163 }else if ($scope.customRampDataCraft.aircraftType === 'WINGSPAN') {
164 $scope.showWeightForm = false; 164 $scope.showWeightForm = false;
165 $scope.showMakeModelForm = false; 165 $scope.showMakeModelForm = false;
166 $scope.showWingspanForm = true; 166 $scope.showWingspanForm = true;
167 $scope.showTailForm = false; 167 $scope.showTailForm = false;
168 $scope.customWingspanData = $scope.OldRampData; 168 $scope.customWingspanData = $scope.OldRampData;
169 }else if ($scope.customRampDataCraft.aircraftType === 'TAIL') { 169 }else if ($scope.customRampDataCraft.aircraftType === 'TAIL') {
170 $scope.showWeightForm = false; 170 $scope.showWeightForm = false;
171 $scope.showMakeModelForm = false; 171 $scope.showMakeModelForm = false;
172 $scope.showWingspanForm = false; 172 $scope.showWingspanForm = false;
173 $scope.showTailForm = true; 173 $scope.showTailForm = true;
174 $scope.customTailData = $scope.OldRampData; 174 $scope.customTailData = $scope.OldRampData;
175 }else{ 175 }else{
176 $scope.openRampFeeModal = false; 176 $scope.openRampFeeModal = false;
177 $scope.showWeightForm = false; 177 $scope.showWeightForm = false;
178 $scope.showMakeModelForm = false; 178 $scope.showMakeModelForm = false;
179 $scope.showWingspanForm = false; 179 $scope.showWingspanForm = false;
180 $scope.showTailForm = false; 180 $scope.showTailForm = false;
181 } 181 }
182 $scope.showLoader = false; 182 $scope.showLoader = false;
183 }) 183 })
184 }else{ 184 }else{
185 $scope.openRampFeeModal = false; 185 $scope.openRampFeeModal = false;
186 } 186 }
187 } 187 }
188 188
189 $scope.addCustomRampNew = function(data){ 189 $scope.addCustomRampNew = function(data){
190 $scope.showLoader = true; 190 $scope.showLoader = true;
191 $scope.newCustomRampData = data; 191 $scope.newCustomRampData = data;
192 $scope.newRampData = []; 192 $scope.newRampData = [];
193 if ($scope.newCustomRampData != null) { 193 if ($scope.newCustomRampData != null) {
194 if ($scope.newCustomRampData.id != null) { 194 if ($scope.newCustomRampData.id != null) {
195 $scope.newRampData.push({'id': $scope.newCustomRampData.id}); 195 $scope.newRampData.push({'id': $scope.newCustomRampData.id});
196 } 196 }
197 $scope.newRampData.push({ 197 $scope.newRampData.push({
198 'aircraftSizeId': $scope.customRampDataCraft.aircraftSizeId, 198 'aircraftSizeId': $scope.customRampDataCraft.aircraftSizeId,
199 'rampFees': $scope.newCustomRampData.rampFees, 199 'rampFees': $scope.newCustomRampData.rampFees,
200 'avoidance': $scope.newCustomRampData.avoidance, 200 'avoidance': $scope.newCustomRampData.avoidance,
201 'applicable': $scope.newCustomRampData.applicable, 201 'applicable': $scope.newCustomRampData.applicable,
202 'expirationDate': $scope.newCustomRampData.expirationDate, 202 'expirationDate': $scope.newCustomRampData.expirationDate,
203 'notes': $scope.newCustomRampData.notes, 203 'notes': $scope.newCustomRampData.notes,
204 'aircraftMake': $scope.newCustomRampData.aircraftMake, 204 'aircraftMake': $scope.newCustomRampData.aircraftMake,
205 'wingspanMin': $scope.newCustomRampData.wingspanMin, 205 'wingspanMin': $scope.newCustomRampData.wingspanMin,
206 'wingspanMax': $scope.newCustomRampData.wingspanMax, 206 'wingspanMax': $scope.newCustomRampData.wingspanMax,
207 'weightRangeMin': $scope.newCustomRampData.weightRangeMin, 207 'weightRangeMin': $scope.newCustomRampData.weightRangeMin,
208 'weightRangeMax': $scope.newCustomRampData.weightRangeMax, 208 'weightRangeMax': $scope.newCustomRampData.weightRangeMax,
209 'tailNumber': $scope.newCustomRampData.tailNumber, 209 'tailNumber': $scope.newCustomRampData.tailNumber,
210 }); 210 });
211 } 211 }
212 212
213 $scope.avoidanceList.rampFeesAndAvoidanceList = $scope.newRampData; 213 $scope.avoidanceList.rampFeesAndAvoidanceList = $scope.newRampData;
214 $scope.avoidanceList.fboUserId = $scope.currentUserData; 214 $scope.avoidanceList.fboUserId = $scope.currentUserData;
215 //console.log('$scope.newRampData', $scope.avoidanceList); 215 //console.log('$scope.newRampData', $scope.avoidanceList);
216 fuelManagerService.updateFullList($scope.avoidanceList).then(function(result) { 216 fuelManagerService.updateFullList($scope.avoidanceList).then(function(result) {
217 toastr.success(''+result.success+'', { 217 toastr.success(''+result.success+'', {
218 closeButton: true 218 closeButton: true
219 }) 219 })
220 $scope.openRampFeeModal = false; 220 $scope.openRampFeeModal = false;
221 fuelManagerService.getFullList().then(function(result) { 221 fuelManagerService.getFullList().then(function(result) {
222 $scope.fullJetList = result; 222 $scope.fullJetList = result;
223 console.log('$scope.fullJetList', $scope.fullJetList); 223 // console.log('$scope.fullJetList', $scope.fullJetList);
224 for (var i = 0; i<$scope.fullJetList.length; i++) { 224 for (var i = 0; i<$scope.fullJetList.length; i++) {
225 for (var j = 0; j<$scope.fullJetList[i].aircraftsSize.length; j++) { 225 for (var j = 0; j<$scope.fullJetList[i].aircraftsSize.length; j++) {
226 if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance != null) { 226 if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance != null) {
227 if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != null && $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != '') { 227 if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != null && $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != '') {
228 var newTime = new Date($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate); 228 var newTime = new Date($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate);
229 var dmonth = newTime.getUTCMonth() + 1; //months from 1-12 229 var dmonth = newTime.getUTCMonth() + 1; //months from 1-12
230 var dday = newTime.getUTCDate(); 230 var dday = newTime.getUTCDate();
231 var dyear = newTime.getUTCFullYear(); 231 var dyear = newTime.getUTCFullYear();
232 $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate = dmonth+'/'+dday+'/'+dyear; 232 $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate = dmonth+'/'+dday+'/'+dyear;
233 console.log('$scope.fullJetList.aircraftsSize.rampFeesAndAvoidance.expirationDate', $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate); 233 // console.log('$scope.fullJetList.aircraftsSize.rampFeesAndAvoidance.expirationDate', $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate);
234 } 234 }
235 } 235 }
236 } 236 }
237 } 237 }
238 $scope.showLoader = false; 238 $scope.showLoader = false;
239 }) 239 })
240 }) 240 })
241 } 241 }
242 242
243 $scope.deleteTemplateId = ''; 243 $scope.deleteTemplateId = '';
244 244
245 $scope.deleteCustomJet = function(id){ 245 $scope.deleteCustomJet = function(id){
246 $('#confirm1').css('display', 'block'); 246 $('#confirm1').css('display', 'block');
247 $scope.deleteTemplateId = id; 247 $scope.deleteTemplateId = id;
248 console.log('$scope.deleteTemplateId', id); 248 // console.log('$scope.deleteTemplateId', id);
249 } 249 }
250 250
251 $scope.saveAndCloseConfirm = function(){ 251 $scope.saveAndCloseConfirm = function(){
252 $scope.showLoader = true; 252 $scope.showLoader = true;
253 $('#confirm1').css('display', 'none'); 253 $('#confirm1').css('display', 'none');
254 fuelManagerService.deleteCustomRamp($scope.deleteTemplateId).then(function(result) { 254 fuelManagerService.deleteCustomRamp($scope.deleteTemplateId).then(function(result) {
255 fuelManagerService.getFullList().then(function(result) { 255 fuelManagerService.getFullList().then(function(result) {
256 $scope.fullJetList = result; 256 $scope.fullJetList = result;
257 console.log('$scope.fullJetList', $scope.fullJetList); 257 // console.log('$scope.fullJetList', $scope.fullJetList);
258 for (var i = 0; i<$scope.fullJetList.length; i++) { 258 for (var i = 0; i<$scope.fullJetList.length; i++) {
259 for (var j = 0; j<$scope.fullJetList[i].aircraftsSize.length; j++) { 259 for (var j = 0; j<$scope.fullJetList[i].aircraftsSize.length; j++) {
260 if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance != null) { 260 if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance != null) {
261 if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != null && $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != '') { 261 if ($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != null && $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate != '') {
262 var newTime = new Date($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate); 262 var newTime = new Date($scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate);
263 var dmonth = newTime.getUTCMonth() + 1; //months from 1-12 263 var dmonth = newTime.getUTCMonth() + 1; //months from 1-12
264 var dday = newTime.getUTCDate(); 264 var dday = newTime.getUTCDate();
265 var dyear = newTime.getUTCFullYear(); 265 var dyear = newTime.getUTCFullYear();
266 $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate = dmonth+'/'+dday+'/'+dyear; 266 $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate = dmonth+'/'+dday+'/'+dyear;
267 console.log('$scope.fullJetList.aircraftsSize.rampFeesAndAvoidance.expirationDate', $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate); 267 //console.log('$scope.fullJetList.aircraftsSize.rampFeesAndAvoidance.expirationDate', $scope.fullJetList[i].aircraftsSize[j].rampFeesAndAvoidance.expirationDate);
268 } 268 }
269 } 269 }
270 } 270 }
271 } 271 }
272 $scope.showLoader = false; 272 $scope.showLoader = false;
273 }) 273 })
274 }) 274 })
275 } 275 }
276 276
277 $scope.cancelAndCloseConfirm = function(){ 277 $scope.cancelAndCloseConfirm = function(){
278 $('#confirm1').css('display', 'none'); 278 $('#confirm1').css('display', 'none');
279 $scope.deleteTemplateId = ''; 279 $scope.deleteTemplateId = '';
280 } 280 }
281 281
282 $scope.closeRampFeeModel = function(){ 282 $scope.closeRampFeeModel = function(){
283 $scope.openRampFeeModal = false; 283 $scope.openRampFeeModal = false;
284 $scope.showWeight = false; 284 $scope.showWeight = false;
285 $scope.showWingspan = false; 285 $scope.showWingspan = false;
286 $scope.showTail = false; 286 $scope.showTail = false;
287 $scope.showAircraft = false; 287 $scope.showAircraft = false;
288 $scope.customRampData.rampFeesAndAvoidanceList = {}; 288 $scope.customRampData.rampFeesAndAvoidanceList = {};
289 $scope.customRampDataCraft.aircraftType = null; 289 $scope.customRampDataCraft.aircraftType = null;
290 } 290 }
291 291
292 $scope.parentOpen = function(index){ 292 $scope.parentOpen = function(index){
293 $('#parentOpen'+index).css('display', 'none'); 293 $('#parentOpen'+index).css('display', 'none');
294 $('#parentClose'+index).css('display', 'initial'); 294 $('#parentClose'+index).css('display', 'initial');
295 $('#parentTogglebody'+index).slideDown(); 295 $('#parentTogglebody'+index).slideDown();
296 } 296 }
297 $scope.parentClose = function(index){ 297 $scope.parentClose = function(index){
298 $('#parentOpen'+index).css('display', 'initial'); 298 $('#parentOpen'+index).css('display', 'initial');
299 $('#parentClose'+index).css('display', 'none'); 299 $('#parentClose'+index).css('display', 'none');
300 $('#parentTogglebody'+index).slideUp(); 300 $('#parentTogglebody'+index).slideUp();
301 } 301 }
302 302
303 $scope.toggleChild = function(id){ 303 $scope.toggleChild = function(id){
304 if ($('.'+id).hasClass('fa-plus-circle')) { 304 if ($('.'+id).hasClass('fa-plus-circle')) {
305 $('.'+id).removeClass('fa-plus-circle'); 305 $('.'+id).removeClass('fa-plus-circle');
306 $('.'+id).addClass('fa-minus-circle'); 306 $('.'+id).addClass('fa-minus-circle');
307 }else{ 307 }else{
308 $('.'+id).removeClass('fa-minus-circle'); 308 $('.'+id).removeClass('fa-minus-circle');
309 $('.'+id).addClass('fa-plus-circle'); 309 $('.'+id).addClass('fa-plus-circle');
310 } 310 }
311 $('#'+id).slideToggle(); 311 $('#'+id).slideToggle();
312 } 312 }
313 313
314 $scope.dates = [{date:'01-05-2001'}, {date:'05-05-2014'}, {date:'10-11-2008'}] 314 $scope.dates = [{date:'01-05-2001'}, {date:'05-05-2014'}, {date:'10-11-2008'}]
315 315
316 $scope.open = function($event, dt) { 316 $scope.open = function($event, dt) {
317 $event.preventDefault(); 317 $event.preventDefault();
318 $event.stopPropagation(); 318 $event.stopPropagation();
319 319
320 dt.opened = true; 320 dt.opened = true;
321 }; 321 };
322 322
323 $scope.dateOptions = { 323 $scope.dateOptions = {
324 formatYear: 'yy', 324 formatYear: 'yy',
325 startingDay: 1 325 startingDay: 1
326 }; 326 };
327 327
328 328
329 $scope.format = 'dd-MMMM-yyyy' 329 $scope.format = 'dd-MMMM-yyyy'
330 330
331 331
332 $(document).ready(function(){ 332 $(document).ready(function(){
333 333
334 setInterval(function(){ 334 setInterval(function(){
335 var newHeight = $('.feeManagerLeft').height(); 335 var newHeight = $('.feeManagerLeft').height();
336 $('.feeManagerRight').css('height', newHeight); 336 $('.feeManagerRight').css('height', newHeight);
337 }, 3); 337 }, 3);
338 338
339 $('#customTabToggle1').click(function(){ 339 $('#customTabToggle1').click(function(){
340 console.log('tab 1'); 340 //console.log('tab 1');
341 $('#customTabsBody1').slideDown(); 341 $('#customTabsBody1').slideDown();
342 $('#customTabsBody2').slideUp(); 342 $('#customTabsBody2').slideUp();
343 $('#customTabsBody3').slideUp(); 343 $('#customTabsBody3').slideUp();
344 $('#customTabsBody4').slideUp(); 344 $('#customTabsBody4').slideUp();
345 $('#customTabs1').addClass('customActive'); 345 $('#customTabs1').addClass('customActive');
346 $('#customTabs2').removeClass('customActive'); 346 $('#customTabs2').removeClass('customActive');
347 $('#customTabs3').removeClass('customActive'); 347 $('#customTabs3').removeClass('customActive');
348 $('#customTabs4').removeClass('customActive'); 348 $('#customTabs4').removeClass('customActive');
349 $('.customAccordianHeader > select, .customAccordianHeader > input').prop("disabled", true); 349 $('.customAccordianHeader > select, .customAccordianHeader > input').prop("disabled", true);
350 $('.customAccordianHeader.customActive > select, .customAccordianHeader.customActive > input').prop("disabled", false); 350 $('.customAccordianHeader.customActive > select, .customAccordianHeader.customActive > input').prop("disabled", false);
351 351
352 $('#customTabs1 > .pull-right > .btn-default').css('display', 'none'); 352 $('#customTabs1 > .pull-right > .btn-default').css('display', 'none');
353 $('#customTabs1 > .pull-right > .btn-success').css('display', 'inline-block'); 353 $('#customTabs1 > .pull-right > .btn-success').css('display', 'inline-block');
354 $('#customTabs1 > .pull-right > .btn-danger').css('display', 'inline-block'); 354 $('#customTabs1 > .pull-right > .btn-danger').css('display', 'inline-block');
355 355
356 $('#customTabs2 > .pull-right > .btn-default').css('display', 'inline-block'); 356 $('#customTabs2 > .pull-right > .btn-default').css('display', 'inline-block');
357 $('#customTabs2 > .pull-right > .btn-success').css('display', 'none'); 357 $('#customTabs2 > .pull-right > .btn-success').css('display', 'none');
358 $('#customTabs2 > .pull-right > .btn-danger').css('display', 'none'); 358 $('#customTabs2 > .pull-right > .btn-danger').css('display', 'none');
359 359
360 $('#customTabs3 > .pull-right > .btn-default').css('display', 'inline-block'); 360 $('#customTabs3 > .pull-right > .btn-default').css('display', 'inline-block');
361 $('#customTabs3 > .pull-right > .btn-success').css('display', 'none'); 361 $('#customTabs3 > .pull-right > .btn-success').css('display', 'none');
362 $('#customTabs3 > .pull-right > .btn-danger').css('display', 'none'); 362 $('#customTabs3 > .pull-right > .btn-danger').css('display', 'none');
363 363
364 $('#customTabs4 > .pull-right > .btn-default').css('display', 'inline-block'); 364 $('#customTabs4 > .pull-right > .btn-default').css('display', 'inline-block');
365 $('#customTabs4 > .pull-right > .btn-success').css('display', 'none'); 365 $('#customTabs4 > .pull-right > .btn-success').css('display', 'none');
366 $('#customTabs4 > .pull-right > .btn-danger').css('display', 'none'); 366 $('#customTabs4 > .pull-right > .btn-danger').css('display', 'none');
367 367
368 }) 368 })
369 $('#customTabToggle2').click(function(){ 369 $('#customTabToggle2').click(function(){
370 console.log('tab 2'); 370 // console.log('tab 2');
371 $('#customTabsBody1').slideUp(); 371 $('#customTabsBody1').slideUp();
372 $('#customTabsBody2').slideDown(); 372 $('#customTabsBody2').slideDown();
373 $('#customTabsBody3').slideUp(); 373 $('#customTabsBody3').slideUp();
374 $('#customTabsBody4').slideUp(); 374 $('#customTabsBody4').slideUp();
375 $('#customTabs1').removeClass('customActive'); 375 $('#customTabs1').removeClass('customActive');
376 $('#customTabs2').addClass('customActive'); 376 $('#customTabs2').addClass('customActive');
377 $('#customTabs3').removeClass('customActive'); 377 $('#customTabs3').removeClass('customActive');
378 $('#customTabs4').removeClass('customActive'); 378 $('#customTabs4').removeClass('customActive');
379 $('.customAccordianHeader > select, .customAccordianHeader > input').prop("disabled", true); 379 $('.customAccordianHeader > select, .customAccordianHeader > input').prop("disabled", true);
380 $('.customAccordianHeader.customActive > select, .customAccordianHeader.customActive > input').prop("disabled", false); 380 $('.customAccordianHeader.customActive > select, .customAccordianHeader.customActive > input').prop("disabled", false);
381 381
382 $('#customTabs1 > .pull-right > .btn-default').css('display', 'inline-block'); 382 $('#customTabs1 > .pull-right > .btn-default').css('display', 'inline-block');
383 $('#customTabs1 > .pull-right > .btn-success').css('display', 'none'); 383 $('#customTabs1 > .pull-right > .btn-success').css('display', 'none');
384 $('#customTabs1 > .pull-right > .btn-danger').css('display', 'none'); 384 $('#customTabs1 > .pull-right > .btn-danger').css('display', 'none');
385 385
386 $('#customTabs2 > .pull-right > .btn-default').css('display', 'none'); 386 $('#customTabs2 > .pull-right > .btn-default').css('display', 'none');
387 $('#customTabs2 > .pull-right > .btn-success').css('display', 'inline-block'); 387 $('#customTabs2 > .pull-right > .btn-success').css('display', 'inline-block');
388 $('#customTabs2 > .pull-right > .btn-danger').css('display', 'inline-block'); 388 $('#customTabs2 > .pull-right > .btn-danger').css('display', 'inline-block');
389 389
390 $('#customTabs3 > .pull-right > .btn-default').css('display', 'inline-block'); 390 $('#customTabs3 > .pull-right > .btn-default').css('display', 'inline-block');
391 $('#customTabs3 > .pull-right > .btn-success').css('display', 'none'); 391 $('#customTabs3 > .pull-right > .btn-success').css('display', 'none');
392 $('#customTabs3 > .pull-right > .btn-danger').css('display', 'none'); 392 $('#customTabs3 > .pull-right > .btn-danger').css('display', 'none');
393 393
394 $('#customTabs4 > .pull-right > .btn-default').css('display', 'inline-block'); 394 $('#customTabs4 > .pull-right > .btn-default').css('display', 'inline-block');
395 $('#customTabs4 > .pull-right > .btn-success').css('display', 'none'); 395 $('#customTabs4 > .pull-right > .btn-success').css('display', 'none');
396 $('#customTabs4 > .pull-right > .btn-danger').css('display', 'none'); 396 $('#customTabs4 > .pull-right > .btn-danger').css('display', 'none');
397 397
398 }) 398 })
399 $('#customTabToggle3').click(function(){ 399 $('#customTabToggle3').click(function(){
400 console.log('tab 3'); 400 // console.log('tab 3');
401 $('#customTabsBody1').slideUp(); 401 $('#customTabsBody1').slideUp();
402 $('#customTabsBody2').slideUp(); 402 $('#customTabsBody2').slideUp();
403 $('#customTabsBody3').slideDown(); 403 $('#customTabsBody3').slideDown();
404 $('#customTabsBody4').slideUp(); 404 $('#customTabsBody4').slideUp();
405 $('#customTabs1').removeClass('customActive'); 405 $('#customTabs1').removeClass('customActive');
406 $('#customTabs2').removeClass('customActive'); 406 $('#customTabs2').removeClass('customActive');
407 $('#customTabs3').addClass('customActive'); 407 $('#customTabs3').addClass('customActive');
408 $('#customTabs4').removeClass('customActive'); 408 $('#customTabs4').removeClass('customActive');
409 $('.customAccordianHeader > select, .customAccordianHeader > input').prop("disabled", true); 409 $('.customAccordianHeader > select, .customAccordianHeader > input').prop("disabled", true);
410 $('.customAccordianHeader.customActive > select, .customAccordianHeader.customActive > input').prop("disabled", false); 410 $('.customAccordianHeader.customActive > select, .customAccordianHeader.customActive > input').prop("disabled", false);
411 411
412 $('#customTabs1 > .pull-right > .btn-default').css('display', 'inline-block'); 412 $('#customTabs1 > .pull-right > .btn-default').css('display', 'inline-block');
413 $('#customTabs1 > .pull-right > .btn-success').css('display', 'none'); 413 $('#customTabs1 > .pull-right > .btn-success').css('display', 'none');
414 $('#customTabs1 > .pull-right > .btn-danger').css('display', 'none'); 414 $('#customTabs1 > .pull-right > .btn-danger').css('display', 'none');
415 415
416 $('#customTabs2 > .pull-right > .btn-default').css('display', 'inline-block'); 416 $('#customTabs2 > .pull-right > .btn-default').css('display', 'inline-block');
417 $('#customTabs2 > .pull-right > .btn-success').css('display', 'none'); 417 $('#customTabs2 > .pull-right > .btn-success').css('display', 'none');
418 $('#customTabs2 > .pull-right > .btn-danger').css('display', 'none'); 418 $('#customTabs2 > .pull-right > .btn-danger').css('display', 'none');
419 419
420 $('#customTabs3 > .pull-right > .btn-default').css('display', 'none'); 420 $('#customTabs3 > .pull-right > .btn-default').css('display', 'none');
421 $('#customTabs3 > .pull-right > .btn-success').css('display', 'inline-block'); 421 $('#customTabs3 > .pull-right > .btn-success').css('display', 'inline-block');
422 $('#customTabs3 > .pull-right > .btn-danger').css('display', 'inline-block'); 422 $('#customTabs3 > .pull-right > .btn-danger').css('display', 'inline-block');
423 423
424 $('#customTabs4 > .pull-right > .btn-default').css('display', 'inline-block'); 424 $('#customTabs4 > .pull-right > .btn-default').css('display', 'inline-block');
425 $('#customTabs4 > .pull-right > .btn-success').css('display', 'none'); 425 $('#customTabs4 > .pull-right > .btn-success').css('display', 'none');
426 $('#customTabs4 > .pull-right > .btn-danger').css('display', 'none'); 426 $('#customTabs4 > .pull-right > .btn-danger').css('display', 'none');
427 427
428 }) 428 })
429 $('#customTabToggle4').click(function(){ 429 $('#customTabToggle4').click(function(){
430 console.log('tab 4'); 430 // console.log('tab 4');
431 $('#customTabsBody1').slideUp(); 431 $('#customTabsBody1').slideUp();
432 $('#customTabsBody2').slideUp(); 432 $('#customTabsBody2').slideUp();
433 $('#customTabsBody3').slideUp(); 433 $('#customTabsBody3').slideUp();
434 $('#customTabsBody4').slideDown(); 434 $('#customTabsBody4').slideDown();
435 $('#customTabs1').removeClass('customActive'); 435 $('#customTabs1').removeClass('customActive');
436 $('#customTabs2').removeClass('customActive'); 436 $('#customTabs2').removeClass('customActive');
437 $('#customTabs3').removeClass('customActive'); 437 $('#customTabs3').removeClass('customActive');
438 $('#customTabs4').addClass('customActive'); 438 $('#customTabs4').addClass('customActive');
439 $('.customAccordianHeader > select, .customAccordianHeader > input').prop("disabled", true); 439 $('.customAccordianHeader > select, .customAccordianHeader > input').prop("disabled", true);
440 $('.customAccordianHeader.customActive > select, .customAccordianHeader.customActive > input').prop("disabled", false); 440 $('.customAccordianHeader.customActive > select, .customAccordianHeader.customActive > input').prop("disabled", false);
441 441
442 $('#customTabs1 > .pull-right > .btn-default').css('display', 'inline-block'); 442 $('#customTabs1 > .pull-right > .btn-default').css('display', 'inline-block');
443 $('#customTabs1 > .pull-right > .btn-success').css('display', 'none'); 443 $('#customTabs1 > .pull-right > .btn-success').css('display', 'none');
444 $('#customTabs1 > .pull-right > .btn-danger').css('display', 'none'); 444 $('#customTabs1 > .pull-right > .btn-danger').css('display', 'none');
445 445
446 $('#customTabs2 > .pull-right > .btn-default').css('display', 'inline-block'); 446 $('#customTabs2 > .pull-right > .btn-default').css('display', 'inline-block');
447 $('#customTabs2 > .pull-right > .btn-success').css('display', 'none'); 447 $('#customTabs2 > .pull-right > .btn-success').css('display', 'none');
448 $('#customTabs2 > .pull-right > .btn-danger').css('display', 'none'); 448 $('#customTabs2 > .pull-right > .btn-danger').css('display', 'none');
449 449
450 $('#customTabs3 > .pull-right > .btn-default').css('display', 'inline-block'); 450 $('#customTabs3 > .pull-right > .btn-default').css('display', 'inline-block');
451 $('#customTabs3 > .pull-right > .btn-success').css('display', 'none'); 451 $('#customTabs3 > .pull-right > .btn-success').css('display', 'none');
452 $('#customTabs3 > .pull-right > .btn-danger').css('display', 'none'); 452 $('#customTabs3 > .pull-right > .btn-danger').css('display', 'none');
453 453
454 $('#customTabs4 > .pull-right > .btn-default').css('display', 'none'); 454 $('#customTabs4 > .pull-right > .btn-default').css('display', 'none');
455 $('#customTabs4 > .pull-right > .btn-success').css('display', 'inline-block'); 455 $('#customTabs4 > .pull-right > .btn-success').css('display', 'inline-block');
456 $('#customTabs4 > .pull-right > .btn-danger').css('display', 'inline-block'); 456 $('#customTabs4 > .pull-right > .btn-danger').css('display', 'inline-block');
457 457
458 }) 458 })
459 459
460 }) 460 })
461 461
462 } 462 }
463 463
app/partials/fuelManager/fuelManager.html
1 <style> 1 <style>
2 .subnavbar .mainnav > li:nth-child(2) > a{ 2 .subnavbar .mainnav > li:nth-child(2) > a{
3 color: #ff9900; 3 color: #ff9900;
4 } 4 }
5 button > i{ 5 button > i{
6 cursor: pointer !important; 6 cursor: pointer !important;
7 } 7 }
8 button[disabled] > i{ 8 button[disabled] > i{
9 cursor: not-allowed !important; 9 cursor: not-allowed !important;
10 } 10 }
11 </style> 11 </style>
12 <div class="myLoader" ng-show="showLoader"> 12 <div class="myLoader" ng-show="showLoader">
13 <img src="../img/hourglass.gif" width="50px;"> 13 <img src="../img/hourglass.gif" width="50px;">
14 </div> 14 </div>
15 15
16 16
17 17
18 18
19 <div class="container"> 19 <div class="container">
20 <div class="row"> 20 <div class="row">
21 <div class="col-md-10"> 21 <div class="col-md-10">
22 <div class="widget stacked"> 22 <div class="widget stacked">
23 <div class="widget-header"> 23 <div class="widget-header">
24 <i class="fa fa-pencil"></i> 24 <i class="fa fa-pencil"></i>
25 <h3>Ramp Fee Manager</h3> 25 <h3>Ramp Fee Manager</h3>
26 <select style="float: right; margin: 8px 10px;" ng-model="customRampDataCraft.aircraftType" ng-change="openRampModal()"> 26 <select style="float: right; margin: 8px 10px;" ng-model="customRampDataCraft.aircraftType" ng-change="openRampModal()">
27 <option disabled selected value="">Ramp Fee By Category</option> 27 <option disabled selected value="">Ramp Fee By Category</option>
28 <option ng-repeat="modals in dropOptions" value="{{modals.size}}">{{modals.size}}</option> 28 <option ng-repeat="modals in dropOptions" value="{{modals.size}}">{{modals.size}}</option>
29 </select> 29 </select>
30 </div> 30 </div>
31 <!-- /widget-header --> 31 <!-- /widget-header -->
32 <div class="widget-content new-widget-content"> 32 <div class="widget-content new-widget-content">
33 <section id="accordions1"> 33 <section id="accordions1">
34 <div class="newCustomAccordian"> 34 <div class="newCustomAccordian">
35 35
36 <div class="col-md-9 feeManagerLeft" style="padding: 0;"> 36 <div class="col-md-9 feeManagerLeft" style="padding: 0;">
37 37
38 <div ng-repeat="list in fullJetList"> 38 <div ng-repeat="list in fullJetList">
39 <div class="new-tab-heading"> 39 <div class="new-tab-heading">
40 <i class="fa fa-plus-circle" ng-click="parentOpen($index)" id="parentOpen{{$index}}" aria-hidden="true"></i> 40 <i class="fa fa-plus-circle" ng-click="parentOpen($index)" id="parentOpen{{$index}}" aria-hidden="true"></i>
41 <i class="fa fa-minus-circle" ng-click="parentClose($index)" id="parentClose{{$index}}" aria-hidden="true" style="display: none;"></i> 41 <i class="fa fa-minus-circle" ng-click="parentClose($index)" id="parentClose{{$index}}" aria-hidden="true" style="display: none;"></i>
42 <span>{{list.type}}</span> 42 <span>{{list.type}}</span>
43 </div> 43 </div>
44 <div class="new-tab-body" id="parentTogglebody{{$index}}" style="display: none;"> 44 <div class="new-tab-body" id="parentTogglebody{{$index}}" style="display: none;">
45 <div class="new-tab-body-th"> 45 <div class="new-tab-body-th">
46 <div class="col-md-4"> 46 <div class="col-md-4">
47 Aircraft Size 47 Aircraft Size
48 </div> 48 </div>
49 <div class="col-md-2"> 49 <div class="col-md-2">
50 Ramp/Facil. Fee 50 Ramp/Facil. Fee
51 </div> 51 </div>
52 <div class="col-md-2"> 52 <div class="col-md-2">
53 Avoidance 53 Avoidance
54 </div> 54 </div>
55 <div class="col-md-2" ng-if="list.type != 'CUSTOM'"> 55 <div class="col-md-2" ng-if="list.type != 'CUSTOM'">
56 Expiration Date 56 Expiration Date
57 </div> 57 </div>
58 <div class="col-md-2"> 58 <div class="col-md-2">
59 Applicable 59 Applicable
60 </div> 60 </div>
61 <div class="col-md-1" ng-if="list.type == 'CUSTOM'"> 61 <div class="col-md-1" ng-if="list.type == 'CUSTOM'">
62 &nbsp; 62 &nbsp;
63 </div> 63 </div>
64 <div class="clearfix"></div> 64 <div class="clearfix"></div>
65 </div> 65 </div>
66 <div class="new-tab-body-td" ng-repeat="jets in list.aircraftsSize"> 66 <div class="new-tab-body-td" ng-repeat="jets in list.aircraftsSize">
67 <div> 67 <div>
68 <div class="col-md-4"> 68 <div class="col-md-4">
69 <i class="fa fa-plus-circle {{jets.id}}" ng-click="toggleChild(jets.id)" aria-hidden="true"></i> 69 <i class="fa fa-plus-circle {{jets.id}}" ng-click="toggleChild(jets.id)" aria-hidden="true"></i>
70 <span style="margin-left: 5px;">{{jets.size}}</span> 70 <span style="margin-left: 5px;">{{jets.size}}</span>
71 </div> 71 </div>
72 <div class="col-md-2"> 72 <div class="col-md-2">
73 <input type="text" ng-disabled="jets.rampFeesAndAvoidance.applicable == false || jets.rampFeesAndAvoidance.applicable == null" ng-model="jets.rampFeesAndAvoidance.rampFees" style="padding: 5px 5px;"> 73 <div style="width: 50px; margin: auto; position: relative;">
74 <input type="text" ng-disabled="jets.rampFeesAndAvoidance.applicable == false || jets.rampFeesAndAvoidance.applicable == null" ng-model="jets.rampFeesAndAvoidance.rampFees" placeholder="0.00" style="padding: 5px 5px;">
75 <span style="position: absolute; top: 0; left: -10;">$</span>
76 </div>
74 </div> 77 </div>
75 <div class="col-md-2"> 78 <div class="col-md-2">
76 <input type="text" ng-disabled="jets.rampFeesAndAvoidance.applicable == false || jets.rampFeesAndAvoidance.applicable == null" ng-model="jets.rampFeesAndAvoidance.avoidance" style="padding: 5px 5px;"> 79 <input type="text" ng-disabled="jets.rampFeesAndAvoidance.applicable == false || jets.rampFeesAndAvoidance.applicable == null" ng-model="jets.rampFeesAndAvoidance.avoidance" style="padding: 5px 5px;">
77 </div> 80 </div>
78 <div class="col-md-2" ng-if="list.type != 'CUSTOM'"> 81 <div class="col-md-2" ng-if="list.type != 'CUSTOM'">
79 <!-- <input type="date" ng-disabled="jets.rampFeesAndAvoidance.applicable == false || jets.rampFeesAndAvoidance.applicable == null" name="" ng-model="jets.rampFeesAndAvoidance.expirationDate"> --> 82 <!-- <input type="date" ng-disabled="jets.rampFeesAndAvoidance.applicable == false || jets.rampFeesAndAvoidance.applicable == null" name="" ng-model="jets.rampFeesAndAvoidance.expirationDate"> -->
80 83
81 84
82 <input type="text" ng-if="list.type != 'CUSTOM'" datepicker ng-disabled="jets.rampFeesAndAvoidance.applicable == false || jets.rampFeesAndAvoidance.applicable == null" ng-model="jets.rampFeesAndAvoidance.expirationDate" style="width: 90px; padding: 5px 5px;" /> 85 <input type="text" ng-if="list.type != 'CUSTOM'" datepicker ng-disabled="jets.rampFeesAndAvoidance.applicable == false || jets.rampFeesAndAvoidance.applicable == null" ng-model="jets.rampFeesAndAvoidance.expirationDate" style="width: 90px; padding: 5px 5px;" />
83 86
84 </div> 87 </div>
85 <div class="col-md-2"> 88 <div class="col-md-2">
86 <!-- <input type="checkbox" ng-model="jets.rampFeesAndAvoidance.applicable"> --> 89 <!-- <input type="checkbox" ng-model="jets.rampFeesAndAvoidance.applicable"> -->
87 <div class="onoffswitch"> 90 <div class="onoffswitch">
88 <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="{{jets.id}}{{$index}}" ng-model="jets.rampFeesAndAvoidance.applicable"> 91 <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="{{jets.id}}{{$index}}" ng-model="jets.rampFeesAndAvoidance.applicable">
89 <label class="onoffswitch-label" for="{{jets.id}}{{$index}}"> 92 <label class="onoffswitch-label" for="{{jets.id}}{{$index}}">
90 <span class="onoffswitch-inner"></span> 93 <span class="onoffswitch-inner"></span>
91 <span class="onoffswitch-switch"> 94 <span class="onoffswitch-switch">
92 <i class="fa fa-check" ng-show="jets.rampFeesAndAvoidance.applicable" aria-hidden="true"></i> 95 <i class="fa fa-check" ng-show="jets.rampFeesAndAvoidance.applicable" aria-hidden="true"></i>
93 <i class="fa fa-times" ng-hide="jets.rampFeesAndAvoidance.applicable" aria-hidden="true"></i> 96 <i class="fa fa-times" ng-hide="jets.rampFeesAndAvoidance.applicable" aria-hidden="true"></i>
94 </span> 97 </span>
95 </label> 98 </label>
96 </div> 99 </div>
97 </div> 100 </div>
98 <div class="col-md-1" ng-if="list.type == 'CUSTOM'"> 101 <div class="col-md-1" ng-if="list.type == 'CUSTOM'">
99 <button type="button" ng-disabled="jets.rampFeesAndAvoidance == null" ng-click="deleteCustomJet(jets.rampFeesAndAvoidance.id)" style="border: none; background-color: transparent; padding: 0;"> 102 <button type="button" ng-disabled="jets.rampFeesAndAvoidance == null" ng-click="deleteCustomJet(jets.rampFeesAndAvoidance.id)" style="border: none; background-color: transparent; padding: 0;">
100 <i class="fa fa-trash-o deleteTierIcon" style="cursor: default;" aria-hidden="true"></i> 103 <i class="fa fa-trash-o deleteTierIcon" style="cursor: default;" aria-hidden="true"></i>
101 </button> 104 </button>
102 </div> 105 </div>
103 <div class="clearfix"></div> 106 <div class="clearfix"></div>
104 </div> 107 </div>
105 <div style="display: none;" class="toggleCHildBody" id="{{jets.id}}"> 108 <div style="display: none;" class="toggleCHildBody" id="{{jets.id}}">
106 <div class="col-xs-12"> 109 <div class="col-xs-12">
107 <div class="col-xs-12"> 110 <div class="col-xs-12">
108 <div class="appliesTableHeading">Applies To:</div> 111 <div class="appliesTableHeading">Applies To:</div>
109 <div class="appliesTableBody"> 112 <div class="appliesTableBody">
110 <div class="firstDiv"> 113 <div class="firstDiv">
111 <label style="font-weight: normal;" ng-repeat="aircraftList in jets.aircrafts">{{aircraftList.model}}</label> 114 <label style="font-weight: normal;" ng-repeat="aircraftList in jets.aircrafts" class="checkLabel">{{aircraftList.model}}<span>,&nbsp;</span></label>
112 </div> 115 </div>
113 <div class="lastDiv"> 116 <div class="lastDiv">
114 <textarea ng-model="jets.rampFeesAndAvoidance.notes"></textarea> 117 <textarea ng-model="jets.rampFeesAndAvoidance.notes"></textarea>
115 <div class="reportedByTag"> 118 <div class="reportedByTag">
116 <div class="confirmedTag">Confirmed</div> 119 <div class="confirmedTag">Confirmed</div>
117 <table> 120 <table>
118 <tr> 121 <tr>
119 <td width="50%"> 122 <td width="50%">
120 Reported By: 123 Reported By:
121 </td> 124 </td>
122 <td width="50%"> 125 <td width="50%">
123 {{jets.rampFeesAndAvoidance.reportedBy}} 126 {{jets.rampFeesAndAvoidance.reportedBy}}
124 </td> 127 </td>
125 </tr> 128 </tr>
126 <tr> 129 <tr>
127 <td width="50%"> 130 <td width="50%">
128 Reported On: 131 Reported On:
129 </td> 132 </td>
130 <td width="50%"> 133 <td width="50%">
131 <!-- {{jets.rampFeesAndAvoidance.reportedOn}} --> 134 <!-- {{jets.rampFeesAndAvoidance.reportedOn}} -->
132 {{todayDateNew}} 135 {{todayDateNew}}
133 </td> 136 </td>
134 </tr> 137 </tr>
135 <tr> 138 <tr>
136 <td colspan="2"> 139 <td colspan="2">
137 <i>Click the Save Form button to Re-Confirm</i> 140 <i>Click the Save Form button to Re-Confirm</i>
138 </td> 141 </td>
139 </tr> 142 </tr>
140 </table> 143 </table>
141 </div> 144 </div>
142 </div> 145 </div>
143 <div class="clearfix"></div> 146 <div class="clearfix"></div>
144 </div> 147 </div>
145 </div> 148 </div>
146 <div class="clearfix"></div> 149 <div class="clearfix"></div>
147 </div> 150 </div>
148 <div class="clearfix"></div> 151 <div class="clearfix"></div>
149 </div> 152 </div>
150 </div> 153 </div>
151 </div> 154 </div>
152 </div> 155 </div>
153 </div> 156 </div>
154 <div class="col-md-3 text-center feeManagerRight" style="padding: 0;"> 157 <div class="col-md-3 text-center feeManagerRight" style="padding: 0;">
155 <div class="text-center"> 158 <div class="text-center">
156 <button type="submit" ng-click="updateList(fullJetList)" class="btn btn-success"><i class="icon-ok"></i> Save Form</button>&nbsp;&nbsp; 159 <button type="submit" ng-click="updateList(fullJetList)" class="btn btn-success"><i class="icon-ok"></i> Save Form</button>&nbsp;&nbsp;
157 <button type="reset" class="btn btn-default">Cancel</button> 160 <button type="reset" class="btn btn-default">Cancel</button>
158 </div> 161 </div>
159 </div> 162 </div>
160 <div class="clearfix"></div> 163 <div class="clearfix"></div>
161 <br/> 164 <br/>
162 </div> 165 </div>
163 </section> 166 </section>
164 </div> 167 </div>
165 <!-- /widget-content --> 168 <!-- /widget-content -->
166 </div> 169 </div>
167 <!-- /widget --> 170 <!-- /widget -->
168 </div> 171 </div>
169 <!-- /span6 --> 172 <!-- /span6 -->
170 </div> 173 </div>
171 <!-- /span12 --> 174 <!-- /span12 -->
172 </div> <!-- /container 2 --> 175 </div> <!-- /container 2 -->
173 176
174 <div ng-show="openRampFeeModal"> 177 <div ng-show="openRampFeeModal">
175 <div class="customBackdrop"> 178 <div class="customBackdrop">
176 <div class="customModalInner"> 179 <div class="customModalInner">
177 <div class="customModelHead"> 180 <div class="customModelHead">
178 <p class="pull-left"> 181 <p class="pull-left">
179 <i class="fa fa-list-alt" aria-hidden="true"></i> 182 <i class="fa fa-list-alt" aria-hidden="true"></i>
180 Add Ramp Fee 183 Add Ramp Fee
181 </p> 184 </p>
182 <p class="pull-right"> 185 <p class="pull-right">
183 <i class="fa fa-times" aria-hidden="true" style="cursor: pointer;" ng-click="closeRampFeeModel()"></i> 186 <i class="fa fa-times" aria-hidden="true" style="cursor: pointer;" ng-click="closeRampFeeModel()"></i>
184 </p> 187 </p>
185 <div class="clearfix"></div> 188 <div class="clearfix"></div>
186 </div> 189 </div>
187 <div class="customModelBody"> 190 <div class="customModelBody">
188 191
189 <div ng-show="showWeightForm"> 192 <div ng-show="showWeightForm">
190 193
191 <div class="col-xs-12 col-sm-4"> 194 <div class="col-xs-12 col-sm-4">
192 Type: 195 Type:
193 </div> 196 </div>
194 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 197 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
195 <select class="form-control" style="border-radius: 0; height: 26px; padding: 0;" ng-model="customRampDataCraft.aircraftType" ng-change="openRampModal()"> 198 <select class="form-control" style="border-radius: 0; height: 26px; padding: 0;" ng-model="customRampDataCraft.aircraftType" ng-change="openRampModal()">
196 <option ng-repeat="modalsNew in dropOptions" value="{{modalsNew.size}}">{{modalsNew.size}}</option> 199 <option ng-repeat="modalsNew in dropOptions" value="{{modalsNew.size}}">{{modalsNew.size}}</option>
197 </select> 200 </select>
198 </div> 201 </div>
199 <div class="clearfix"></div> 202 <div class="clearfix"></div>
200 <br/> 203 <br/>
201 204
202 <div> 205 <div>
203 <div class="col-xs-12 col-sm-4"> 206 <div class="col-xs-12 col-sm-4">
204 Weight Range Min: 207 Weight Range Min:
205 </div> 208 </div>
206 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 209 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
207 <input type="number" value="0.00" ng-model="customRampData.weightRangeMin" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" > 210 <input type="number" value="0.00" ng-model="customRampData.weightRangeMin" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" >
208 </div> 211 </div>
209 <div class="col-xs-12 col-sm-4" style="padding-left: 5px;"> 212 <div class="col-xs-12 col-sm-4" style="padding-left: 5px;">
210 lbs. 213 lbs.
211 </div> 214 </div>
212 <div class="clearfix"></div> 215 <div class="clearfix"></div>
213 <br/> 216 <br/>
214 <div class="col-xs-12 col-sm-4"> 217 <div class="col-xs-12 col-sm-4">
215 Weight Range Max: 218 Weight Range Max:
216 </div> 219 </div>
217 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 220 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
218 <input type="number" value="0.00" ng-model="customRampData.weightRangeMax" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" > 221 <input type="number" value="0.00" ng-model="customRampData.weightRangeMax" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" >
219 </div> 222 </div>
220 <div class="col-xs-12 col-sm-4" style="padding-left: 5px;"> 223 <div class="col-xs-12 col-sm-4" style="padding-left: 5px;">
221 lbs. 224 lbs.
222 </div> 225 </div>
223 <div class="clearfix"></div> 226 <div class="clearfix"></div>
224 <br/> 227 <br/>
225 </div> 228 </div>
226 229
227 <div> 230 <div>
228 <div class="col-xs-12 col-sm-4"> 231 <div class="col-xs-12 col-sm-4">
229 Ramp/Facil. Fee($): 232 Ramp/Facil. Fee($):
230 </div> 233 </div>
231 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 234 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
232 <input type="number" value="0" ng-model="customRampData.rampFees" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" > 235 <input type="number" value="0" ng-model="customRampData.rampFees" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" >
233 </div> 236 </div>
234 <div class="clearfix"></div> 237 <div class="clearfix"></div>
235 <br/> 238 <br/>
236 </div> 239 </div>
237 <div> 240 <div>
238 <div class="col-xs-12 col-sm-4"> 241 <div class="col-xs-12 col-sm-4">
239 Avoidance: 242 Avoidance:
240 </div> 243 </div>
241 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 244 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
242 <input type="number" value="0" ng-model="customRampData.avoidance" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" > 245 <input type="number" value="0" ng-model="customRampData.avoidance" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" >
243 </div> 246 </div>
244 <div class="col-xs-12 col-sm-4" style="padding-left: 5px;"> 247 <div class="col-xs-12 col-sm-4" style="padding-left: 5px;">
245 gal. 248 gal.
246 </div> 249 </div>
247 <div class="clearfix"></div> 250 <div class="clearfix"></div>
248 </div> 251 </div>
249 252
250 </div> 253 </div>
251 254
252 <div ng-show="showMakeModelForm"> 255 <div ng-show="showMakeModelForm">
253 256
254 <div class="col-xs-12 col-sm-4"> 257 <div class="col-xs-12 col-sm-4">
255 Type: 258 Type:
256 </div> 259 </div>
257 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 260 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
258 <select class="form-control" style="border-radius: 0; height: 26px; padding: 0;" ng-model="customRampDataCraft.aircraftType" ng-change="openRampModal()"> 261 <select class="form-control" style="border-radius: 0; height: 26px; padding: 0;" ng-model="customRampDataCraft.aircraftType" ng-change="openRampModal()">
259 <option ng-repeat="modalsNew in dropOptions" value="{{modalsNew.size}}">{{modalsNew.size}}</option> 262 <option ng-repeat="modalsNew in dropOptions" value="{{modalsNew.size}}">{{modalsNew.size}}</option>
260 </select> 263 </select>
261 </div> 264 </div>
262 <div class="clearfix"></div> 265 <div class="clearfix"></div>
263 <br/> 266 <br/>
264 267
265 <div> 268 <div>
266 <div class="col-xs-12 col-sm-4"> 269 <div class="col-xs-12 col-sm-4">
267 Aircraft Make: 270 Aircraft Make:
268 </div> 271 </div>
269 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 272 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
270 <select class="form-control" style="border-radius: 0; height: 26px; padding: 0;" ng-model="customMakeData.aircraftMake"> 273 <select class="form-control" style="border-radius: 0; height: 26px; padding: 0;" ng-model="customMakeData.aircraftMake">
271 <option ng-repeat="crafts in aircrafts" value="{{crafts}}">{{crafts}}</option> 274 <option ng-repeat="crafts in aircrafts" value="{{crafts}}">{{crafts}}</option>
272 </select> 275 </select>
273 </div> 276 </div>
274 <div class="clearfix"></div> 277 <div class="clearfix"></div>
275 <br/> 278 <br/>
276 </div> 279 </div>
277 280
278 <div> 281 <div>
279 <div class="col-xs-12 col-sm-4"> 282 <div class="col-xs-12 col-sm-4">
280 Ramp/Facil. Fee($): 283 Ramp/Facil. Fee($):
281 </div> 284 </div>
282 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 285 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
283 <input type="number" value="0" ng-model="customMakeData.rampFees" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" > 286 <input type="number" value="0" ng-model="customMakeData.rampFees" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" >
284 </div> 287 </div>
285 <div class="clearfix"></div> 288 <div class="clearfix"></div>
286 <br/> 289 <br/>
287 </div> 290 </div>
288 <div> 291 <div>
289 <div class="col-xs-12 col-sm-4"> 292 <div class="col-xs-12 col-sm-4">
290 Avoidance: 293 Avoidance:
291 </div> 294 </div>
292 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 295 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
293 <input type="number" value="0" ng-model="customMakeData.avoidance" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" > 296 <input type="number" value="0" ng-model="customMakeData.avoidance" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" >
294 </div> 297 </div>
295 <div class="col-xs-12 col-sm-4" style="padding-left: 5px;"> 298 <div class="col-xs-12 col-sm-4" style="padding-left: 5px;">
296 gal. 299 gal.
297 </div> 300 </div>
298 <div class="clearfix"></div> 301 <div class="clearfix"></div>
299 </div> 302 </div>
300 303
301 </div> 304 </div>
302 305
303 <div ng-show="showWingspanForm"> 306 <div ng-show="showWingspanForm">
304 307
305 <div class="col-xs-12 col-sm-4"> 308 <div class="col-xs-12 col-sm-4">
306 Type: 309 Type:
307 </div> 310 </div>
308 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 311 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
309 <select class="form-control" style="border-radius: 0; height: 26px; padding: 0;" ng-model="customRampDataCraft.aircraftType" ng-change="openRampModal()"> 312 <select class="form-control" style="border-radius: 0; height: 26px; padding: 0;" ng-model="customRampDataCraft.aircraftType" ng-change="openRampModal()">
310 <option ng-repeat="modalsNew in dropOptions" value="{{modalsNew.size}}">{{modalsNew.size}}</option> 313 <option ng-repeat="modalsNew in dropOptions" value="{{modalsNew.size}}">{{modalsNew.size}}</option>
311 </select> 314 </select>
312 </div> 315 </div>
313 <div class="clearfix"></div> 316 <div class="clearfix"></div>
314 <br/> 317 <br/>
315 318
316 <div> 319 <div>
317 <div class="col-xs-12 col-sm-4"> 320 <div class="col-xs-12 col-sm-4">
318 Wingspan Min: 321 Wingspan Min:
319 </div> 322 </div>
320 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 323 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
321 <input type="number" value="0.00" ng-model="customWingspanData.wingspanMin" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" > 324 <input type="number" value="0.00" ng-model="customWingspanData.wingspanMin" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" >
322 </div> 325 </div>
323 <div class="col-xs-12 col-sm-4" style="padding-left: 5px;"> 326 <div class="col-xs-12 col-sm-4" style="padding-left: 5px;">
324 ft. 327 ft.
325 </div> 328 </div>
326 <div class="clearfix"></div> 329 <div class="clearfix"></div>
327 <br/> 330 <br/>
328 <div class="col-xs-12 col-sm-4"> 331 <div class="col-xs-12 col-sm-4">
329 Wingspan Max: 332 Wingspan Max:
330 </div> 333 </div>
331 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 334 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
332 <input type="number" value="0.00" ng-model="customWingspanData.wingspanMax" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" > 335 <input type="number" value="0.00" ng-model="customWingspanData.wingspanMax" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" >
333 </div> 336 </div>
334 <div class="col-xs-12 col-sm-4" style="padding-left: 5px;"> 337 <div class="col-xs-12 col-sm-4" style="padding-left: 5px;">
335 ft. 338 ft.
336 </div> 339 </div>
337 <div class="clearfix"></div> 340 <div class="clearfix"></div>
338 <br/> 341 <br/>
339 </div> 342 </div>
340 343
341 <div> 344 <div>
342 <div class="col-xs-12 col-sm-4"> 345 <div class="col-xs-12 col-sm-4">
343 Ramp/Facil. Fee($): 346 Ramp/Facil. Fee($):
344 </div> 347 </div>
345 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 348 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
346 <input type="number" value="0" ng-model="customWingspanData.rampFees" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" > 349 <input type="number" value="0" ng-model="customWingspanData.rampFees" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" >
347 </div> 350 </div>
348 <div class="clearfix"></div> 351 <div class="clearfix"></div>
349 <br/> 352 <br/>
350 </div> 353 </div>
351 <div> 354 <div>
352 <div class="col-xs-12 col-sm-4"> 355 <div class="col-xs-12 col-sm-4">
353 Avoidance: 356 Avoidance:
354 </div> 357 </div>
355 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 358 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
356 <input type="number" value="0" ng-model="customWingspanData.avoidance" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" > 359 <input type="number" value="0" ng-model="customWingspanData.avoidance" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" >
357 </div> 360 </div>
358 <div class="col-xs-12 col-sm-4" style="padding-left: 5px;"> 361 <div class="col-xs-12 col-sm-4" style="padding-left: 5px;">
359 gal. 362 gal.
360 </div> 363 </div>
361 <div class="clearfix"></div> 364 <div class="clearfix"></div>
362 </div> 365 </div>
363 366
364 </div> 367 </div>
365 368
366 <div ng-show="showTailForm"> 369 <div ng-show="showTailForm">
367 370
368 <div class="col-xs-12 col-sm-4"> 371 <div class="col-xs-12 col-sm-4">
369 Type: 372 Type:
370 </div> 373 </div>
371 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 374 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
372 <select class="form-control" style="border-radius: 0; height: 26px; padding: 0;" ng-model="customRampDataCraft.aircraftType" ng-change="openRampModal()"> 375 <select class="form-control" style="border-radius: 0; height: 26px; padding: 0;" ng-model="customRampDataCraft.aircraftType" ng-change="openRampModal()">
373 <option ng-repeat="modalsNew in dropOptions" value="{{modalsNew.size}}">{{modalsNew.size}}</option> 376 <option ng-repeat="modalsNew in dropOptions" value="{{modalsNew.size}}">{{modalsNew.size}}</option>
374 </select> 377 </select>
375 </div> 378 </div>
376 <div class="clearfix"></div> 379 <div class="clearfix"></div>
377 <br/> 380 <br/>
378 381
379 <div> 382 <div>
380 <div class="col-xs-12 col-sm-4"> 383 <div class="col-xs-12 col-sm-4">
381 Tail Numbers: 384 Tail Numbers:
382 </div> 385 </div>
383 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 386 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
384 <select class="form-control" style="border-radius: 0; height: 26px; padding: 0;" ng-model="customTailData.tailNumber"> 387 <select class="form-control" style="border-radius: 0; height: 26px; padding: 0;" ng-model="customTailData.tailNumber">
385 <!-- <option ng-repeat="crafts in aircrafts" value="{{crafts}}">{{crafts}}</option> --> 388 <!-- <option ng-repeat="crafts in aircrafts" value="{{crafts}}">{{crafts}}</option> -->
386 </select> 389 </select>
387 </div> 390 </div>
388 <div class="clearfix"></div> 391 <div class="clearfix"></div>
389 <br/> 392 <br/>
390 </div> 393 </div>
391 394
392 <div> 395 <div>
393 <div class="col-xs-12 col-sm-4"> 396 <div class="col-xs-12 col-sm-4">
394 Ramp/Facil. Fee($): 397 Ramp/Facil. Fee($):
395 </div> 398 </div>
396 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 399 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
397 <input type="number" value="0" ng-model="customTailData.rampFees" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" > 400 <input type="number" value="0" ng-model="customTailData.rampFees" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" >
398 </div> 401 </div>
399 <div class="clearfix"></div> 402 <div class="clearfix"></div>
400 <br/> 403 <br/>
401 </div> 404 </div>
402 <div> 405 <div>
403 <div class="col-xs-12 col-sm-4"> 406 <div class="col-xs-12 col-sm-4">
404 Avoidance: 407 Avoidance:
405 </div> 408 </div>
406 <div class="col-xs-12 col-sm-4" style="padding-right: 0;"> 409 <div class="col-xs-12 col-sm-4" style="padding-right: 0;">
407 <input type="number" value="0" ng-model="customTailData.avoidance" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" > 410 <input type="number" value="0" ng-model="customTailData.avoidance" class="form-control" style="border-radius: 0; height: 26px; padding: 0 5px;" >
408 </div> 411 </div>
409 <div class="col-xs-12 col-sm-4" style="padding-left: 5px;"> 412 <div class="col-xs-12 col-sm-4" style="padding-left: 5px;">
410 gal. 413 gal.
411 </div> 414 </div>
412 <div class="clearfix"></div> 415 <div class="clearfix"></div>
413 </div> 416 </div>
414 417
415 </div> 418 </div>
416 419
417 </div> 420 </div>
418 <div class="customModelFooter text-center"> 421 <div class="customModelFooter text-center">
419 <input type="submit" value="Save" class="btn" ng-show="showWeightForm" ng-click="addCustomRampNew(customRampData)"> 422 <input type="submit" value="Save" class="btn" ng-show="showWeightForm" ng-click="addCustomRampNew(customRampData)">
420 <input type="submit" value="Save" class="btn" ng-show="showMakeModelForm" ng-click="addCustomRampNew(customMakeData)"> 423 <input type="submit" value="Save" class="btn" ng-show="showMakeModelForm" ng-click="addCustomRampNew(customMakeData)">
421 <input type="submit" value="Save" class="btn" ng-show="showWingspanForm" ng-click="addCustomRampNew(customWingspanData)"> 424 <input type="submit" value="Save" class="btn" ng-show="showWingspanForm" ng-click="addCustomRampNew(customWingspanData)">
422 <input type="submit" value="Save" class="btn" ng-show="showTailForm" ng-click="addCustomRampNew(customTailData)"> 425 <input type="submit" value="Save" class="btn" ng-show="showTailForm" ng-click="addCustomRampNew(customTailData)">
423 <button class="btn" ng-click="closeRampFeeModel()">Cancel</button> 426 <button class="btn" ng-click="closeRampFeeModel()">Cancel</button>
424 </div> 427 </div>
425 </div> 428 </div>
426 </div> 429 </div>
427 </div> 430 </div>
428 431
429 <div class="customConfirmPopBackdrop" id="confirm1"> 432 <div class="customConfirmPopBackdrop" id="confirm1">
430 <div class="customModalInner"> 433 <div class="customModalInner">
431 <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> 434 <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
432 <table> 435 <table>
433 <tr> 436 <tr>
434 <td> 437 <td>
435 <img src="img/info.png" style="width: 50px;"> 438 <img src="img/info.png" style="width: 50px;">
436 </td> 439 </td>
437 <td> 440 <td>
438 <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Ramp Fee Template ?</p> 441 <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Ramp Fee Template ?</p>
439 </td> 442 </td>
440 </tr> 443 </tr>
441 </table> 444 </table>
442 </div> 445 </div>
443 <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> 446 <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
444 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="saveAndCloseConfirm()">Yes</button> 447 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="saveAndCloseConfirm()">Yes</button>
445 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAndCloseConfirm()">Cancel</button> 448 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAndCloseConfirm()">Cancel</button>
446 </div> 449 </div>
447 </div> 450 </div>
448 </div> 451 </div>
449 452
450 453
451 454
452 455
453 <!-- Le javascript 456 <!-- Le javascript
454 ================================================== --> 457 ================================================== -->
455 <!-- Placed at the end of the document so the pages load faster --> 458 <!-- Placed at the end of the document so the pages load faster -->
456 459
457 460
458 461
459 <script src="js/jquery-3.1.1.min.js"></script> 462 <script src="js/jquery-3.1.1.min.js"></script>
460 <script src="js/plugins/bootstrap-datepicker.js"></script> 463 <script src="js/plugins/bootstrap-datepicker.js"></script>
461 <script type="text/javascript"> 464 <script type="text/javascript">
462 $(document).ready(function(){ 465 $(document).ready(function(){
463 $('#data_1 .input-group.date').datepicker({ 466 $('#data_1 .input-group.date').datepicker({
464 todayBtn: "linked", 467 todayBtn: "linked",
465 keyboardNavigation: false, 468 keyboardNavigation: false,
466 forceParse: false, 469 forceParse: false,
467 calendarWeeks: true, 470 calendarWeeks: true,
468 autoclose: true 471 autoclose: true
469 }); 472 });
470 }) 473 })
471 </script> 474 </script>
app/partials/main/main.html
1 <nav class="navbar navbar-inverse" role="navigation"> 1 <nav class="navbar navbar-inverse" role="navigation">
2 <div class="container"> 2 <div class="container">
3 <!-- Brand and toggle get grouped for better mobile display --> 3 <!-- Brand and toggle get grouped for better mobile display -->
4 <div class="navbar-header"> 4 <div class="navbar-header">
5 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> 5 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
6 <span class="sr-only">Toggle navigation</span> 6 <span class="sr-only">Toggle navigation</span>
7 <i class="icon-cog"></i> 7 <i class="icon-cog"></i>
8 </button> 8 </button>
9 <a class="navbar-brand" ui-sref="app.dashboard"> 9 <a class="navbar-brand" ui-sref="app.dashboard">
10 <img src="./img/acufuelLOGOwhite.png" class="img-logo"> 10 <img src="./img/acufuelLOGOwhite.png" class="img-logo">
11 </a> 11 </a>
12 </div> 12 </div>
13 <!-- Collect the nav links, forms, and other content for toggling --> 13 <!-- Collect the nav links, forms, and other content for toggling -->
14 <div class="collapse navbar-collapse navbar-ex1-collapse"> 14 <div class="collapse navbar-collapse navbar-ex1-collapse">
15 <ul class="nav navbar-nav navbar-right"> 15 <ul class="nav navbar-nav navbar-right">
16 <li class="dropdown"> 16 <li class="dropdown">
17 <a href="javscript:;" class="dropdown-toggle" data-toggle="dropdown"> 17 <a href="javscript:;" class="dropdown-toggle" data-toggle="dropdown">
18 <i class="icon-plane"></i> 18 <i class="icon-plane"></i>
19 {{currentUserName}} 19 {{currentUserName}}
20 <b class="caret"></b> 20 <b class="caret"></b>
21 </a> 21 </a>
22 <ul class="dropdown-menu"> 22 <ul class="dropdown-menu">
23 <li ng-if="!isAuthenticated"><a href="javascript:;">My Profile</a></li> 23 <li ng-if="!isAuthenticated"><a href="javascript:;">My Profile</a></li>
24 <li ng-if="isAuthenticated"><a ui-sref="app.accountSetting">Account Settings</a></li> 24 <li ng-if="isAuthenticated"><a ui-sref="app.accountSetting">Account Settings</a></li>
25 <li class="divider"></li> 25 <li class="divider"></li>
26 <li><a href="#" ng-click="logout();">Logout</a></li> 26 <li><a href="#" ng-click="logout();">Logout</a></li>
27 </ul> 27 </ul>
28 </li> 28 </li>
29 </ul> 29 </ul>
30 </div> 30 </div>
31 <!-- /.navbar-collapse --> 31 <!-- /.navbar-collapse -->
32 </div> 32 </div>
33 <!-- /.container --> 33 <!-- /.container -->
34 </nav> 34 </nav>
35 <div class="subnavbar"> 35 <div class="subnavbar">
36 <div class="subnavbar-inner"> 36 <div class="subnavbar-inner">
37 <div class="container"> 37 <div class="container">
38 <a href="javascript:;" class="subnav-toggle" data-toggle="collapse" data-target=".subnav-collapse"> 38 <a href="javascript:;" class="subnav-toggle" data-toggle="collapse" data-target=".subnav-collapse">
39 <span class="sr-only">Toggle navigation</span> 39 <span class="sr-only">Toggle navigation</span>
40 <i class="icon-reorder"></i> 40 <i class="icon-reorder"></i>
41 </a> 41 </a>
42 <div class="collapse subnav-collapse"> 42 <div class="collapse subnav-collapse">
43 <ul class="mainnav"> 43 <ul class="mainnav">
44 <li ng-if="isAuthenticated"> 44 <li ng-if="isAuthenticated">
45 <a ui-sref="app.dashboard"> 45 <a ui-sref="app.dashboard">
46 <i class="fa fa-home"></i> 46 <i class="fa fa-home"></i>
47 <span>Home</span> 47 <span>Home</span>
48 </a> 48 </a>
49 </li> 49 </li>
50 <li class="dropdown" ng-if="isAuthenticated"> 50 <li class="dropdown" ng-if="isAuthenticated">
51 <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown"> 51 <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
52 <i class="fa fa-tint"></i> 52 <i class="fa fa-tint"></i>
53 <span>Fuel Manager</span> 53 <span>Fuel Manager</span>
54 <b class="caret"></b> 54 <b class="caret"></b>
55 </a> 55 </a>
56 <ul class="dropdown-menu"> 56 <ul class="dropdown-menu">
57 <li><a ui-sref="app.updateFuelManager" href="#/updateFuelManager">Update Fuel Manager</a></li> 57 <li><a ui-sref="app.updateFuelManager" href="#/updateFuelManager">Update Fuel Manager</a></li>
58 <li> 58 <li>
59 <a ui-sref="app.enterFuelOrder">Enter Fuel Order</a> 59 <a ui-sref="app.enterFuelOrder">Enter Fuel Order</a>
60 </li> 60 </li>
61 <li><a ui-sref="app.fuelManager" href="#/fuelManager">Ramp Free Manager</a></li> 61 <li><a ui-sref="app.fuelManager" href="#/fuelManager">Ramp Fee Manager</a></li>
62 <li class="dropdown-submenu"> 62 <li class="dropdown-submenu">
63 <a tabindex="-1" >Tax Manager</a> 63 <a tabindex="-1" >Tax Manager</a>
64 <ul class="dropdown-menu"> 64 <ul class="dropdown-menu">
65 <li><a tabindex="-1" ui-sref="app.taxes" href="#/taxes">Federal Taxes</a></li> 65 <li><a tabindex="-1" ui-sref="app.taxes" href="#/taxes">Federal Taxes</a></li>
66 <li><a ui-sref="app.taxes" href="#/taxes">State & Country Taxes</a></li> 66 <li><a ui-sref="app.taxes" href="#/taxes">State & Country Taxes</a></li>
67 <li><a ui-sref="app.taxes" href="#/taxes">Airport Taxes</a></li> 67 <li><a ui-sref="app.taxes" href="#/taxes">Airport Taxes</a></li>
68 </ul> 68 </ul>
69 </li> 69 </li>
70 <li ng-if="isAuthenticated"> 70 <li ng-if="isAuthenticated">
71 <a ui-sref="app.fuelOrders" href="#/fuelOrders"> 71 <a ui-sref="app.fuelOrders" href="#/fuelOrders">
72 Fuel Orders 72 Fuel Orders
73 </a> 73 </a>
74 </li> 74 </li>
75 </ul> 75 </ul>
76 </li> 76 </li>
77 <li class="dropdown" ng-if="isAuthenticated"> 77 <li class="dropdown" ng-if="isAuthenticated">
78 <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown"> 78 <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
79 <i class="fa fa-user"></i> 79 <i class="fa fa-user"></i>
80 <span>Accounts</span> 80 <span>Accounts</span>
81 <b class="caret"></b> 81 <b class="caret"></b>
82 </a> 82 </a>
83 <ul class="dropdown-menu"> 83 <ul class="dropdown-menu">
84 <!-- <li><a ui-sref="app.viewCompany">View Companies</a></li> --> 84 <!-- <li><a ui-sref="app.viewCompany">View Companies</a></li> -->
85 <li><a ui-sref="app.customers">View Customers</a></li> 85 <li><a ui-sref="app.customers">View Customers</a></li>
86 <li><a ui-sref="app.account">View Fuel Vendors</a></li> 86 <li><a ui-sref="app.account">View Fuel Vendors</a></li>
87 <li><a ui-sref="app.analytics">Lookup Flight Dept</a></li> 87 <li><a ui-sref="app.analytics">Lookup Flight Dept</a></li>
88 </ul> 88 </ul>
89 </li> 89 </li>
90 <li ng-if="isAuthenticated"> 90 <li ng-if="isAuthenticated">
91 <a ui-sref="app.scheduler"> 91 <a ui-sref="app.scheduler">
92 <i class="fa fa-calendar"></i> 92 <i class="fa fa-calendar"></i>
93 <span>Scheduler</span> 93 <span>Scheduler</span>
94 </a> 94 </a>
95 </li> 95 </li>
96 <li class="dropdown" ng-if="isAuthenticated"> 96 <li class="dropdown" ng-if="isAuthenticated">
97 <a href="app.analytics:;" class="dropdown-toggle" data-toggle="dropdown"> 97 <a href="app.analytics:;" class="dropdown-toggle" data-toggle="dropdown">
98 <i class="fa fa-signal"></i> 98 <i class="fa fa-signal"></i>
99 <span>Analytics</span> 99 <span>Analytics</span>
100 <b class="caret"></b> 100 <b class="caret"></b>
101 </a> 101 </a>
102 <ul class="dropdown-menu"> 102 <ul class="dropdown-menu">
103 <!-- <li><a href="#">Live Flight tracking</a></li> --> 103 <!-- <li><a href="#">Live Flight tracking</a></li> -->
104 <li><a href="#">Historical Fuel Prices</a></li> 104 <li><a href="#">Historical Fuel Prices</a></li>
105 <li><a href="#">Regional Pricing</a></li> 105 <li><a href="#">Regional Pricing</a></li>
106 <li><a href="#">Actual vs. Canceled Fuelings</a></li> 106 <li><a href="#">Actual vs. Canceled Fuelings</a></li>
107 <li><a href="#">Customer Lead Sources</a></li> 107 <li><a href="#">Customer Lead Sources</a></li>
108 </ul> 108 </ul>
109 </li> 109 </li>
110 <li ng-if="isAuthenticated"> 110 <li ng-if="isAuthenticated">
111 <!-- <a ui-sref="app.flightTracking()" ng-click="reloadPage()" data-ui-sref-opts="{reload:false}"> --> 111 <!-- <a ui-sref="app.flightTracking()" ng-click="reloadPage()" data-ui-sref-opts="{reload:false}"> -->
112 <a ui-sref="app.flightTracking"> 112 <a ui-sref="app.flightTracking">
113 <i class="fa fa-plane"></i> 113 <i class="fa fa-plane"></i>
114 <span>Flight Tracking</span> 114 <span>Flight Tracking</span>
115 </a> 115 </a>
116 </li> 116 </li>
117 <li ng-if="!isAuthenticated"> 117 <li ng-if="!isAuthenticated">
118 <a ui-sref="app.flightDepDashboard"> 118 <a ui-sref="app.flightDepDashboard">
119 <i class="fa fa-search"></i> 119 <i class="fa fa-search"></i>
120 <span>Search Fuel</span> 120 <span>Search Fuel</span>
121 </a> 121 </a>
122 </li> 122 </li>
123 <li class="dropdown" ng-if="!isAuthenticated"> 123 <li class="dropdown" ng-if="!isAuthenticated">
124 <a ui-sref="app.flightDepOrders" class="dropdown-toggle" data-toggle="dropdown"> 124 <a ui-sref="app.flightDepOrders" class="dropdown-toggle" data-toggle="dropdown">
125 <i class="fa fa-tint"></i> 125 <i class="fa fa-tint"></i>
126 <span>Fuel Orders</span> 126 <span>Fuel Orders</span>
127 </a> 127 </a>
128 </li> 128 </li>
129 </ul> 129 </ul>
130 </div> 130 </div>
131 <!-- /.subnav-collapse --> 131 <!-- /.subnav-collapse -->
132 </div> 132 </div>
133 <!-- /container --> 133 <!-- /container -->
134 </div> 134 </div>
135 <!-- /subnavbar-inner --> 135 <!-- /subnavbar-inner -->
136 </div> 136 </div>
137 <!-- /subnavbar --> 137 <!-- /subnavbar -->
138 <div ui-view></div> 138 <div ui-view></div>
139 <!-- </body> --> 139 <!-- </body> -->
140 <!-- footer --> 140 <!-- footer -->
141 <div class="extra"> 141 <div class="extra">
142 <div class="container"> 142 <div class="container">
143 <div class="row"> 143 <div class="row">
144 <div class="col-md-3"> 144 <div class="col-md-3">
145 <h4>About</h4> 145 <h4>About</h4>
146 <ul> 146 <ul>
147 <li><a href="javascript:;">About Us</a></li> 147 <li><a href="javascript:;">About Us</a></li>
148 <li><a href="javascript:;">Twitter</a></li> 148 <li><a href="javascript:;">Twitter</a></li>
149 <li><a href="javascript:;">Facebook</a></li> 149 <li><a href="javascript:;">Facebook</a></li>
150 <li><a href="javascript:;">Google+</a></li> 150 <li><a href="javascript:;">Google+</a></li>
151 </ul> 151 </ul>
152 </div> 152 </div>
153 <!-- /span3 --> 153 <!-- /span3 -->
154 <div class="col-md-3"> 154 <div class="col-md-3">
155 <h4>Support</h4> 155 <h4>Support</h4>
156 <ul> 156 <ul>
157 <li><a href="javascript:;">Frequently Asked Questions</a></li> 157 <li><a href="javascript:;">Frequently Asked Questions</a></li>
158 <li><a href="javascript:;">Ask a Question</a></li> 158 <li><a href="javascript:;">Ask a Question</a></li>
159 <li><a href="javascript:;">Video Tutorial</a></li> 159 <li><a href="javascript:;">Video Tutorial</a></li>
160 <li><a href="javascript:;">Feedback</a></li> 160 <li><a href="javascript:;">Feedback</a></li>
161 </ul> 161 </ul>
162 </div> 162 </div>
163 <!-- /span3 --> 163 <!-- /span3 -->
164 <div class="col-md-3"> 164 <div class="col-md-3">
165 <h4>Legal</h4> 165 <h4>Legal</h4>
166 <ul> 166 <ul>
167 <li><a href="javascript:;">License</a></li> 167 <li><a href="javascript:;">License</a></li>
168 <li><a href="javascript:;">Terms of Use</a></li> 168 <li><a href="javascript:;">Terms of Use</a></li>
169 <li><a href="javascript:;">Privacy Policy</a></li> 169 <li><a href="javascript:;">Privacy Policy</a></li>
170 <li><a href="javascript:;">Security</a></li> 170 <li><a href="javascript:;">Security</a></li>
171 </ul> 171 </ul>
172 </div> 172 </div>
173 <!-- /span3 --> 173 <!-- /span3 -->
174 <div class="col-md-3"> 174 <div class="col-md-3">
175 <h4>Settings</h4> 175 <h4>Settings</h4>
176 <ul> 176 <ul>
177 <li><a href="javascript:;">Consectetur adipisicing</a></li> 177 <li><a href="javascript:;">Consectetur adipisicing</a></li>
178 <li><a href="javascript:;">Eiusmod tempor </a></li> 178 <li><a href="javascript:;">Eiusmod tempor </a></li>
179 <li><a href="javascript:;">Fugiat nulla pariatur</a></li> 179 <li><a href="javascript:;">Fugiat nulla pariatur</a></li>
180 <li><a href="javascript:;">Officia deserunt</a></li> 180 <li><a href="javascript:;">Officia deserunt</a></li>
181 </ul> 181 </ul>
182 </div> 182 </div>
183 <!-- /span3 --> 183 <!-- /span3 -->
184 </div> 184 </div>
185 <!-- /row --> 185 <!-- /row -->
186 </div> 186 </div>
187 <!-- /container --> 187 <!-- /container -->
188 </div> 188 </div>
189 <!-- /extra --> 189 <!-- /extra -->
190 <div class="footer"> 190 <div class="footer">
191 <div class="container"> 191 <div class="container">
192 <div class="row"> 192 <div class="row">
193 <div id="footer-copyright" class="col-md-6"> 193 <div id="footer-copyright" class="col-md-6">
194 &copy; 2012-13 Jumpstart UI. 194 &copy; 2012-13 Jumpstart UI.
195 </div> 195 </div>
196 <!-- /span6 --> 196 <!-- /span6 -->
197 <div id="footer-terms" class="col-md-6"> 197 <div id="footer-terms" class="col-md-6">
198 Theme by <a href="http://jumpstartui.com" target="_blank">Jumpstart UI</a> 198 Theme by <a href="http://jumpstartui.com" target="_blank">Jumpstart UI</a>
199 </div> 199 </div>
200 <!-- /.span6 --> 200 <!-- /.span6 -->
201 </div> 201 </div>
202 <!-- /row --> 202 <!-- /row -->
203 </div> 203 </div>
204 <!-- /container --> 204 <!-- /container -->
205 </div> 205 </div>
206 206
app/partials/updateFuelManager/updateFuelManager.html
1 1
2 2
3 <style> 3 <style>
4 .subnavbar .mainnav > li:nth-child(2) > a{ 4 .subnavbar .mainnav > li:nth-child(2) > a{
5 color: #ff9900; 5 color: #ff9900;
6 } 6 }
7 .extraClasToMerge{ 7 .extraClasToMerge{
8 color: #fff; 8 color: #fff;
9 } 9 }
10 </style> 10 </style>
11 11
12 <div class="myLoader" ng-show="showLoader"> 12 <div class="myLoader" ng-show="showLoader">
13 <img src="../img/hourglass.gif" width="50px;"> 13 <img src="../img/hourglass.gif" width="50px;">
14 </div> 14 </div>
15 15
16 <div class="col-xs-12 col-md-6"> 16 <div class="col-xs-12 col-md-6">
17 17
18 <div class="widget stacked"> 18 <div class="widget stacked">
19 <div class="widget-header"> 19 <div class="widget-header">
20 <i class="fa fa-pencil"></i> 20 <i class="fa fa-pencil"></i>
21 <h3>Price Manager Active</h3> 21 <h3>Price Manager Active</h3>
22 <select style="float: right; margin: 7px 10px; width: 150px; height: 26px; padding: 0 0;" class="btn btn-primary" class="form-control" ng-model="sendEmail.pricing" ng-change="confirmMail()"> 22 <select style="float: right; margin: 7px 10px; width: 150px; height: 26px; padding: 0 0;" class="btn btn-primary" class="form-control" ng-model="sendEmail.pricing" ng-change="confirmMail()">
23 <option value="" disabled selected="selected">Email All Pricing</option> 23 <option value="" disabled selected="selected">Email All Pricing</option>
24 <option value="JET-A">Email JET-A pricing only</option> 24 <option value="JET-A">Email JET-A pricing only</option>
25 <option value="AVGAS">Email AVGAS pricing only</option> 25 <option value="AVGAS">Email AVGAS pricing only</option>
26 <option disabled>_______________________________</option> 26 <option disabled>_______________________________</option>
27 <option value="all">Distribute All</option> 27 <option value="all">Distribute All</option>
28 </select> 28 </select>
29 </div> 29 </div>
30 <!-- /widget-header --> 30 <!-- /widget-header -->
31 <div class="widget-content"> 31 <div class="widget-content">
32 <h4>Deployed Fuel Prices</h4> 32 <h4>Deployed Fuel Prices</h4>
33 <table class="table"> 33 <table class="table vertical-center">
34 <thead> 34 <thead>
35 <tr> 35 <tr>
36 <th> Product</th> 36 <th> Product</th>
37 <th> Cost</th> 37 <th> Cost</th>
38 <th> Margin</th> 38 <th> Margin</th>
39 <th> PAP(Total)</th> 39 <th> PAP(Total)</th>
40 <th style="color: #F90;"> Expires</th> 40 <th style="color: #F90;"> Expires</th>
41 </tr> 41 </tr>
42 </thead> 42 </thead>
43 <tbody> 43 <tbody>
44 <tr ng-repeat="fuelPricing in newFuelPricing | filter:{ status: true }"> 44 <tr ng-repeat="fuelPricing in newFuelPricing | orderBy : 'namejetrest' | filter:{ status: true }">
45 <td> 45 <td>
46 <span style="color: #2196f3" ng-show="fuelPricing.jeta">{{fuelPricing.name}}</span> 46 <span style="color: #2196f3" ng-show="fuelPricing.jeta">{{fuelPricing.name}}</span>
47 <span ng-show="fuelPricing.jeta">{{fuelPricing.namejetrest}}</span> 47 <span ng-show="fuelPricing.jeta">{{fuelPricing.namejetrest}}</span>
48 <span style="color: 39c" ng-show="fuelPricing.avgas">{{fuelPricing.name}}</span> 48 <span style="color: 39c" ng-show="fuelPricing.avgas">{{fuelPricing.name}}</span>
49 <span ng-show="fuelPricing.avgas">{{fuelPricing.nameavgasrest}}</span> 49 <span ng-show="fuelPricing.avgas">{{fuelPricing.nameavgasrest}}</span>
50 </td> 50 </td>
51 <td> 51 <td>
52 <span>{{fuelPricing.fuelPricing.cost}}</span> 52 <span>{{fuelPricing.fuelPricing.cost}}</span>
53 </td> 53 </td>
54 <td> 54 <td>
55 <span>{{fuelPricing.fuelPricing.papMargin}}</span> 55 <span>{{fuelPricing.fuelPricing.papMargin}}</span>
56 </td> 56 </td>
57 <td> 57 <td>
58 <span style="line-height: 31px; color: #1ab394;">$ {{fuelPricing.fuelPricing.cost -- fuelPricing.fuelPricing.papMargin | number : 4 }}</span> 58 <span style="line-height: 31px; color: #1ab394;">$ {{fuelPricing.fuelPricing.cost -- fuelPricing.fuelPricing.papMargin | number : 4 }}</span>
59 </td> 59 </td>
60 <td> 60 <td>
61 <span>{{fuelPricing.fuelPricing.expirationDate}}</span> 61 <span>{{fuelPricing.fuelPricing.expirationDate}}</span>
62 </td> 62 </td>
63 </tr> 63 </tr>
64 </tbody> 64 </tbody>
65 </table> 65 </table>
66 66
67 </div> 67 </div>
68 <!-- /widget-content --> 68 <!-- /widget-content -->
69 </div> 69 </div>
70 <!-- /widget --> 70 <!-- /widget -->
71 71
72 72
73 73
74 <div class="widget stacked"> 74 <div class="widget stacked">
75 <div class="widget-header"> 75 <div class="widget-header">
76 <i class="fa fa-pencil"></i> 76 <i class="fa fa-pencil"></i>
77 <h3>Price Manager Staging</h3> 77 <h3>Price Manager Staging</h3>
78 </div> 78 </div>
79 <!-- /widget-header --> 79 <!-- /widget-header -->
80 <div class="widget-content"> 80 <div class="widget-content">
81 <h6 style="color:#F90">Queue Pricing for Deployment in the Price Manager below</h6> 81 <h6 style="color:#F90">Queue Pricing for Deployment in the Price Manager below</h6>
82 <form> 82 <form>
83 <table class="table"> 83 <table class="table vertical-center">
84 <thead> 84 <thead>
85 <tr> 85 <tr>
86 <th> Product</th> 86 <th> Product</th>
87 <th> Cost</th> 87 <th> Cost</th>
88 <th> PAP(Margin)</th> 88 <th> PAP(Margin)</th>
89 <th> Effective Date</th> 89 <th> Effective Date</th>
90 <th style="color: #F90;">Price Expires</th> 90 <th style="color: #F90;">Price Expires</th>
91 <th> PAP(Total)</th> 91 <th> PAP(Total)</th>
92 </tr> 92 </tr>
93 </thead> 93 </thead>
94 <tbody> 94 <tbody>
95 <tr ng-repeat="fuelPricing in newFuelPricing | filter:{ status: true }"> 95 <tr ng-repeat="fuelPricing in newFuelPricing | orderBy : 'namejetrest' | filter:{ status: true }">
96 <td> 96 <td>
97 <span style="color: #2196f3" ng-show="fuelPricing.jeta">{{fuelPricing.name}}</span> 97 <span style="color: #2196f3" ng-show="fuelPricing.jeta">{{fuelPricing.name}}</span>
98 <span ng-show="fuelPricing.jeta">{{fuelPricing.namejetrest}}</span> 98 <span ng-show="fuelPricing.jeta">{{fuelPricing.namejetrest}}</span>
99 <span style="color: 39c" ng-show="fuelPricing.avgas">{{fuelPricing.name}}</span> 99 <span style="color: 39c" ng-show="fuelPricing.avgas">{{fuelPricing.name}}</span>
100 <span ng-show="fuelPricing.avgas">{{fuelPricing.nameavgasrest}}</span> 100 <span ng-show="fuelPricing.avgas">{{fuelPricing.nameavgasrest}}</span>
101 </td> 101 </td>
102 <td> 102 <td>
103 <input type="text" class="form-control" ng-keyup="disableButtons(fuelPricing.futureFuelPricing.cost)" ng-model="fuelPricing.futureFuelPricing.cost" style="height:31px; width: 60px; padding: 6px 6px; font-size:12px;"> 103 <input type="text" class="form-control" ng-keyup="disableButtons(fuelPricing.futureFuelPricing.cost)" ng-model="fuelPricing.futureFuelPricing.cost" style="height:31px; width: 60px; padding: 6px 6px; font-size:12px;" placeholder="0.0000">
104 </td> 104 </td>
105 <td> 105 <td>
106 <input type="text" class="form-control" ng-model="fuelPricing.futureFuelPricing.papMargin" style="height:31px; width: 80px; padding: 6px 6px; font-size:12px;"> 106 <input type="text" class="form-control" ng-model="fuelPricing.futureFuelPricing.papMargin" style="height:31px; width: 80px; padding: 6px 6px; font-size:12px;" placeholder="0.0000">
107 </td> 107 </td>
108 <td> 108 <td>
109 <input type="text" class="form-control" ng-disabled="fuelPricing.futureFuelPricing.cost == undefined || fuelPricing.futureFuelPricing.cost == null || fuelPricing.futureFuelPricing.cost == ''" datepicker ng-model="fuelPricing.futureFuelPricing.deployDate" style="height:31px; width: 80px; padding: 6px 6px; font-size:12px;"> 109 <input type="text" class="form-control" ng-disabled="fuelPricing.futureFuelPricing.cost == undefined || fuelPricing.futureFuelPricing.cost == null || fuelPricing.futureFuelPricing.cost == ''" datepicker ng-model="fuelPricing.futureFuelPricing.deployDate" style="height:31px; width: 80px; padding: 6px 6px; font-size:12px;">
110 </td> 110 </td>
111 <td> 111 <td>
112 <input type="text" class="form-control" datepicker ng-disabled=" fuelPricing.futureFuelPricing.cost == undefined || fuelPricing.futureFuelPricing.cost == null || fuelPricing.futureFuelPricing.cost == ''" ng-model="fuelPricing.futureFuelPricing.nextExpiration" style="height:31px; width: 80px; padding: 6px 6px; font-size:12px;"> 112 <input type="text" class="form-control" datepicker ng-disabled=" fuelPricing.futureFuelPricing.cost == undefined || fuelPricing.futureFuelPricing.cost == null || fuelPricing.futureFuelPricing.cost == ''" ng-model="fuelPricing.futureFuelPricing.nextExpiration" style="height:31px; width: 80px; padding: 6px 6px; font-size:12px;">
113 </td> 113 </td>
114 <td> 114 <td>
115 <span style="line-height: 31px; color: #1ab394; font-size:12px;">$ {{fuelPricing.futureFuelPricing.cost -- fuelPricing.futureFuelPricing.papMargin | number : 4}}</span> 115 <span style="line-height: 31px; color: #1ab394; font-size:12px;">$ {{fuelPricing.futureFuelPricing.cost -- fuelPricing.futureFuelPricing.papMargin | number : 4}}</span>
116 </td> 116 </td>
117 </tr> 117 </tr>
118 </tbody> 118 </tbody>
119 </table> 119 </table>
120 <div class="row" style="margin-left: 0px;"> 120 <div class="row" style="margin-left: 0px;">
121 <div class="col-md-12" style= "text-align: right; padding-left: 0;"> 121 <div class="col-md-12" style= "text-align: right; padding-left: 0;">
122 <div style="float: left;"> 122 <div style="float: left;">
123 <button type="button" class="btn btn-primary btn-xs" ng-click="updateFutureFuelPricingImmediatelyClick()" ng-disabled="noPrices" style= "text-align: center; font-size:12px">Save & Deploy Immediately</button> 123 <button type="button" class="btn btn-primary btn-xs" ng-click="updateFutureFuelPricingImmediatelyClick()" ng-disabled="noPrices" style= "text-align: center; font-size:12px">Save & Deploy Immediately</button>
124 124
125 <button type="button" ng-click="resetFutureFuelPricingClick()" class="btn btn-default btn-xs">Reset All</button> 125 <button type="button" ng-click="resetFutureFuelPricingClick()" class="btn btn-default btn-xs">Reset All</button>
126 </div> 126 </div>
127 <div style="float: right;"> 127 <div style="float: right;">
128 <button type="button" class="btn btn-success btn-xs" ng-click="updateFutureFuelPricingClick()" ng-disabled="noPrices" style="margin-right:3%">Save & Stage for Deploy</button> 128 <button type="button" class="btn btn-success btn-xs" ng-click="updateFutureFuelPricingClick()" ng-disabled="noPrices" style="margin-right:3%">Save & Stage for Deploy</button>
129 </div> 129 </div>
130 <div style="clear: both;"></div> 130 <div style="clear: both;"></div>
131 </div> 131 </div>
132 </div> 132 </div>
133 </form> 133 </form>
134 </div> 134 </div>
135 <!-- /widget-content --> 135 <!-- /widget-content -->
136 </div> 136 </div>
137 <!-- /widget --> 137 <!-- /widget -->
138 138
139 </div> 139 </div>
140 140
141 <div class="col-xs-12 col-md-6"> 141 <div class="col-xs-12 col-md-6">
142 142
143 143
144 <div class="widget stacked"> 144 <div class="widget stacked">
145 <div class="widget-header"> 145 <div class="widget-header">
146 <i class="fa fa-pencil"></i> 146 <i class="fa fa-pencil"></i>
147 <h3 style="font-style: italic"><b style="color: #2196f3; font-style: normal">JET-A</b> Customer Margin Template</h3> 147 <h3 style="font-style: italic"><b style="color: #2196f3; font-style: normal">JET-A</b> Customer Margin Template</h3>
148 148
149 </div> 149 </div>
150 <!-- /widget-header --> 150 <!-- /widget-header -->
151 <div class="widget-content" style="padding-top: 10px;"> 151 <div class="widget-content" style="padding-top: 10px;">
152 <section id="accordions"> 152 <section id="accordions">
153 <div class="newCustomAccordian"> 153 <div class="newCustomAccordian">
154 <!-- tab 1 --> 154 <!-- tab 1 -->
155 <div ng-repeat="jets in aTypeJets"> 155 <div ng-repeat="jets in aTypeJets">
156 <div class="customAccordianHeader" id="{{jets.id}}"> 156 <div class="customAccordianHeader" id="{{jets.id}}">
157 <span>{{jets.marginName}}</span> 157 <span>{{jets.marginName}}</span>
158 <select class="form-control" disabled="true" ng-model="jets.pricingStructure"> 158 <select class="form-control" disabled="true" ng-model="jets.pricingStructure" ng-change="selectChanged($index)">
159 <option value="" disabled selected>Pricing Structure</option> 159 <option value="" disabled selected>Pricing Structure</option>
160 <option value="minus">Retail/PAP - (minus)</option> 160 <option value="minus">Retail/PAP - (minus)</option>
161 <option value="plus">Cost + (plus)</option> 161 <option value="plus">Cost + (plus)</option>
162 </select> 162 </select>
163 <span style="margin-right: 0;">$</span> 163 <span style="margin-right: 0;">$</span>
164 <input type="text" disabled="true" class="form-control" ng-model="jets.marginValue"> 164 <input type="text" disabled="true" class="form-control" ng-model="jets.marginValue" placeholder="0.0000">
165 <div class="pull-right"> 165 <div class="pull-right">
166 <button class="btn btn-success" style="display: none; background-image: none; background-color: #f3f3f3; color: #333; border:0;" ng-click="closeAccordian(jets)">Close</button> 166 <button class="btn btn-success" style="display: none; background-image: none; background-color: #f3f3f3; color: #333; border:0;" ng-click="closeAccordian(jets)">Close</button>
167 <button class="btn btn-success" style="display: none;" ng-click="saveJetAccordian(jets)">Save</button> 167 <button class="btn btn-success" style="display: none;" ng-click="saveJetAccordian(jets)">Save</button>
168 <button class="btn btn-danger" style="display: none;" ng-click="deleteJetAccordian(jets.id)">Delete</button> 168 <button class="btn btn-danger" style="display: none;" ng-click="deleteJetAccordian(jets.id)">Delete</button>
169 <button type="button" class="btn btn-primary" ng-click="emailPricingForMargin(jets.id)" style= "font-weight: normal; text-align: center; font-size:12px">Email Pricing for this Margin</button> 169 <button type="button" class="btn btn-primary" ng-click="emailPricingForMargin(jets.id)" style= "font-weight: normal; text-align: center; font-size:12px">Email Pricing for this Margin</button>
170 <button class="btn btn-default" ng-click="toggleJestAccordian(jets.id, $index)" style= "text-align: center; font-size:12px">Edit</button> 170 <button class="btn btn-default" ng-click="toggleJestAccordian(jets.id, $index)" style= "text-align: center; font-size:12px">Edit</button>
171 </div> 171 </div>
172 <div class="clearfix"></div> 172 <div class="clearfix"></div>
173 </div> 173 </div>
174 <div class="customAccordianTabBody {{jets.id}}" style="display: none;"> 174 <div class="customAccordianTabBody {{jets.id}}" style="display: none;">
175 <div class="tierListWrap" ng-repeat="tier in aTypeJets[$index].tierList"> 175 <div class="tierListWrap" ng-repeat="tier in aTypeJets[$index].tierList">
176 <div class="tierListHead" style="height: 36px;"> 176 <div class="tierListHead" style="height: 36px;">
177 <span class="pull-left tierHeadingSpan" ng-hide="showEditTier">{{tier.minTierBreak}}-{{tier.maxTierBreak}} gal. 177 <span class="pull-left tierHeadingSpan" ng-hide="showEditTier">{{tier.minTierBreak}}-{{tier.maxTierBreak}} gal.
178 </span> 178 </span>
179 <i class="fa fa-pencil-square-o pull-right" ng-click="showEditTier = ! showEditTier" ng-hide="showEditTier" style="margin-top: 5px; cursor: pointer;" aria-hidden="true"></i> 179 <i class="fa fa-pencil-square-o pull-right" ng-click="showEditTier = ! showEditTier" ng-hide="showEditTier" style="margin-top: 5px; cursor: pointer;" aria-hidden="true"></i>
180 180
181 <input type="text" placeholder="min" style="width: 36px;" ng-model="tier.minTierBreak" ng-show="showEditTier"> 181 <input type="text" placeholder="min" style="width: 36px;" ng-model="tier.minTierBreak" ng-show="showEditTier">
182 <span ng-show="showEditTier">-</span> 182 <span ng-show="showEditTier">-</span>
183 <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.maxTierBreak" ng-show="showEditTier"> <b ng-show="showEditTier">gal.</b> 183 <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.maxTierBreak" ng-show="showEditTier"> <b ng-show="showEditTier">gal.</b>
184 <div class="clearfix"></div> 184 <div class="clearfix"></div>
185 </div> 185 </div>
186 <div class="tierListBody" style="height: 35px;"> 186 <div class="tierListBody" style="height: 35px;">
187 <span class="pull-left minTierSpan" ng-hide="showEditTier">-${{tier.margin}}</span> 187 <span class="pull-left minTierSpan" ng-hide="showEditTier">-${{tier.margin}}</span>
188 188
189 <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.margin" ng-show="showEditTier"> &nbsp; 189 <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.margin" ng-show="showEditTier"> &nbsp;
190 190
191 <span class="pull-right maxTierSpan" ng-hide="showEditTier">(${{tier.marginTotal | number : 2}})</span> 191 <span class="pull-right maxTierSpan" ng-hide="showEditTier">(${{tier.marginTotal | number : 2}})</span>
192 192
193 <button class="addTierBtn" ng-click="editTier(tier, $parent.$index)" ng-show="showEditTier">Save</button> 193 <button class="addTierBtn" ng-click="editTier(tier, $parent.$index)" ng-show="showEditTier">Save</button>
194 194
195 <i class="fa fa-trash-o deleteTierIcon" ng-click="deleteTier(tier.id, jets.id, $parent.$index)" aria-hidden="true" ng-show="showEditTier"></i> 195 <i class="fa fa-trash-o deleteTierIcon" ng-click="deleteTier(tier.id, jets.id, $parent.$index)" aria-hidden="true" ng-show="showEditTier"></i>
196 196
197 <div class="clearfix"></div> 197 <div class="clearfix"></div>
198 </div> 198 </div>
199 </div> 199 </div>
200 <div class="tierListWrap" style="width: 160px;"> 200 <div class="tierListWrap" style="width: 160px;">
201 <div class="tierListHead" style="border-right: 1px solid #ddd;"> 201 <div class="tierListHead" style="border-right: 1px solid #ddd;">
202 <input type="text" placeholder="min" ng-model="trData[$index].minTierBreak"> 202 <input type="text" placeholder="min" ng-model="trData[$index].minTierBreak">
203 <span>-</span> 203 <span>-</span>
204 <input type="text" placeholder="max" ng-model="trData[$index].maxTierBreak"> <b>gal.</b> 204 <input type="text" placeholder="max" ng-model="trData[$index].maxTierBreak"> <b>gal.</b>
205 <div class="clearfix"></div> 205 <div class="clearfix"></div>
206 </div> 206 </div>
207 <div class="tierListBody" style="border-right: 1px solid #ddd;"> 207 <div class="tierListBody" style="border-right: 1px solid #ddd;">
208 <span style="color: #449d44;">$</span> 208 <span style="color: #449d44;">$</span>
209 <input type="text" placeholder="margin" ng-model="trData[$index].margin" class="tierTextBox" style="width: 70px; height: 24px;"> 209 <input type="text" placeholder="margin" ng-model="trData[$index].margin" class="tierTextBox" style="width: 70px; height: 24px;">
210 <button class="addTierBtn" ng-click="addNewTier(jets.id, trData, $index)">Add Tier</button> 210 <button class="addTierBtn" ng-click="addNewTier(jets.id, trData, $index)">Add Tier</button>
211 <div class="clearfix"></div> 211 <div class="clearfix"></div>
212 </div> 212 </div>
213 </div> 213 </div>
214 <!-- <div class="tierListWrap" style="width: 32px;"> 214 <!-- <div class="tierListWrap" style="width: 32px;">
215 <div class="tierListHead" style="height: 36px; border-right: 1px solid #ddd;"> 215 <div class="tierListHead" style="height: 36px; border-right: 1px solid #ddd;">
216 &nbsp; 216 &nbsp;
217 </div> 217 </div>
218 <div class="tierListBody" style="height: 35px; border-right: 1px solid #ddd;"> 218 <div class="tierListBody" style="height: 35px; border-right: 1px solid #ddd;">
219 <i class="fa fa-trash-o deleteTierIcon" aria-hidden="true"></i> 219 <i class="fa fa-trash-o deleteTierIcon" aria-hidden="true"></i>
220 </div> 220 </div>
221 </div> --> 221 </div> -->
222 <div class="clearfix"></div> 222 <div class="clearfix"></div>
223 <!-- <textarea class="form-control resizeTextarea" ng-model="jets.message" placeholder="Message..."></textarea> --> 223 <!-- <textarea class="form-control resizeTextarea" ng-model="jets.message" placeholder="Message..."></textarea> -->
224 <br/> 224 <br/>
225 <div ckeditor="options" ng-model="jets.message" ready="onReady()"></div> 225 <div ckeditor="options" ng-model="jets.message" ready="onReady()"></div>
226 </div> 226 </div>
227 </div> 227 </div>
228 </div> 228 </div>
229 <div class="pull-right"> 229 <div class="pull-right">
230 <button type="submit" class="btn btn-success btn-sm" ng-click="addNewMarginBtn()" style="margin-top: 4px; margin-right: 10px;"><i class="fa fa-plus" aria-hidden="true"></i> Add New Margin</button> 230 <button type="submit" class="btn btn-success btn-sm" ng-click="addNewMarginBtn()" style="margin-top: 4px; margin-right: 10px;"><i class="fa fa-plus" aria-hidden="true"></i> Add New Margin</button>
231 </div> 231 </div>
232 </section> 232 </section>
233 <!-- <div class="row">&nbsp;</div> 233 <!-- <div class="row">&nbsp;</div>
234 <div class="row"> 234 <div class="row">
235 <div class="form-group"> 235 <div class="form-group">
236 <div class="col-lg-12 text-right"> 236 <div class="col-lg-12 text-right">
237 <button type="submit" class="btn btn-success"><i class="icon-ok"></i> Save Form</button>&nbsp;&nbsp; 237 <button type="submit" class="btn btn-success"><i class="icon-ok"></i> Save Form</button>&nbsp;&nbsp;
238 <button type="reset" class="btn btn-default">Cancel</button> 238 <button type="reset" class="btn btn-default">Cancel</button>
239 </div> 239 </div>
240 </div> 240 </div>
241 </div> --> 241 </div> -->
242 </div> 242 </div>
243 <!-- /widget-content --> 243 <!-- /widget-content -->
244 </div> 244 </div>
245 <!-- /widget --> 245 <!-- /widget -->
246 246
247 247
248 248
249 <div class="widget stacked"> 249 <div class="widget stacked">
250 <div class="widget-header"> 250 <div class="widget-header">
251 <i class="fa fa-pencil"></i> 251 <i class="fa fa-pencil"></i>
252 <h3><b style="color: 39c;">AVGAS 100LL </b> <i>Customer Margin Template</i></h3> 252 <h3><b style="color: 39c;">AVGAS 100LL </b> <i>Customer Margin Template</i></h3>
253 253
254 </div> 254 </div>
255 <!-- /widget-header --> 255 <!-- /widget-header -->
256 <div class="widget-content" style="padding-top: 10px;"> 256 <div class="widget-content" style="padding-top: 10px;">
257 <section id="accordions"> 257 <section id="accordions">
258 <div class="newCustomAccordian"> 258 <div class="newCustomAccordian">
259 <!-- tab 1 --> 259 <!-- tab 1 -->
260 <div ng-repeat="jets in vTypeJets"> 260 <div ng-repeat="jets in vTypeJets">
261 <div class="customAccordianHeader" id="{{jets.id}}"> 261 <div class="customAccordianHeader" id="{{jets.id}}">
262 <span>{{jets.marginName}}</span> 262 <span>{{jets.marginName}}</span>
263 <select class="form-control" disabled="true" ng-model="jets.pricingStructure"> 263 <select class="form-control" disabled="true" ng-model="jets.pricingStructure">
264 <option value="" disabled selected>Pricing Structure</option> 264 <option value="" disabled selected>Pricing Structure</option>
265 <option value="minus">Retail - (minus)</option> 265 <option value="minus">Retail - (minus)</option>
266 <option value="plus">Cost + (plus)</option> 266 <option value="plus">Cost + (plus)</option>
267 <option value="equal">Direct = (equal)</option> 267 <option value="equal">Direct = (equal)</option>
268 </select> 268 </select>
269 <span style="margin-right: 0;">$</span> 269 <span style="margin-right: 0;">$</span>
270 <input type="text" disabled="true" class="form-control" ng-model="jets.marginValue"> 270 <input type="text" disabled="true" class="form-control" ng-model="jets.marginValue" placeholder="0.0000">
271 <div class="pull-right"> 271 <div class="pull-right">
272 <button class="btn btn-success" style="display: none; background-image: none; background-color: #f3f3f3; color: #333; border:0;" ng-click="closeAccordianVtype(jets)">Close</button> 272 <button class="btn btn-success" style="display: none; background-image: none; background-color: #f3f3f3; color: #333; border:0;" ng-click="closeAccordianVtype(jets)">Close</button>
273 <button class="btn btn-success" style="display: none;" ng-click="saveVtypeJetAccordian(jets)">Save</button> 273 <button class="btn btn-success" style="display: none;" ng-click="saveVtypeJetAccordian(jets)">Save</button>
274 <button class="btn btn-danger" style="display: none;" ng-click="deleteVtypeJetAccordian(jets.id)">Delete</button> 274 <button class="btn btn-danger" style="display: none;" ng-click="deleteVtypeJetAccordian(jets.id)">Delete</button>
275 <button type="button" class="btn btn-primary" ng-click="emailPricingForMargin()" style= "font-weight: normal; text-align: center; font-size:12px">Email Pricing for this Margin</button> 275 <button type="button" class="btn btn-primary" ng-click="emailPricingForMargin()" style= "font-weight: normal; text-align: center; font-size:12px">Email Pricing for this Margin</button>
276 <button class="btn btn-default" ng-click="toggleVtypeJestAccordian(jets.id, $index)" style= "text-align: center; font-size:12px">Edit</button> 276 <button class="btn btn-default" ng-click="toggleVtypeJestAccordian(jets.id, $index)" style= "text-align: center; font-size:12px">Edit</button>
277 </div> 277 </div>
278 <div class="clearfix"></div> 278 <div class="clearfix"></div>
279 </div> 279 </div>
280 <div class="customAccordianTabBody {{jets.id}}" style="display: none;"> 280 <div class="customAccordianTabBody {{jets.id}}" style="display: none;">
281 <div class="tierListWrap" ng-repeat="tier in vTypeJets[$index].tierList"> 281 <div class="tierListWrap" ng-repeat="tier in vTypeJets[$index].tierList">
282 <div class="tierListHead" style="height: 36px;"> 282 <div class="tierListHead" style="height: 36px;">
283 <span class="pull-left tierHeadingSpan" ng-hide="showEditTier">{{tier.minTierBreak}}-{{tier.maxTierBreak}} gal. 283 <span class="pull-left tierHeadingSpan" ng-hide="showEditTier">{{tier.minTierBreak}}-{{tier.maxTierBreak}} gal.
284 </span> 284 </span>
285 <i class="fa fa-pencil-square-o pull-right" ng-click="showEditTier = ! showEditTier" ng-hide="showEditTier" style="margin-top: 5px; cursor: pointer;" aria-hidden="true"></i> 285 <i class="fa fa-pencil-square-o pull-right" ng-click="showEditTier = ! showEditTier" ng-hide="showEditTier" style="margin-top: 5px; cursor: pointer;" aria-hidden="true"></i>
286 286
287 <input type="text" placeholder="min" style="width: 36px;" ng-model="tier.minTierBreak" ng-show="showEditTier"> 287 <input type="text" placeholder="min" style="width: 36px;" ng-model="tier.minTierBreak" ng-show="showEditTier">
288 <span ng-show="showEditTier">-</span> 288 <span ng-show="showEditTier">-</span>
289 <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.maxTierBreak" ng-show="showEditTier"> <b ng-show="showEditTier">gal.</b> 289 <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.maxTierBreak" ng-show="showEditTier"> <b ng-show="showEditTier">gal.</b>
290 <div class="clearfix"></div> 290 <div class="clearfix"></div>
291 </div> 291 </div>
292 <div class="tierListBody" style="height: 35px;"> 292 <div class="tierListBody" style="height: 35px;">
293 <span class="pull-left minTierSpan" ng-hide="showEditTier">-${{tier.margin}}</span> 293 <span class="pull-left minTierSpan" ng-hide="showEditTier">-${{tier.margin}}</span>
294 294
295 <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.margin" ng-show="showEditTier"> &nbsp; 295 <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.margin" ng-show="showEditTier"> &nbsp;
296 296
297 <span class="pull-right maxTierSpan" ng-hide="showEditTier">(${{tier.marginTotal | number : 2}})</span> 297 <span class="pull-right maxTierSpan" ng-hide="showEditTier">(${{tier.marginTotal | number : 2}})</span>
298 298
299 <button class="addTierBtn" ng-click="editVtypeTier(tier, $parent.$index)" ng-show="showEditTier">Save</button> 299 <button class="addTierBtn" ng-click="editVtypeTier(tier, $parent.$index)" ng-show="showEditTier">Save</button>
300 300
301 <i class="fa fa-trash-o deleteTierIcon" ng-click="deleteVtypeTier(tier.id, jets.id, $parent.$index)" aria-hidden="true" ng-show="showEditTier"></i> 301 <i class="fa fa-trash-o deleteTierIcon" ng-click="deleteVtypeTier(tier.id, jets.id, $parent.$index)" aria-hidden="true" ng-show="showEditTier"></i>
302 302
303 <div class="clearfix"></div> 303 <div class="clearfix"></div>
304 </div> 304 </div>
305 </div> 305 </div>
306 <div class="tierListWrap" style="width: 160px;"> 306 <div class="tierListWrap" style="width: 160px;">
307 <div class="tierListHead" style="border-right: 1px solid #ddd;"> 307 <div class="tierListHead" style="border-right: 1px solid #ddd;">
308 <input type="text" placeholder="min" ng-model="vtrData[$index].minTierBreak"> 308 <input type="text" placeholder="min" ng-model="vtrData[$index].minTierBreak">
309 <span>-</span> 309 <span>-</span>
310 <input type="text" placeholder="max" ng-model="vtrData[$index].maxTierBreak"> <b>gal.</b> 310 <input type="text" placeholder="max" ng-model="vtrData[$index].maxTierBreak"> <b>gal.</b>
311 <div class="clearfix"></div> 311 <div class="clearfix"></div>
312 </div> 312 </div>
313 <div class="tierListBody" style="border-right: 1px solid #ddd;"> 313 <div class="tierListBody" style="border-right: 1px solid #ddd;">
314 <span style="color: #449d44;">$</span> 314 <span style="color: #449d44;">$</span>
315 <input type="text" placeholder="margin" ng-model="vtrData[$index].margin" class="tierTextBox" style="width: 70px; height: 24px;"> 315 <input type="text" placeholder="margin" ng-model="vtrData[$index].margin" class="tierTextBox" style="width: 70px; height: 24px;">
316 <button class="addTierBtn" ng-click="addNewVtypeTier(jets.id, vtrData, $index)">Add Tier</button> 316 <button class="addTierBtn" ng-click="addNewVtypeTier(jets.id, vtrData, $index)">Add Tier</button>
317 <div class="clearfix"></div> 317 <div class="clearfix"></div>
318 </div> 318 </div>
319 </div> 319 </div>
320 <!-- <div class="tierListWrap" style="width: 32px;"> 320 <!-- <div class="tierListWrap" style="width: 32px;">
321 <div class="tierListHead" style="height: 36px; border-right: 1px solid #ddd;"> 321 <div class="tierListHead" style="height: 36px; border-right: 1px solid #ddd;">
322 &nbsp; 322 &nbsp;
323 </div> 323 </div>
324 <div class="tierListBody" style="height: 35px; border-right: 1px solid #ddd;"> 324 <div class="tierListBody" style="height: 35px; border-right: 1px solid #ddd;">
325 <i class="fa fa-trash-o deleteTierIcon" aria-hidden="true"></i> 325 <i class="fa fa-trash-o deleteTierIcon" aria-hidden="true"></i>
326 </div> 326 </div>
327 </div> --> 327 </div> -->
328 <div class="clearfix"></div> 328 <div class="clearfix"></div>
329 <br/> 329 <br/>
330 <div ckeditor="options" ng-model="jets.message" ready="onReady()"></div> 330 <div ckeditor="options" ng-model="jets.message" ready="onReady()"></div>
331 </div> 331 </div>
332 </div> 332 </div>
333 </div> 333 </div>
334 <div class="pull-right"> 334 <div class="pull-right">
335 <button type="submit" class="btn btn-success btn-sm" ng-click="addNewVtypePop()" style="margin-top: 4px; margin-right: 10px;"><i class="fa fa-plus" aria-hidden="true"></i> Add New Margin</button> 335 <button type="submit" class="btn btn-success btn-sm" ng-click="addNewVtypePop()" style="margin-top: 4px; margin-right: 10px;"><i class="fa fa-plus" aria-hidden="true"></i> Add New Margin</button>
336 </div> 336 </div>
337 </section> 337 </section>
338 <!-- <div class="row">&nbsp;</div> 338 <!-- <div class="row">&nbsp;</div>
339 <div class="row"> 339 <div class="row">
340 <div class="form-group"> 340 <div class="form-group">
341 <div class="col-lg-12 text-right"> 341 <div class="col-lg-12 text-right">
342 <button type="submit" class="btn btn-success"><i class="icon-ok"></i> Save Form</button>&nbsp;&nbsp; 342 <button type="submit" class="btn btn-success"><i class="icon-ok"></i> Save Form</button>&nbsp;&nbsp;
343 <button type="reset" class="btn btn-default">Cancel</button> 343 <button type="reset" class="btn btn-default">Cancel</button>
344 </div> 344 </div>
345 </div> 345 </div>
346 </div> --> 346 </div> -->
347 </div> 347 </div>
348 <!-- /widget-content --> 348 <!-- /widget-content -->
349 </div> 349 </div>
350 <!-- /widget --> 350 <!-- /widget -->
351 351
352 352
353 353
354 </div> 354 </div>
355 <div class="clearfix"></div> 355 <div class="clearfix"></div>
356 356
357 <div class="addNewMargin" style="display: none;"> 357 <div class="addNewMargin" style="display: none;">
358 <div class="customBackdrop"> 358 <div class="customBackdrop">
359 <div class="customModalInner" style="max-width: 700px;"> 359 <div class="customModalInner" style="max-width: 700px;">
360 <div class="customModelHead"> 360 <div class="customModelHead">
361 <p class="pull-left"> 361 <p class="pull-left">
362 <i class="fa fa-list-alt" aria-hidden="true"></i> 362 <i class="fa fa-list-alt" aria-hidden="true"></i>
363 Add New JET-A Customer Margin 363 Add New JET-A Customer Margin
364 </p> 364 </p>
365 <p class="pull-right"> 365 <p class="pull-right">
366 <i class="fa fa-times" aria-hidden="true" style="cursor: pointer;" ng-click="closeMarginPopup()"></i> 366 <i class="fa fa-times" aria-hidden="true" style="cursor: pointer;" ng-click="closeMarginPopup()"></i>
367 </p> 367 </p>
368 <div class="clearfix"></div> 368 <div class="clearfix"></div>
369 </div> 369 </div>
370 <div class="customModelBody"> 370 <div class="customModelBody">
371 371
372 <div class="customAccordianHeader customActive"> 372 <div class="customAccordianHeader customActive">
373 <input type="text" class="form-control" style="width: 120px; margin-right: 10px;" placeholder="Margin Name" ng-model="newJet.marginName"> 373 <input type="text" class="form-control" style="width: 120px; margin-right: 10px;" placeholder="Margin Name" ng-model="newJet.marginName">
374 <select class="form-control" ng-model="newJet.pricingStructure"> 374 <select class="form-control" ng-model="newJet.pricingStructure">
375 <option value="" disabled selected>Pricing Structure</option> 375 <option value="" disabled selected>Pricing Structure</option>
376 <option value="minus">Retail -(minus)</option> 376 <option value="minus">Retail -(minus)</option>
377 <option value="plus">Cost +(plus)</option> 377 <option value="plus">Cost +(plus)</option>
378 <option value="equal">Direct =(equal)</option> 378 <option value="equal">Direct =(equal)</option>
379 </select> 379 </select>
380 <span style="margin-right: 0;">$</span> 380 <span style="margin-right: 0;">$</span>
381 <input type="text" class="form-control" style="width: 120px;" placeholder="Margin Price" ng-model="newJet.marginValue"> 381 <input type="text" class="form-control" style="width: 120px;" placeholder="Margin Price" ng-model="newJet.marginValue">
382 <div class="clearfix"></div> 382 <div class="clearfix"></div>
383 </div> 383 </div>
384 <div class="customAccordianTabBody"> 384 <div class="customAccordianTabBody">
385 <div ckeditor="options" ng-model="newJet.message" ready="onReady()"></div> 385 <div ckeditor="options" ng-model="newJet.message" ready="onReady()"></div>
386 </div> 386 </div>
387 387
388 </div> 388 </div>
389 <div class="customModelFooter text-center"> 389 <div class="customModelFooter text-center">
390 <input type="submit" value="Save" class="btn" ng-click="addNewATypeJet()"> 390 <input type="submit" value="Save" class="btn" ng-click="addNewATypeJet()">
391 <button class="btn" ng-click="closeMarginPopup()">Cancel</button> 391 <button class="btn" ng-click="closeMarginPopup()">Cancel</button>
392 </div> 392 </div>
393 </div> 393 </div>
394 </div> 394 </div>
395 </div> 395 </div>
396 396
397 <div class="addNewVtype" style="display: none;"> 397 <div class="addNewVtype" style="display: none;">
398 <div class="customBackdrop"> 398 <div class="customBackdrop">
399 <div class="customModalInner" style="max-width: 700px;"> 399 <div class="customModalInner" style="max-width: 700px;">
400 <div class="customModelHead"> 400 <div class="customModelHead">
401 <p class="pull-left"> 401 <p class="pull-left">
402 <i class="fa fa-list-alt" aria-hidden="true"></i> 402 <i class="fa fa-list-alt" aria-hidden="true"></i>
403 Add New AVGAS 100LL Customer Margin Template 403 Add New AVGAS 100LL Customer Margin Template
404 </p> 404 </p>
405 <p class="pull-right"> 405 <p class="pull-right">
406 <i class="fa fa-times" aria-hidden="true" style="cursor: pointer;" ng-click="closeNewVtypePop()"></i> 406 <i class="fa fa-times" aria-hidden="true" style="cursor: pointer;" ng-click="closeNewVtypePop()"></i>
407 </p> 407 </p>
408 <div class="clearfix"></div> 408 <div class="clearfix"></div>
409 </div> 409 </div>
410 <div class="customModelBody"> 410 <div class="customModelBody">
411 411
412 <div class="customAccordianHeader customActive"> 412 <div class="customAccordianHeader customActive">
413 <input type="text" class="form-control" style="width: 120px; margin-right: 10px;" placeholder="Margin Name" ng-model="newVtypeJet.marginName"> 413 <input type="text" class="form-control" style="width: 120px; margin-right: 10px;" placeholder="Margin Name" ng-model="newVtypeJet.marginName">
414 <select class="form-control" ng-model="newVtypeJet.pricingStructure"> 414 <select class="form-control" ng-model="newVtypeJet.pricingStructure">
415 <option value="" disabled selected>Pricing Structure</option> 415 <option value="" disabled selected>Pricing Structure</option>
416 <option value="minus">Retail -(minus)</option> 416 <option value="minus">Retail -(minus)</option>
417 <option value="plus">Cost +(plus)</option> 417 <option value="plus">Cost +(plus)</option>
418 <option value="equal">Direct =(equal)</option> 418 <option value="equal">Direct =(equal)</option>
419 </select> 419 </select>
420 <span style="margin-right: 0;">$</span> 420 <span style="margin-right: 0;">$</span>
421 <input type="text" class="form-control" style="width: 120px;" placeholder="Margin Price" ng-model="newVtypeJet.marginValue"> 421 <input type="text" class="form-control" style="width: 120px;" placeholder="Margin Price" ng-model="newVtypeJet.marginValue">
422 <div class="clearfix"></div> 422 <div class="clearfix"></div>
423 </div> 423 </div>
424 <div class="customAccordianTabBody"> 424 <div class="customAccordianTabBody">
425 <div ckeditor="options" ng-model="newVtypeJet.message" ready="onReady()"></div> 425 <div ckeditor="options" ng-model="newVtypeJet.message" ready="onReady()"></div>
426 </div> 426 </div>
427 427
428 </div> 428 </div>
429 <div class="customModelFooter text-center"> 429 <div class="customModelFooter text-center">
430 <input type="submit" value="Save" class="btn" ng-click="addNewVTypeJet()"> 430 <input type="submit" value="Save" class="btn" ng-click="addNewVTypeJet()">
431 <button class="btn" ng-click="closeNewVtypePop()">Cancel</button> 431 <button class="btn" ng-click="closeNewVtypePop()">Cancel</button>
432 </div> 432 </div>
433 </div> 433 </div>
434 </div> 434 </div>
435 </div> 435 </div>
436 436
437 <div class="customConfirmPopBackdrop" id="confirm1" style="display: none;"> 437 <div class="customConfirmPopBackdrop" id="confirm1" style="display: none;">
438 <div class="customModalInner"> 438 <div class="customModalInner">
439 <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> 439 <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
440 <table> 440 <table>
441 <tr> 441 <tr>
442 <td> 442 <td>
443 <img src="img/info.png" style="width: 50px;"> 443 <img src="img/info.png" style="width: 50px;">
444 </td> 444 </td>
445 <td> 445 <td>
446 <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to email pricing to everyone in your contact list?</p> 446 <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to email pricing to everyone in your contact list?</p>
447 </td> 447 </td>
448 </tr> 448 </tr>
449 </table> 449 </table>
450 </div> 450 </div>
451 <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> 451 <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
452 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="saveAndCloseConfirm()">Yes</button> 452 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="saveAndCloseConfirm()">Yes</button>
453 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAndCloseConfirm()">Cancel</button> 453 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAndCloseConfirm()">Cancel</button>
454 </div> 454 </div>
455 </div> 455 </div>
456 </div> 456 </div>
457 <div class="customConfirmPopBackdrop" id="confirm2" style="display: none;"> 457 <div class="customConfirmPopBackdrop" id="confirm2" style="display: none;">
458 <div class="customModalInner"> 458 <div class="customModalInner">
459 <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> 459 <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
460 <table> 460 <table>
461 <tr> 461 <tr>
462 <td> 462 <td>
463 <img src="img/info.png" style="width: 50px;"> 463 <img src="img/info.png" style="width: 50px;">
464 </td> 464 </td>
465 <td> 465 <td>
466 <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to email pricing for this margin?</p> 466 <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to email pricing for this margin?</p>
467 </td> 467 </td>
468 </tr> 468 </tr>
469 </table> 469 </table>
470 </div> 470 </div>
471 <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> 471 <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
472 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="saveAndCloseForMarginConfirm()">Yes</button> 472 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="saveAndCloseForMarginConfirm()">Yes</button>
473 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAndCloseForMarginConfirm()">Cancel</button> 473 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAndCloseForMarginConfirm()">Cancel</button>
474 </div> 474 </div>
475 </div> 475 </div>
476 </div> 476 </div>
477 477
478 <div class="customConfirmPopBackdrop" id="deleteTierConfirm" style="display: none;"> 478 <div class="customConfirmPopBackdrop" id="deleteTierConfirm" style="display: none;">
479 <div class="customModalInner"> 479 <div class="customModalInner">
480 <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> 480 <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
481 <table> 481 <table>
482 <tr> 482 <tr>
483 <td> 483 <td>
484 <img src="img/info.png" style="width: 50px;"> 484 <img src="img/info.png" style="width: 50px;">
485 </td> 485 </td>
486 <td> 486 <td>
487 <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Tier?</p> 487 <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Tier?</p>
488 </td> 488 </td>
489 </tr> 489 </tr>
490 </table> 490 </table>
491 </div> 491 </div>
492 <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> 492 <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
493 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmDeleteTier()">Yes</button> 493 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmDeleteTier()">Yes</button>
494 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelTierDelete()">Cancel</button> 494 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelTierDelete()">Cancel</button>
495 </div> 495 </div>
496 </div> 496 </div>
497 </div> 497 </div>
498 498
499 <div class="customConfirmPopBackdrop" id="deleteVtypeTierConfirm" style="display: none;"> 499 <div class="customConfirmPopBackdrop" id="deleteVtypeTierConfirm" style="display: none;">
500 <div class="customModalInner"> 500 <div class="customModalInner">
501 <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> 501 <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
502 <table> 502 <table>
503 <tr> 503 <tr>
504 <td> 504 <td>
505 <img src="img/info.png" style="width: 50px;"> 505 <img src="img/info.png" style="width: 50px;">
506 </td> 506 </td>
507 <td> 507 <td>
508 <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Tier?</p> 508 <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Tier?</p>
509 </td> 509 </td>
510 </tr> 510 </tr>
511 </table> 511 </table>
512 </div> 512 </div>
513 <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> 513 <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
514 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmDeleteVtypeTier()">Yes</button> 514 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmDeleteVtypeTier()">Yes</button>
515 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelVtypeTierDelete()">Cancel</button> 515 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelVtypeTierDelete()">Cancel</button>
516 </div> 516 </div>
517 </div> 517 </div>
518 </div> 518 </div>
519 519
520 <div class="customConfirmPopBackdrop" id="deleteMargin" style="display: none;"> 520 <div class="customConfirmPopBackdrop" id="deleteMargin" style="display: none;">
521 <div class="customModalInner"> 521 <div class="customModalInner">
522 <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> 522 <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
523 <table> 523 <table>
524 <tr> 524 <tr>
525 <td> 525 <td>
526 <img src="img/info.png" style="width: 50px;"> 526 <img src="img/info.png" style="width: 50px;">
527 </td> 527 </td>
528 <td> 528 <td>
529 <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Margin Template?</p> 529 <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Margin Template?</p>
530 </td> 530 </td>
531 </tr> 531 </tr>
532 </table> 532 </table>
533 </div> 533 </div>
534 <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> 534 <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
535 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmDeleteMargin()">Yes</button> 535 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmDeleteMargin()">Yes</button>
536 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelMarginDelete()">Cancel</button> 536 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelMarginDelete()">Cancel</button>
537 </div> 537 </div>
538 </div> 538 </div>
539 </div> 539 </div>
540 540
541 <div class="customConfirmPopBackdrop" id="deleteVtypeMargin" style="display: none;"> 541 <div class="customConfirmPopBackdrop" id="deleteVtypeMargin" style="display: none;">
542 <div class="customModalInner"> 542 <div class="customModalInner">
543 <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> 543 <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
544 <table> 544 <table>
545 <tr> 545 <tr>
546 <td> 546 <td>
547 <img src="img/info.png" style="width: 50px;"> 547 <img src="img/info.png" style="width: 50px;">
548 </td> 548 </td>
549 <td> 549 <td>
550 <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Margin Template?</p> 550 <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Margin Template?</p>
551 </td> 551 </td>
552 </tr> 552 </tr>
553 </table> 553 </table>
554 </div> 554 </div>
555 <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> 555 <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
556 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmDeletVtypeMargin()">Yes</button> 556 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmDeletVtypeMargin()">Yes</button>
557 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelVtypeMarginDelete()">Cancel</button> 557 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelVtypeMarginDelete()">Cancel</button>
558 </div> 558 </div>
559 </div> 559 </div>
560 </div> 560 </div>
561 561
562 <div class="customConfirmPopBackdrop" id="resetPricing" style="display: none;"> 562 <div class="customConfirmPopBackdrop" id="resetPricing" style="display: none;">
563 <div class="customModalInner"> 563 <div class="customModalInner">
564 <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> 564 <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
565 <table> 565 <table>
566 <tr> 566 <tr>
567 <td> 567 <td>
568 <img src="img/info.png" style="width: 50px;"> 568 <img src="img/info.png" style="width: 50px;">
569 </td> 569 </td>
570 <td> 570 <td>
571 <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure you want to reset and clear all of the staged pricing above and current pricing below?</p> 571 <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure you want to reset and clear all of the staged pricing above and current pricing below?</p>
572 </td> 572 </td>
573 </tr> 573 </tr>
574 </table> 574 </table>
575 </div> 575 </div>
576 <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> 576 <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
577 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmReset()">Yes</button> 577 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmReset()">Yes</button>
578 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelReset()">No</button> 578 <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelReset()">No</button>
579 </div> 579 </div>
580 </div> 580 </div>
581 </div> 581 </div>
582 582
583 <!-- Le javascript 583 <!-- Le javascript
584 ================================================== --> 584 ================================================== -->
585 <!-- Placed at the end of the document so the pages load faster --> 585 <!-- Placed at the end of the document so the pages load faster -->
586 <!-- <script> 586 <!-- <script>
587 CKEDITOR.replace( 'editor2', { 587 CKEDITOR.replace( 'editor2', {
588 height: 250, 588 height: 250,
589 extraPlugins: 'divarea' 589 extraPlugins: 'divarea'
590 } ); 590 } );
591 </script> --> 591 </script> -->