Commit 7ae99e762597a83c3f38883401bcb12f7645befa
1 parent
427d4f5b76
Exists in
master
logs
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/partials/viewCompany/viewCompany.html
1 | <style> | 1 | <style> |
2 | .subnavbar .mainnav > li:nth-child(2) > a{ | 2 | .subnavbar .mainnav > li:nth-child(2) > a{ |
3 | color: #ca5c6a; | 3 | color: #ca5c6a; |
4 | } | 4 | } |
5 | .widget-content{ | 5 | .widget-content{ |
6 | padding: 10px !important; | 6 | padding: 10px !important; |
7 | } | 7 | } |
8 | .widget-content input[type="text"], .widget-content select{ | 8 | .widget-content input[type="text"], .widget-content select{ |
9 | height: 31px; | 9 | height: 31px; |
10 | padding: 0; | 10 | padding: 0; |
11 | } | 11 | } |
12 | .new-label span{ | 12 | .new-label span{ |
13 | float: left; | 13 | float: left; |
14 | line-height: 31px; | 14 | line-height: 31px; |
15 | } | 15 | } |
16 | .new-label span:first-child{ | 16 | .new-label span:first-child{ |
17 | margin-right: 5px; | 17 | margin-right: 5px; |
18 | font-weight: bold; | 18 | font-weight: bold; |
19 | } | 19 | } |
20 | .new-label span:last-child{ | 20 | .new-label span:last-child{ |
21 | margin-left: 5px; | 21 | margin-left: 5px; |
22 | } | 22 | } |
23 | .new-label select{ | 23 | .new-label select{ |
24 | display: -webkit-inline-box; | 24 | display: -webkit-inline-box; |
25 | display: inline-box; | 25 | display: inline-box; |
26 | float: left; | 26 | float: left; |
27 | } | 27 | } |
28 | .new-address p{ | 28 | .new-address p{ |
29 | margin-bottom: 0; | 29 | margin-bottom: 0; |
30 | } | 30 | } |
31 | .new-add-select{ | 31 | .new-add-select{ |
32 | padding-left: 15px; | 32 | padding-left: 15px; |
33 | margin: 10px 0; | 33 | margin: 10px 0; |
34 | } | 34 | } |
35 | .new-add-select select{ | 35 | .new-add-select select{ |
36 | width: 100px; | 36 | width: 100px; |
37 | } | 37 | } |
38 | .widget{ | 38 | .widget{ |
39 | -moz-box-shadow: 0px 3px 8px rgba(100,100,100, 0.7); | 39 | -moz-box-shadow: 0px 3px 8px rgba(100,100,100, 0.7); |
40 | -webkit-box-shadow: 0px 3px 8px rgba(100,100,100, 0.7); | 40 | -webkit-box-shadow: 0px 3px 8px rgba(100,100,100, 0.7); |
41 | box-shadow: 0px 3px 8px rgba(100,100,100, 0.7); | 41 | box-shadow: 0px 3px 8px rgba(100,100,100, 0.7); |
42 | } | 42 | } |
43 | .optionclass { | 43 | .optionclass { |
44 | background: #fff; | 44 | background: #fff; |
45 | } | 45 | } |
46 | .timess { | 46 | .timess { |
47 | float: right !important; | 47 | float: right !important; |
48 | margin-top: 10px !important; | 48 | margin-top: 10px !important; |
49 | margin-right: 10px !important; | 49 | margin-right: 10px !important; |
50 | color: #999 !important; | 50 | color: #999 !important; |
51 | cursor: pointer !important; | 51 | cursor: pointer !important; |
52 | } | 52 | } |
53 | 53 | ||
54 | .button1 { | 54 | .button1 { |
55 | display: inline-block; | 55 | display: inline-block; |
56 | height: 35px; | 56 | height: 35px; |
57 | line-height: 35px; | 57 | line-height: 35px; |
58 | padding-right: 15px; | 58 | padding-right: 15px; |
59 | padding-left: 50px; | 59 | padding-left: 50px; |
60 | position: relative; | 60 | position: relative; |
61 | background-color:rgb(41,127,184); | 61 | background-color:rgb(41,127,184); |
62 | color:rgb(255,255,255); | 62 | color:rgb(255,255,255); |
63 | text-decoration: none; | 63 | text-decoration: none; |
64 | text-transform: uppercase; | 64 | text-transform: uppercase; |
65 | letter-spacing: 1px; | 65 | letter-spacing: 1px; |
66 | margin-bottom: 15px; | 66 | margin-bottom: 15px; |
67 | border: 0; | 67 | border: 0; |
68 | 68 | ||
69 | 69 | ||
70 | border-radius: 5px; | 70 | border-radius: 5px; |
71 | -moz-border-radius: 5px; | 71 | -moz-border-radius: 5px; |
72 | -webkit-border-radius: 5px; | 72 | -webkit-border-radius: 5px; |
73 | text-shadow:0px 1px 0px rgba(0,0,0,0.5); | 73 | text-shadow:0px 1px 0px rgba(0,0,0,0.5); |
74 | -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=1,Color=#ff123852,Positive=true)";zoom:1; | 74 | -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=1,Color=#ff123852,Positive=true)";zoom:1; |
75 | filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=1,Color=#ff123852,Positive=true); | 75 | filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=1,Color=#ff123852,Positive=true); |
76 | 76 | ||
77 | -moz-box-shadow:0px 2px 2px rgba(0,0,0,0.2); | 77 | -moz-box-shadow:0px 2px 2px rgba(0,0,0,0.2); |
78 | -webkit-box-shadow:0px 2px 2px rgba(0,0,0,0.2); | 78 | -webkit-box-shadow:0px 2px 2px rgba(0,0,0,0.2); |
79 | box-shadow:0px 2px 2px rgba(0,0,0,0.2); | 79 | box-shadow:0px 2px 2px rgba(0,0,0,0.2); |
80 | -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=2,Color=#33000000,Positive=true)"; | 80 | -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=2,Color=#33000000,Positive=true)"; |
81 | filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=2,Color=#33000000,Positive=true); | 81 | filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=2,Color=#33000000,Positive=true); |
82 | } | 82 | } |
83 | 83 | ||
84 | .button1 span { | 84 | .button1 span { |
85 | position: absolute; | 85 | position: absolute; |
86 | left: 0; | 86 | left: 0; |
87 | top: 0; | 87 | top: 0; |
88 | width: 35px; | 88 | width: 35px; |
89 | background-color:rgba(0,0,0,0.5); | 89 | background-color:rgba(0,0,0,0.5); |
90 | 90 | ||
91 | -webkit-border-top-left-radius: 5px; | 91 | -webkit-border-top-left-radius: 5px; |
92 | -webkit-border-bottom-left-radius: 5px; | 92 | -webkit-border-bottom-left-radius: 5px; |
93 | -moz-border-radius-topleft: 5px; | 93 | -moz-border-radius-topleft: 5px; |
94 | -moz-border-radius-bottomleft: 5px; | 94 | -moz-border-radius-bottomleft: 5px; |
95 | border-top-left-radius: 5px; | 95 | border-top-left-radius: 5px; |
96 | border-bottom-left-radius: 5px; | 96 | border-bottom-left-radius: 5px; |
97 | border-right: 1px solid rgba(0,0,0,0.15); | 97 | border-right: 1px solid rgba(0,0,0,0.15); |
98 | } | 98 | } |
99 | 99 | ||
100 | .button1:hover span, .button1.active span { | 100 | .button1:hover span, .button1.active span { |
101 | background-color:rgb(0,102,26); | 101 | background-color:rgb(0,102,26); |
102 | border-right: 1px solid rgba(0,0,0,0.3); | 102 | border-right: 1px solid rgba(0,0,0,0.3); |
103 | } | 103 | } |
104 | 104 | ||
105 | .button1:active { | 105 | .button1:active { |
106 | margin-top: 2px; | 106 | margin-top: 2px; |
107 | margin-bottom: 13px; | 107 | margin-bottom: 13px; |
108 | 108 | ||
109 | -moz-box-shadow:0px 1px 0px rgba(255,255,255,0.5); | 109 | -moz-box-shadow:0px 1px 0px rgba(255,255,255,0.5); |
110 | -webkit-box-shadow:0px 1px 0px rgba(255,255,255,0.5); | 110 | -webkit-box-shadow:0px 1px 0px rgba(255,255,255,0.5); |
111 | box-shadow:0px 1px 0px rgba(255,255,255,0.5); | 111 | box-shadow:0px 1px 0px rgba(255,255,255,0.5); |
112 | -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=1,Color=#ccffffff,Positive=true)"; | 112 | -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=1,Color=#ccffffff,Positive=true)"; |
113 | filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=1,Color=#ccffffff,Positive=true); | 113 | filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=1,Color=#ccffffff,Positive=true); |
114 | } | 114 | } |
115 | 115 | ||
116 | .button1.turquoise { | 116 | .button1.turquoise { |
117 | background: #449d44; | 117 | background: #449d44; |
118 | } | 118 | } |
119 | 119 | ||
120 | </style> | 120 | </style> |
121 | 121 | ||
122 | <div class="myLoader" ng-show="showLoader"> | 122 | <div class="myLoader" ng-show="showLoader"> |
123 | <img src="../img/hourglass.gif" width="50px;"> | 123 | <img src="../img/hourglass.gif" width="50px;"> |
124 | </div> | 124 | </div> |
125 | 125 | ||
126 | <div class="col-xs-12 col-md-12"> | 126 | <div class="col-xs-12 col-md-12"> |
127 | <div class="row" style="margin-left:0px"> | 127 | <div class="row" style="margin-left:0px"> |
128 | <div class="col-md-12"> | 128 | <div class="col-md-12"> |
129 | <div class="widget"> | 129 | <div class="widget"> |
130 | <div class="widget-header"> | 130 | <div class="widget-header"> |
131 | <i class="fa fa-building-o" aria-hidden="true"></i> | 131 | <i class="fa fa-building-o" aria-hidden="true"></i> |
132 | <h3>{{companyData.companyName}} <i class="fa fa-trash-o deleteTierIcon" ng-click="deleteComp(companyData.id)" aria-hidden="true" ng-show="!fboPreffered"></i></h3> | 132 | <h3>{{companyData.companyName}} <i class="fa fa-trash-o deleteTierIcon" ng-click="deleteComp(companyData.id)" aria-hidden="true" ng-show="!fboPreffered"></i></h3> |
133 | <i class="fa fa-times timess" ui-sref="app.customers" aria-hidden="true"></i> | 133 | <i class="fa fa-times timess" ui-sref="app.customers" aria-hidden="true"></i> |
134 | </div> | 134 | </div> |
135 | 135 | ||
136 | <!-- /widget-header --> | 136 | <!-- /widget-header --> |
137 | <div class="widget-content"> | 137 | <div class="widget-content"> |
138 | <div class="row" style="margin-left:0px"> | 138 | <div class="row" style="margin-left:0px"> |
139 | <div class="col-md-6" ng-show="isGlobal"> | 139 | <div class="col-md-6" ng-show="isGlobal"> |
140 | <div class="widget"> | 140 | <div class="widget"> |
141 | <div class="widget-header"> | 141 | <div class="widget-header"> |
142 | <i class="fa fa-building-o" aria-hidden="true"></i> | 142 | <i class="fa fa-building-o" aria-hidden="true"></i> |
143 | <h3>Company Details</h3> | 143 | <h3>Company Details</h3> |
144 | <label>BASE ICAO</label> | 144 | <label>BASE ICAO</label> |
145 | <input type="tel" ng-model="companyData.baseIcao" ng-click="base()" style="line-height: 18px;width: 80px;padding: 0px 9px;" /> | 145 | <input type="tel" ng-model="companyData.baseIcao" ng-click="base()" style="line-height: 18px;width: 80px;padding: 0px 9px;" /> |
146 | 146 | ||
147 | <div class="pull-right" style="margin-top: 5px; margin-right: 10px;"> | 147 | <div class="pull-right" style="margin-top: 5px; margin-right: 10px;"> |
148 | <toggle ng-model="companyData.activate" ng-change="changeCompanyStatus()" size="customToogle" on="Active" off="Inactive"></toggle> | 148 | <toggle ng-model="companyData.activate" ng-change="changeCompanyStatus()" size="customToogle" on="Active" off="Inactive"></toggle> |
149 | </div> | 149 | </div> |
150 | 150 | ||
151 | </div> | 151 | </div> |
152 | <div class="widget-content" style="min-height: 350px;"> | 152 | <div class="widget-content" style="min-height: 350px;"> |
153 | <div class="row" style="margin-left:0px;"> | 153 | <div class="row" style="margin-left:0px;"> |
154 | <div class="col-md-7" style="padding-left: 0;"> | 154 | <div class="col-md-7" style="padding-left: 0;"> |
155 | <h4 ng-show="showCompanyName"> | 155 | <h4 ng-show="showCompanyName"> |
156 | <b style="color:#F90;">{{companyData.companyName}}</b> <i class="fa fa-pencil-square-o" ng-click="company()" style="font-size: 14px;" aria-hidden="true"></i> | 156 | <b style="color:#F90;">{{companyData.companyName}}</b> <i class="fa fa-pencil-square-o" ng-click="company()" style="font-size: 14px;" aria-hidden="true"></i> |
157 | </h4> | 157 | </h4> |
158 | <input type="tel" ng-hide="showCompanyName" ng-model="companyData.companyName" class="form-control"/> | 158 | <input type="tel" ng-hide="showCompanyName" ng-model="companyData.companyName" class="form-control"/> |
159 | </div> | 159 | </div> |
160 | <div class="col-md-5"> | 160 | <div class="col-md-5"> |
161 | <select class="form-control" style="padding: 4px 8px;background: #ebebeb;" ng-model="companyData.certificateType"> | 161 | <select class="form-control" style="padding: 4px 8px;background: #ebebeb;" ng-model="companyData.certificateType"> |
162 | <option class="optionclass" value="" disabled selected>Certificate Type</option> | 162 | <option class="optionclass" value="" disabled selected>Certificate Type</option> |
163 | <option class="optionclass" value="corporate">Part 91 (Corporate)</option> | 163 | <option class="optionclass" value="corporate">Part 91 (Corporate)</option> |
164 | <option class="optionclass" value="charter">Part 135 (Charter)</option> | 164 | <option class="optionclass" value="charter">Part 135 (Charter)</option> |
165 | <option class="optionclass" value="scheduled">Part 121 (Scheduled)</option> | 165 | <option class="optionclass" value="scheduled">Part 121 (Scheduled)</option> |
166 | <option class="optionclass" value="military">Military</option> | 166 | <option class="optionclass" value="military">Military</option> |
167 | <option class="optionclass" value="government">Government</option> | 167 | <option class="optionclass" value="government">Government</option> |
168 | </select> | 168 | </select> |
169 | </div> | 169 | </div> |
170 | </div> | 170 | </div> |
171 | <div> | 171 | <div> |
172 | <p class="new-label"> | 172 | <p class="new-label"> |
173 | <span>JET A Margin </span> | 173 | <span>JET A Margin </span> |
174 | <select class="form-control" style="width: 135px;padding: 4px 8px;" ng-change="editData()" ng-model="companyData.masterMargin"> | 174 | <select class="form-control" style="width: 135px;padding: 4px 8px;" ng-change="editData()" ng-model="companyData.masterMargin"> |
175 | <option ng-if="multiple" value="multiple">Multiple</option> | 175 | <option ng-if="multiple" value="multiple">Multiple</option> |
176 | <option ng-repeat="margin in jetMarginList" value="{{margin.id}}">{{margin.marginName}}</option> | 176 | <option ng-repeat="margin in jetMarginList" value="{{margin.id}}">{{margin.marginName}}</option> |
177 | </select> | 177 | </select> |
178 | <span ng-show="multipleMsg"> See Aircrart List</span> | 178 | <span ng-show="multipleMsg"> See Aircrart List</span> |
179 | <div class="clearfix"></div> | 179 | <div class="clearfix"></div> |
180 | </p> | 180 | </p> |
181 | </div> | 181 | </div> |
182 | <div> | 182 | <div> |
183 | <p class="new-label"> | 183 | <p class="new-label"> |
184 | <span>AVGAS 100LL </span> | 184 | <span>AVGAS 100LL </span> |
185 | <select class="form-control" style="width: 135px;padding: 4px 8px;" ng-change="editData()" ng-model="companyData.avgasMargin"> | 185 | <select class="form-control" style="width: 135px;padding: 4px 8px;" ng-change="editData()" ng-model="companyData.avgasMargin"> |
186 | <option value="">N/A</option> | 186 | <option value="">N/A</option> |
187 | <option ng-repeat="margin in avgsMarginList" value="{{margin.id}}">{{margin.marginName}}</option> | 187 | <option ng-repeat="margin in avgsMarginList" value="{{margin.id}}">{{margin.marginName}}</option> |
188 | </select> | 188 | </select> |
189 | <div class="clearfix"></div> | 189 | <div class="clearfix"></div> |
190 | </p> | 190 | </p> |
191 | </div> | 191 | </div> |
192 | <div> | 192 | <div> |
193 | <ui-select multiple class="form-control" ng-model="selected" name="name" ng-change="changeValue(selected)"> | 193 | <ui-select multiple class="form-control" ng-model="selected" name="name" ng-change="changeValue(selected)"> |
194 | <ui-select-match placeholder="Select or Search">{{$item.first}}</ui-select-match> | 194 | <ui-select-match placeholder="Select or Search">{{$item.first}}</ui-select-match> |
195 | <ui-select-choices repeat="val.first as val in values | filter: $select.search"> | 195 | <ui-select-choices repeat="val.first as val in values | filter: $select.search"> |
196 | {{val.first}} | 196 | {{val.first}} |
197 | <!-- <div ng-bind-html="val | highlight: $select"></div> --> | 197 | <!-- <div ng-bind-html="val | highlight: $select"></div> --> |
198 | </ui-select-choices> | 198 | </ui-select-choices> |
199 | </ui-select> | 199 | </ui-select> |
200 | </div> | 200 | </div> |
201 | </br> | 201 | </br> |
202 | <div class="new-address"> | 202 | <div class="new-address"> |
203 | </div> | 203 | </div> |
204 | <div> | 204 | <div> |
205 | <p style="margin-bottom: 0;"><b>Company Notes</b> <i class="fa fa-pencil-square-o" ng-click="showNote()" aria-hidden="true"></i></p> | 205 | <p style="margin-bottom: 0;"><b>Company Notes</b> <i class="fa fa-pencil-square-o" ng-click="showNote()" aria-hidden="true"></i></p> |
206 | <p ng-show="showNoteData">{{companyData.internalNote}}</p> | 206 | <p ng-show="showNoteData">{{companyData.internalNote}}</p> |
207 | <textarea name="message" ng-hide="showNoteData" style="margin-bottom: 6px;" class="form-control" ng-model="companyData.internalNote" rows="4" cols="34"></textarea> | 207 | <textarea name="message" ng-hide="showNoteData" style="margin-bottom: 6px;" class="form-control" ng-model="companyData.internalNote" rows="4" cols="34"></textarea> |
208 | </div> | 208 | </div> |
209 | <div class="pull-left"> | 209 | <div class="pull-left"> |
210 | <button ng-click="editData()" ng-show="showUpdateBtn" class="btn btn-success">Save</button> | 210 | <button ng-click="editData()" ng-show="showUpdateBtn" class="btn btn-success">Save</button> |
211 | <button ng-click="cancelUpdateData()" ng-show="showUpdateBtn" class="btn btn-default">Cancel</button> | 211 | <button ng-click="cancelUpdateData()" ng-show="showUpdateBtn" class="btn btn-default">Cancel</button> |
212 | </div> | 212 | </div> |
213 | <div class="pull-right"> | 213 | <div class="pull-right"> |
214 | <button type="button" ng-show="isShowEmail" ng-click="sendMail()" class="btn btn-primary">Distribute Price to Company Contacts</button> | 214 | <button type="button" ng-show="isShowEmail" ng-click="sendMail()" class="btn btn-primary">Distribute Price to Company Contacts</button> |
215 | <button type="button" class="btn btn-info" ng-click="setFuel()">Setup Fuel</button> | 215 | <button type="button" class="btn btn-info" ng-click="setFuel()">Setup Fuel</button> |
216 | </div> | 216 | </div> |
217 | <div class="clearfix"></div> | 217 | <div class="clearfix"></div> |
218 | </div> | 218 | </div> |
219 | </div> | 219 | </div> |
220 | </div> | 220 | </div> |
221 | <div class="col-md-6" ng-hide="isGlobal"> | 221 | <div class="col-md-6" ng-hide="isGlobal"> |
222 | <div class="widget"> | 222 | <div class="widget"> |
223 | <div class="widget-header"> | 223 | <div class="widget-header"> |
224 | <i class="fa fa-building-o" aria-hidden="true"></i> | 224 | <i class="fa fa-building-o" aria-hidden="true"></i> |
225 | <h3>Company Details</h3> | 225 | <h3>Company Details</h3> |
226 | <label>BASE ICAO</label> | 226 | <label>BASE ICAO</label> |
227 | <input type="tel" ng-model="companyData.baseIcao" ng-click="base()" style="line-height: 18px;width: 80px;padding: 0px 9px;" /> | 227 | <input type="tel" ng-model="companyData.baseIcao" ng-click="base()" style="line-height: 18px;width: 80px;padding: 0px 9px;" /> |
228 | 228 | ||
229 | <div class="pull-right" style="margin-top: 5px; margin-right: 10px;"> | 229 | <div class="pull-right" style="margin-top: 5px; margin-right: 10px;"> |
230 | <toggle ng-model="companyData.activate" ng-change="changeCompanyStatus()" size="customToogle" on="Active" off="Inactive"></toggle> | 230 | <toggle ng-model="companyData.activate" ng-change="changeCompanyStatus()" size="customToogle" on="Active" off="Inactive"></toggle> |
231 | </div> | 231 | </div> |
232 | 232 | ||
233 | </div> | 233 | </div> |
234 | <div class="widget-content"> | 234 | <div class="widget-content"> |
235 | <div class="row" style="margin-left:0px;"> | 235 | <div class="row" style="margin-left:0px;"> |
236 | <div class="col-md-7" style="padding-left: 0;"> | 236 | <div class="col-md-7" style="padding-left: 0;"> |
237 | <h4 ng-show="showCompanyName"> | 237 | <h4 ng-show="showCompanyName"> |
238 | <b style="color:#F90;">{{companyData.companyName}}</b> <i class="fa fa-pencil-square-o" ng-click="company()" style="font-size: 14px;" aria-hidden="true" ng-show="!fboPreffered"></i> | 238 | <b style="color:#F90;">{{companyData.companyName}}</b> <i class="fa fa-pencil-square-o" ng-click="company()" style="font-size: 14px;" aria-hidden="true" ng-show="!fboPreffered"></i> |
239 | </h4> | 239 | </h4> |
240 | <input type="tel" ng-hide="showCompanyName" ng-model="companyData.companyName" class="form-control"/> | 240 | <input type="tel" ng-hide="showCompanyName" ng-model="companyData.companyName" class="form-control"/> |
241 | </div> | 241 | </div> |
242 | <div class="col-md-5"> | 242 | <div class="col-md-5"> |
243 | <select class="form-control" style="padding: 4px 8px;background: #ebebeb;" ng-model="companyData.certificateType"> | 243 | <select class="form-control" style="padding: 4px 8px;background: #ebebeb;" ng-model="companyData.certificateType"> |
244 | <option class="optionclass" value="" disabled selected>Certificate Type</option> | 244 | <option class="optionclass" value="" disabled selected>Certificate Type</option> |
245 | <option class="optionclass" value="corporate">Part 91 (Corporate)</option> | 245 | <option class="optionclass" value="corporate">Part 91 (Corporate)</option> |
246 | <option class="optionclass" value="charter">Part 135 (Charter)</option> | 246 | <option class="optionclass" value="charter">Part 135 (Charter)</option> |
247 | <option class="optionclass" value="scheduled">Part 121 (Scheduled)</option> | 247 | <option class="optionclass" value="scheduled">Part 121 (Scheduled)</option> |
248 | <option class="optionclass" value="military">Military</option> | 248 | <option class="optionclass" value="military">Military</option> |
249 | <option class="optionclass" value="government">Government</option> | 249 | <option class="optionclass" value="government">Government</option> |
250 | </select> | 250 | </select> |
251 | </div> | 251 | </div> |
252 | </div> | 252 | </div> |
253 | <div> | 253 | <div> |
254 | <p class="new-label"> | 254 | <p class="new-label"> |
255 | <span>JET A Margin </span> | 255 | <span>JET A Margin </span> |
256 | <select class="form-control" style="width: 135px;padding: 4px 8px;" ng-change="editData()" ng-model="companyData.masterMargin"> | 256 | <select class="form-control" style="width: 135px;padding: 4px 8px;" ng-change="editData()" ng-model="companyData.masterMargin"> |
257 | <option ng-if="multiple" value="multiple">Multiple</option> | 257 | <option ng-if="multiple" value="multiple">Multiple</option> |
258 | <option ng-repeat="margin in jetMarginList" value="{{margin.id}}">{{margin.marginName}}</option> | 258 | <option ng-repeat="margin in jetMarginList" value="{{margin.id}}">{{margin.marginName}}</option> |
259 | </select> | 259 | </select> |
260 | <span ng-show="multipleMsg"> See Aircraft List</span> | 260 | <span ng-show="multipleMsg"> See Aircraft List</span> |
261 | <div class="clearfix"></div> | 261 | <div class="clearfix"></div> |
262 | </p> | 262 | </p> |
263 | </div> | 263 | </div> |
264 | <div> | 264 | <div> |
265 | <p class="new-label"> | 265 | <p class="new-label"> |
266 | <span>AVGAS 100LL </span> | 266 | <span>AVGAS 100LL </span> |
267 | <select class="form-control" style="width: 135px;padding: 4px 8px;" ng-change="editData()" ng-model="companyData.avgasMargin"> | 267 | <select class="form-control" style="width: 135px;padding: 4px 8px;" ng-change="editData()" ng-model="companyData.avgasMargin"> |
268 | <option value="">N/A</option> | 268 | <option value="">N/A</option> |
269 | <option ng-repeat="margin in avgsMarginList" value="{{margin.id}}">{{margin.marginName}}</option> | 269 | <option ng-repeat="margin in avgsMarginList" value="{{margin.id}}">{{margin.marginName}}</option> |
270 | </select> | 270 | </select> |
271 | <div class="clearfix"></div> | 271 | <div class="clearfix"></div> |
272 | </p> | 272 | </p> |
273 | </div> | 273 | </div> |
274 | <div class="row" style="margin-left:0px;" ng-show="fboPreffered"> | 274 | <div class="row" style="margin-left:0px;" ng-show="fboPreffered"> |
275 | <p style="color:red"> <i class="fa fa-search-plus" ></i> FBOInsights Preffered</p> | 275 | <p style="color:red"> <i class="fa fa-search-plus" ></i> FBOInsights Preffered</p> |
276 | </div> | 276 | </div> |
277 | <div class="row" style="margin-left:0px;"> | 277 | <div class="row" style="margin-left:0px;"> |
278 | <div class="col-md-5" style="padding-left: 0;"> | 278 | <div class="col-md-5" style="padding-left: 0;"> |
279 | <input type="checkbox" name="" ng-model="companyData.baseTenant" ng-change="checkboxStatus(companyData.baseTenant)"> Tenant/Base Customer | 279 | <input type="checkbox" name="" ng-model="companyData.baseTenant" ng-change="checkboxStatus(companyData.baseTenant)"> Tenant/Base Customer |
280 | </div> | 280 | </div> |
281 | <!--fuelerlinxCustomer later use not to be deleted just hidden--> | 281 | <!--fuelerlinxCustomer later use not to be deleted just hidden--> |
282 | <!-- <div class="col-md-5" style="padding-left: 0;"> | 282 | <!-- <div class="col-md-5" style="padding-left: 0;"> |
283 | <input type="checkbox" name="" ng-model="companyData.fuelerlinxCustomer" ng-change="fuelercheckboxStatus(companyData.fuelerlinxCustomer)"> FuelerLinx Customer | 283 | <input type="checkbox" name="" ng-model="companyData.fuelerlinxCustomer" ng-change="fuelercheckboxStatus(companyData.fuelerlinxCustomer)"> FuelerLinx Customer |
284 | </div> | 284 | </div> |
285 | </div>--> | 285 | </div>--> |
286 | <div> | 286 | <div> |
287 | <input type="checkbox" name="" ng-model="companyData.contractFuelVendor" ng-change="checkboxStatus(companyData.contractFuelVendor)"> CAA Member | 287 | <input type="checkbox" name="" ng-model="companyData.contractFuelVendor" ng-change="checkboxStatus(companyData.contractFuelVendor)"> CAA Member |
288 | </div> | 288 | </div> |
289 | 289 | ||
290 | </div> | 290 | </div> |
291 | </br> | 291 | </br> |
292 | <div class="new-address"> | 292 | <div class="new-address"> |
293 | <p ng-show="showAddress"><i class="fa fa-map-marker"></i> | 293 | <p ng-show="showAddress"><i class="fa fa-map-marker"></i> |
294 | <span ng-hide="companyData.addressOne == 'null'">{{companyData.addressOne}}</span><span ng-hide="companyData.addressTwo == 'null'">, | 294 | <span ng-hide="companyData.addressOne == 'null'">{{companyData.addressOne}}</span><span ng-hide="companyData.addressTwo == 'null'">, |
295 | {{companyData.addressTwo}}</span> <span ng-hide="companyData.city == 'null'"><br/>{{companyData.city}},</span> <span ng-hide="companyData.state == 'null'">{{companyData.state}}</span> <span ng-hide="companyData.zipcode == 'null'">{{companyData.zipcode}}</span> <span ng-hide="companyData.country == 'null'"></br>{{companyData.country}}</span> <i class="fa fa-pencil-square-o" ng-click="addressChange()" aria-hidden="true" ng-show="!fboPreffered"></i> </p> | 295 | {{companyData.addressTwo}}</span> <span ng-hide="companyData.city == 'null'"><br/>{{companyData.city}},</span> <span ng-hide="companyData.state == 'null'">{{companyData.state}}</span> <span ng-hide="companyData.zipcode == 'null'">{{companyData.zipcode}}</span> <span ng-hide="companyData.country == 'null'"></br>{{companyData.country}}</span> <i class="fa fa-pencil-square-o" ng-click="addressChange()" aria-hidden="true" ng-show="!fboPreffered"></i> </p> |
296 | 296 | ||
297 | <div ng-hide="showAddress" style="margin-bottom:10px;"> | 297 | <div ng-hide="showAddress" style="margin-bottom:10px;"> |
298 | <label>Address1</label> | 298 | <label>Address1</label> |
299 | <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.addressOne" class="form-control" /> | 299 | <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.addressOne" class="form-control" /> |
300 | <label>Address2</label> | 300 | <label>Address2</label> |
301 | <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.addressTwo" class="form-control" /> | 301 | <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.addressTwo" class="form-control" /> |
302 | <label>City</label> | 302 | <label>City</label> |
303 | <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.city" class="form-control" /> | 303 | <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.city" class="form-control" /> |
304 | <label>State</label> | 304 | <label>State</label> |
305 | <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.state" class="form-control" /> | 305 | <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.state" class="form-control" /> |
306 | <label>ZipCode</label> | 306 | <label>ZipCode</label> |
307 | <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.zipcode" class="form-control" /> | 307 | <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.zipcode" class="form-control" /> |
308 | <label>Country</label> | 308 | <label>Country</label> |
309 | <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.country" class="form-control" /> | 309 | <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.country" class="form-control" /> |
310 | </div> | 310 | </div> |
311 | 311 | ||
312 | <p ng-repeat="data in companyData.companyCustomContacts" ng-if="data.contactNumber != null"> | 312 | <p ng-repeat="data in companyData.companyCustomContacts" ng-if="data.contactNumber != null"> |
313 | <i class="fa fa-phone" ng-hide="showEditContact"></i> | 313 | <i class="fa fa-phone" ng-hide="showEditContact"></i> |
314 | <span ng-hide="showEditContact">{{data.contactNumber}} </span> | 314 | <span ng-hide="showEditContact">{{data.contactNumber}} </span> |
315 | <i ng-click="showUpdateContact(data, 'phone')" ng-hide="showEditContact" class="fa fa-pencil-square-o" aria-hidden="true"></i> | 315 | <i ng-click="showUpdateContact(data, 'phone')" ng-hide="showEditContact" class="fa fa-pencil-square-o" aria-hidden="true"></i> |
316 | <i class="fa fa-trash-o" ng-click="deleteContent(data)" ng-hide="showEditContact" aria-hidden="true"></i> | 316 | <i class="fa fa-trash-o" ng-click="deleteContent(data)" ng-hide="showEditContact" aria-hidden="true"></i> |
317 | </p> | 317 | </p> |
318 | <p ng-repeat="data in companyData.companyCustomContacts" ng-if="data.email != null"> | 318 | <p ng-repeat="data in companyData.companyCustomContacts" ng-if="data.email != null"> |
319 | <i class="fa fa-envelope" ng-hide="showEditEmail"></i> | 319 | <i class="fa fa-envelope" ng-hide="showEditEmail"></i> |
320 | <span ng-hide="showEditEmail">{{data.email}} </span> | 320 | <span ng-hide="showEditEmail">{{data.email}} </span> |
321 | <i ng-click="showUpdateEmail(data, 'email')" ng-hide="showEditEmail" class="fa fa-pencil-square-o" aria-hidden="true"></i> | 321 | <i ng-click="showUpdateEmail(data, 'email')" ng-hide="showEditEmail" class="fa fa-pencil-square-o" aria-hidden="true"></i> |
322 | <i class="fa fa-trash-o" ng-click="deleteContent(data)" ng-hide="showEditEmail" aria-hidden="true"></i> | 322 | <i class="fa fa-trash-o" ng-click="deleteContent(data)" ng-hide="showEditEmail" aria-hidden="true"></i> |
323 | </p> | 323 | </p> |
324 | </div> | 324 | </div> |
325 | <div style="margin-top:5px; margin-bottom:5px;"> | 325 | <div style="margin-top:5px; margin-bottom:5px;"> |
326 | <button type="button" ng-click="addCustomPhone('phone')" class="btn btn-default">Add Phone</button> | 326 | <button type="button" ng-click="addCustomPhone('phone')" class="btn btn-default">Add Phone</button> |
327 | <button type="button" class="btn btn-info" ng-click="addCustomEmail('email')">Add Email</button> | 327 | <button type="button" class="btn btn-info" ng-click="addCustomEmail('email')">Add Email</button> |
328 | </div> | 328 | </div> |
329 | <div> | 329 | <div> |
330 | <p style="margin-bottom: 0;"><b>Company Notes</b> <i class="fa fa-pencil-square-o" ng-click="showNote()" aria-hidden="true"></i></p> | 330 | <p style="margin-bottom: 0;"><b>Company Notes</b> <i class="fa fa-pencil-square-o" ng-click="showNote()" aria-hidden="true"></i></p> |
331 | <p ng-show="showNoteData">{{companyData.internalNote}}</p> | 331 | <p ng-show="showNoteData">{{companyData.internalNote}}</p> |
332 | <textarea name="message" ng-hide="showNoteData" style="margin-bottom: 6px;" class="form-control" ng-model="companyData.internalNote" rows="4" cols="34"></textarea> | 332 | <textarea name="message" ng-hide="showNoteData" style="margin-bottom: 6px;" class="form-control" ng-model="companyData.internalNote" rows="4" cols="34"></textarea> |
333 | </div> | 333 | </div> |
334 | <div class="pull-left"> | 334 | <div class="pull-left"> |
335 | <button ng-click="editData()" ng-show="showUpdateBtn" class="btn btn-success">Save</button> | 335 | <button ng-click="editData()" ng-show="showUpdateBtn" class="btn btn-success">Save</button> |
336 | <button ng-click="cancelUpdateData()" ng-show="showUpdateBtn" class="btn btn-default">Cancel</button> | 336 | <button ng-click="cancelUpdateData()" ng-show="showUpdateBtn" class="btn btn-default">Cancel</button> |
337 | </div> | 337 | </div> |
338 | <div class="pull-right"> | 338 | <div class="pull-right"> |
339 | <button type="button" ng-show="isShowEmail" ng-click="sendMail()" class="btn btn-primary">Distribute Price to Company Contacts</button> | 339 | <button type="button" ng-show="isShowEmail" ng-click="sendMail()" class="btn btn-primary">Distribute Price to Company Contacts</button> |
340 | <button type="button" class="btn btn-info" ng-click="setFuel()">Setup Fuel</button> | 340 | <button type="button" class="btn btn-info" ng-click="setFuel()">Setup Fuel</button> |
341 | </div> | 341 | </div> |
342 | <div class="clearfix"></div> | 342 | <div class="clearfix"></div> |
343 | </div> | 343 | </div> |
344 | </div> | 344 | </div> |
345 | </div> | 345 | </div> |
346 | <div class="col-md-6"> | 346 | <div class="col-md-6"> |
347 | <div class="widget" style="min-height: 350px;"> | 347 | <div class="widget" style="min-height: 350px;"> |
348 | <div class="widget-header"> | 348 | <div class="widget-header"> |
349 | <i class="fa fa-plane"></i> | 349 | <i class="fa fa-plane"></i> |
350 | <h3>Aircraft List</h3> | 350 | <h3>Aircraft List</h3> |
351 | <div class="pull-right"> | 351 | <div class="pull-right"> |
352 | <button type="submit" ng-show="!fboPreffered" class="btn btn-success btn-sm" data-toggle="modal" ng-click="clearAircrafts()" data-target="#aircraft-modal-3" style="margin-top: 4px; margin-right: 9px;"><i class="fa fa-plus" aria-hidden="true"></i> Add Aircraft </button> | 352 | <button type="submit" ng-show="!fboPreffered" class="btn btn-success btn-sm" data-toggle="modal" ng-click="clearAircrafts()" data-target="#aircraft-modal-3" style="margin-top: 4px; margin-right: 9px;"><i class="fa fa-plus" aria-hidden="true"></i> Add Aircraft </button> |
353 | </div> | 353 | </div> |
354 | </div> | 354 | </div> |
355 | <div class="widget-content" style="padding:0px;min-height: 350px;"> | 355 | <div class="widget-content" style="padding:0px;min-height: 350px;"> |
356 | <div class="table-responsive"> | 356 | <div class="table-responsive"> |
357 | <table class="table table-bordered table-hover table-striped" ng-show="!fboPreffered"> | 357 | <table class="table table-bordered table-hover table-striped" ng-show="!fboPreffered"> |
358 | <thead> | 358 | <thead> |
359 | <tr> | 359 | <tr> |
360 | <th>Tail #</th> | 360 | <th>Tail #</th> |
361 | <th>Make</th> | 361 | <th>Make</th> |
362 | <th>Model</th> | 362 | <th>Model</th> |
363 | <th>Fuel Type</th> | 363 | <th>Fuel Type</th> |
364 | <th>Margin</th> | 364 | <th>Margin</th> |
365 | <th>Value</th> | 365 | <th>Value</th> |
366 | <th>All In</th> | 366 | <th>All In</th> |
367 | <!-- <th>AVGAS</th> --> | 367 | <!-- <th>AVGAS</th> --> |
368 | <!-- <th>All In</th> --> | 368 | <!-- <th>All In</th> --> |
369 | <th></th> | 369 | <th></th> |
370 | </tr> | 370 | </tr> |
371 | </thead> | 371 | </thead> |
372 | <tbody> | 372 | <tbody> |
373 | <tr ng-repeat="aircraft in contactAircraftList"> | 373 | <tr ng-repeat="aircraft in contactAircraftList"> |
374 | <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.tail}}</td> | 374 | <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.tail}}</td> |
375 | <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.make}}</td> | 375 | <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.make}}</td> |
376 | <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.model}}</td> | 376 | <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.model}}</td> |
377 | <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.fuelType}}</td> | 377 | <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.fuelType}}</td> |
378 | <td> | 378 | <td> |
379 | <select ng-show="abc && aircraft.fuelType=='Jet-A'" class="form-control" style="height:31px;" ng-model="aircraft.aircraftsMargin.id" ng-change="editJetMargin(aircraft,'jet')" ng-options="margin.id as margin.marginName for margin in jetMarginList" required> | 379 | <select ng-show="abc && aircraft.fuelType=='Jet-A'" class="form-control" style="height:31px;" ng-model="aircraft.aircraftsMargin.id" ng-change="editJetMargin(aircraft,'jet')" ng-options="margin.id as margin.marginName for margin in jetMarginList" required> |
380 | <option value="">N/A</option> | 380 | <option value="">N/A</option> |
381 | </select> | 381 | </select> |
382 | <!-- </td> | 382 | <!-- </td> |
383 | <td> --> | 383 | <td> --> |
384 | <select ng-show ="xyz && aircraft.fuelType=='100LL'" class="form-control" style="height:31px;" ng-model="aircraft.aircraftsAVGASMargin.id" ng-change="editJetMargin(aircraft,'avgas')"> | 384 | <select ng-show ="xyz && aircraft.fuelType=='100LL'" class="form-control" style="height:31px;" ng-model="aircraft.aircraftsAVGASMargin.id" ng-change="editJetMargin(aircraft,'avgas')"> |
385 | <option value="">N/A</option> | 385 | <option value="">N/A</option> |
386 | <option ng-repeat="margin in avgsMarginList" value="{{margin.id}}">{{margin.marginName}}</option> | 386 | <option ng-repeat="margin in avgsMarginList" value="{{margin.id}}">{{margin.marginName}}</option> |
387 | </select> | 387 | </select> |
388 | </td> | 388 | </td> |
389 | <td ng-style="aircraft.global"> | 389 | <td ng-style="aircraft.global"> |
390 | <span ng-if="aircraft.aircraftsMargin.pricingStructure === 'equal' || aircraft.aircraftsAVGASMargin.pricingStructure === 'equal' "> | 390 | <span ng-if="aircraft.aircraftsMargin.pricingStructure === 'equal' || aircraft.aircraftsAVGASMargin.pricingStructure === 'equal' "> |
391 | =${{aircraft.marginValue}} | 391 | =${{aircraft.marginValue}} |
392 | </span> | 392 | </span> |
393 | <span ng-if="aircraft.aircraftsMargin.pricingStructure === 'minus' || aircraft.aircraftsAVGASMargin.pricingStructure === 'minus'" style="color: #ff0000;">-${{aircraft.marginValue}} | 393 | <span ng-if="aircraft.aircraftsMargin.pricingStructure === 'minus' || aircraft.aircraftsAVGASMargin.pricingStructure === 'minus'" style="color: #ff0000;">-${{aircraft.marginValue}} |
394 | </span> | 394 | </span> |
395 | <span ng-if="aircraft.aircraftsMargin.pricingStructure === 'plus' || aircraft.aircraftsAVGASMargin.pricingStructure === 'plus' " style="color: green;">+${{aircraft.marginValue}} | 395 | <span ng-if="aircraft.aircraftsMargin.pricingStructure === 'plus' || aircraft.aircraftsAVGASMargin.pricingStructure === 'plus' " style="color: green;">+${{aircraft.marginValue}} |
396 | </span> | 396 | </span> |
397 | </td> | 397 | </td> |
398 | <td> | 398 | <td> |
399 | <!-- <td ng-show="abc && aircraft.fuelType=='Jet-A'" style="color:#55AF8B;">${{aircraft.marginAllIn | number : 4}}</td> | 399 | <!-- <td ng-show="abc && aircraft.fuelType=='Jet-A'" style="color:#55AF8B;">${{aircraft.marginAllIn | number : 4}}</td> |
400 | <td ng-show="xyz && aircraft.fuelType=='100LL'" style="color:#55AF8B;">${{aircraft.marginAvgasAllIn | number : 4}}</td> --> | 400 | <td ng-show="xyz && aircraft.fuelType=='100LL'" style="color:#55AF8B;">${{aircraft.marginAvgasAllIn | number : 4}}</td> --> |
401 | 401 | ||
402 | <label id="l1" ng-show="abc && aircraft.fuelType=='Jet-A'" style="color:#55AF8B;">${{aircraft.marginAllIn | number : 4}}</label> | 402 | <label id="l1" ng-show="abc && aircraft.fuelType=='Jet-A'" style="color:#55AF8B;">${{aircraft.marginAllIn | number : 4}}</label> |
403 | <label id="l2" ng-show="xyz && aircraft.fuelType=='100LL'" style="color:#55AF8B;">${{aircraft.marginAvgasAllIn | number : 4}}</label> | 403 | <label id="l2" ng-show="xyz && aircraft.fuelType=='100LL'" style="color:#55AF8B;">${{aircraft.marginAvgasAllIn | number : 4}}</label> |
404 | </td> | 404 | </td> |
405 | <td> | 405 | <td> |
406 | <i class="fa fa-trash-o deleteTierIcon" ng-if="!aircraft.global" ng-click="deleteAircraft(aircraft.id)" aria-hidden="true"></i> | 406 | <i class="fa fa-trash-o deleteTierIcon" ng-if="!aircraft.global" ng-click="deleteAircraft(aircraft.id)" aria-hidden="true"></i> |
407 | </td> | 407 | </td> |
408 | </tr> | 408 | </tr> |
409 | </tbody> | 409 | </tbody> |
410 | </table> | 410 | </table> |
411 | <table class="table table-bordered table-hover table-striped" ng-show="fboPreffered"> | 411 | <table class="table table-bordered table-hover table-striped" ng-show="fboPreffered"> |
412 | <thead> | 412 | <thead> |
413 | <tr> | 413 | <tr> |
414 | <th>Tail #</th> | 414 | <th>Tail #</th> |
415 | <th>Make</th> | 415 | <th>Make</th> |
416 | <th>Model</th> | 416 | <th>Model</th> |
417 | <th>Fuel Type</th> | 417 | <th>Fuel Type</th> |
418 | <th>Margin</th> | 418 | <th>Margin</th> |
419 | <th>Value</th> | 419 | <th>Value</th> |
420 | <th>All In</th> | 420 | <th>All In</th> |
421 | <!-- <th>AVGAS</th> --> | 421 | <!-- <th>AVGAS</th> --> |
422 | <!-- <th>All In</th> --> | 422 | <!-- <th>All In</th> --> |
423 | <th></th> | 423 | <th></th> |
424 | </tr> | 424 | </tr> |
425 | </thead> | 425 | </thead> |
426 | <tbody> | 426 | <tbody> |
427 | <tr ng-repeat="aircraft in contactAircraftList"> | 427 | <tr ng-repeat="aircraft in contactAircraftList"> |
428 | <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.tail}}</td> | 428 | <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.tail}}</td> |
429 | <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.make}}</td> | 429 | <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.make}}</td> |
430 | <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.model}}</td> | 430 | <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.model}}</td> |
431 | <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.fuelType}}</td> | 431 | <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.fuelType}}</td> |
432 | <td> | 432 | <td> |
433 | <select ng-show="abc && aircraft.fuelType=='Jet-A'" class="form-control" style="height:31px;" ng-model="aircraft.aircraftsMargin.id" ng-change="editJetMargin(aircraft,'jet')" ng-options="margin.id as margin.marginName for margin in jetMarginList" required> | 433 | <select ng-show="abc && aircraft.fuelType=='Jet-A'" class="form-control" style="height:31px;" ng-model="aircraft.aircraftsMargin.id" ng-change="editJetMargin(aircraft,'jet')" ng-options="margin.id as margin.marginName for margin in jetMarginList" required> |
434 | <option value="">N/A</option> | 434 | <option value="">N/A</option> |
435 | </select> | 435 | </select> |
436 | <!-- </td> | 436 | <!-- </td> |
437 | <td> --> | 437 | <td> --> |
438 | <select ng-show ="xyz && aircraft.fuelType=='100LL'" class="form-control" style="height:31px;" ng-model="aircraft.aircraftsAVGASMargin.id" ng-change="editJetMargin(aircraft,'avgas')"> | 438 | <select ng-show ="xyz && aircraft.fuelType=='100LL'" class="form-control" style="height:31px;" ng-model="aircraft.aircraftsAVGASMargin.id" ng-change="editJetMargin(aircraft,'avgas')"> |
439 | <option value="">N/A</option> | 439 | <option value="">N/A</option> |
440 | <option ng-repeat="margin in avgsMarginList" value="{{margin.id}}">{{margin.marginName}}</option> | 440 | <option ng-repeat="margin in avgsMarginList" value="{{margin.id}}">{{margin.marginName}}</option> |
441 | </select> | 441 | </select> |
442 | </td> | 442 | </td> |
443 | <td ng-style="aircraft.global"> | 443 | <td ng-style="aircraft.global"> |
444 | <span ng-if="aircraft.aircraftsMargin.pricingStructure === 'equal' || aircraft.aircraftsAVGASMargin.pricingStructure === 'equal' "> | 444 | <span ng-if="aircraft.aircraftsMargin.pricingStructure === 'equal' || aircraft.aircraftsAVGASMargin.pricingStructure === 'equal' "> |
445 | =${{aircraft.marginValue}} | 445 | =${{aircraft.marginValue}} |
446 | </span> | 446 | </span> |
447 | <span ng-if="aircraft.aircraftsMargin.pricingStructure === 'minus' || aircraft.aircraftsAVGASMargin.pricingStructure === 'minus'" style="color: #ff0000;">-${{aircraft.marginValue}} | 447 | <span ng-if="aircraft.aircraftsMargin.pricingStructure === 'minus' || aircraft.aircraftsAVGASMargin.pricingStructure === 'minus'" style="color: #ff0000;">-${{aircraft.marginValue}} |
448 | </span> | 448 | </span> |
449 | <span ng-if="aircraft.aircraftsMargin.pricingStructure === 'plus' || aircraft.aircraftsAVGASMargin.pricingStructure === 'plus' " style="color: green;">+${{aircraft.marginValue}} | 449 | <span ng-if="aircraft.aircraftsMargin.pricingStructure === 'plus' || aircraft.aircraftsAVGASMargin.pricingStructure === 'plus' " style="color: green;">+${{aircraft.marginValue}} |
450 | </span> | 450 | </span> |
451 | </td> | 451 | </td> |
452 | <td> | 452 | <td> |
453 | <!-- <td ng-show="abc && aircraft.fuelType=='Jet-A'" style="color:#55AF8B;">${{aircraft.marginAllIn | number : 4}}</td> | 453 | <!-- <td ng-show="abc && aircraft.fuelType=='Jet-A'" style="color:#55AF8B;">${{aircraft.marginAllIn | number : 4}}</td> |
454 | <td ng-show="xyz && aircraft.fuelType=='100LL'" style="color:#55AF8B;">${{aircraft.marginAvgasAllIn | number : 4}}</td> --> | 454 | <td ng-show="xyz && aircraft.fuelType=='100LL'" style="color:#55AF8B;">${{aircraft.marginAvgasAllIn | number : 4}}</td> --> |
455 | 455 | ||
456 | <label id="l1" ng-show="abc && aircraft.fuelType=='Jet-A'" style="color:#55AF8B;">${{aircraft.marginAllIn | number : 4}}</label> | 456 | <label id="l1" ng-show="abc && aircraft.fuelType=='Jet-A'" style="color:#55AF8B;">${{aircraft.marginAllIn | number : 4}}</label> |
457 | <label id="l2" ng-show="xyz && aircraft.fuelType=='100LL'" style="color:#55AF8B;">${{aircraft.marginAvgasAllIn | number : 4}}</label> | 457 | <label id="l2" ng-show="xyz && aircraft.fuelType=='100LL'" style="color:#55AF8B;">${{aircraft.marginAvgasAllIn | number : 4}}</label> |
458 | </td> | 458 | </td> |
459 | <td> | 459 | <td> |
460 | <i class="fa fa-lock" aria-hidden="true" style="font-size:24px"></i> | 460 | <i class="fa fa-lock" aria-hidden="true" style="font-size:24px"></i> |
461 | </td> | 461 | </td> |
462 | </tr> | 462 | </tr> |
463 | </tbody> | 463 | </tbody> |
464 | </table> | 464 | </table> |
465 | </div> | 465 | </div> |
466 | </div> | 466 | </div> |
467 | </div> | 467 | </div> |
468 | </div> | 468 | </div> |
469 | </div> | 469 | </div> |
470 | <div class="row" style="margin-left:0px"> | 470 | <div class="row" style="margin-left:0px"> |
471 | <div class="col-md-6"> | 471 | <div class="col-md-6"> |
472 | <div class="widget"> | 472 | <div class="widget"> |
473 | <div class="widget-header"> | 473 | <div class="widget-header"> |
474 | <i class="fa fa-user"></i> | 474 | <i class="fa fa-user"></i> |
475 | <h3>Contact List</h3> | 475 | <h3>Contact List</h3> |
476 | <div class="pull-right"> | 476 | <div class="pull-right"> |
477 | <button type="submit" data-toggle="modal" data-target="#contact-modal-3" class="btn btn-success btn-sm" style="margin-top: 4px; margin-right: 9px;"><i class="fa fa-plus" aria-hidden="true"></i> Add Contact</button> | 477 | <button type="submit" data-toggle="modal" data-target="#contact-modal-3" class="btn btn-success btn-sm" style="margin-top: 4px; margin-right: 9px;"><i class="fa fa-plus" aria-hidden="true"></i> Add Contact</button> |
478 | </div> | 478 | </div> |
479 | </div> | 479 | </div> |
480 | <div class="widget-content" style="padding:0px"> | 480 | <div class="widget-content" style="padding:0px"> |
481 | <div class="table-responsive"> | 481 | <div class="table-responsive"> |
482 | <table class="table table-bordered table-hover table-striped"> | 482 | <table class="table table-bordered table-hover table-striped"> |
483 | <thead> | 483 | <thead> |
484 | <tr> | 484 | <tr> |
485 | <th>Price Email</th> | 485 | <th>Price Email</th> |
486 | <th>First Name</th> | 486 | <th>First Name</th> |
487 | <th>Last Name</th> | 487 | <th>Last Name</th> |
488 | <th>Title</th> | 488 | <th>Title</th> |
489 | </tr> | 489 | </tr> |
490 | </thead> | 490 | </thead> |
491 | <tbody> | 491 | <tbody> |
492 | <tr ng-repeat="contact in companyContactList" style="cursor: pointer;" ui-sref="app.viewContact({id : contact.id})"> | 492 | <tr ng-repeat="contact in companyContactList" style="cursor: pointer;" ui-sref="app.viewContact({id : contact.id})"> |
493 | <td><toggle ng-model="contact.priceEmail" ng-change="changePriceEmail(contact.id, $index)" size="customToogle"></toggle></td> | 493 | <td><toggle ng-model="contact.priceEmail" ng-change="changePriceEmail(contact.id, $index)" size="customToogle"></toggle></td> |
494 | <td> | 494 | <td> |
495 | {{contact.firstName}} | 495 | {{contact.firstName}} |
496 | </td> | 496 | </td> |
497 | <td>{{contact.lastName}}</td> | 497 | <td>{{contact.lastName}}</td> |
498 | <td>{{contact.title}}</td> | 498 | <td>{{contact.title}}</td> |
499 | </tr> | 499 | </tr> |
500 | </tbody> | 500 | </tbody> |
501 | </table> | 501 | </table> |
502 | </div> | 502 | </div> |
503 | </div> | 503 | </div> |
504 | </div> | 504 | </div> |
505 | </div> | 505 | </div> |
506 | <div class="col-md-6"> | 506 | <div class="col-md-6"> |
507 | <div class="widget"> | 507 | <div class="widget"> |
508 | <div class="widget-header"> | 508 | <div class="widget-header"> |
509 | <i class="fa fa-pencil"></i> | 509 | <i class="fa fa-pencil"></i> |
510 | <h3>Price Manager Reference</h3> | 510 | <h3>Price Manager Reference</h3> |
511 | </div> | 511 | </div> |
512 | <div class="widget-content"> | 512 | <div class="widget-content"> |
513 | <div class="table-responsive"> | 513 | <div class="table-responsive"> |
514 | <table class="table table-striped strikeTable" style="position: relative; margin-bottom: 0;"> | 514 | <table class="table table-striped strikeTable" style="position: relative; margin-bottom: 0;"> |
515 | <!-- <table class="table table-striped" style="position: relative; margin-bottom: 0;"> --> | 515 | <!-- <table class="table table-striped" style="position: relative; margin-bottom: 0;"> --> |
516 | <thead> | 516 | <thead> |
517 | <tr> | 517 | <tr> |
518 | <th>Omit</th> | 518 | <th>Omit</th> |
519 | <th>Product</th> | 519 | <th>Product</th> |
520 | <th>Cost</th> | 520 | <th>Cost</th> |
521 | <th>PAP (Margin)</th> | 521 | <th>PAP (Margin)</th> |
522 | <th>PAP (Total)</th> | 522 | <th>PAP (Total)</th> |
523 | <th style="color:#F90">Expires</th> | 523 | <th style="color:#F90">Expires</th> |
524 | </tr> | 524 | </tr> |
525 | </thead> | 525 | </thead> |
526 | <tbody> | 526 | <tbody> |
527 | <tr ng-repeat="fuel in fuelPricing | orderBy:'name' : 'reverse' | filter:{ status: true }" ng-class="fuel.fuelPricing.omit ? 'strikeout' : ''"> | 527 | <tr ng-repeat="fuel in fuelPricing | orderBy:'name' : 'reverse' | filter:{ status: true }" ng-class="fuel.fuelPricing.omit ? 'strikeout' : 'null'"> |
528 | <!-- <tr ng-repeat="fuel in fuelPricing | orderBy:'name' : 'reverse' | filter:{ status: true }"> --> | 528 | <!-- <tr ng-repeat="fuel in fuelPricing | orderBy:'name' : 'reverse' | filter:{ status: true }"> --> |
529 | <td><input type="checkbox" ng-model="fuel.fuelPricing.omit" ng-change="updateOmit(fuel.fuelPricing, fuel.status)">{{fuel.fuelPricing.omit}}</td> | 529 | <td><input type="checkbox" ng-model="fuel.fuelPricing.omit" ng-change="updateOmit(fuel.fuelPricing, fuel.status)">{{fuel.fuelPricing.omit}}</td> |
530 | <td>{{fuel.name}}</td> | 530 | <td>{{fuel.name}}</td> |
531 | <td>${{fuel.fuelPricing.cost | number :4}}</td> | 531 | <td>${{fuel.fuelPricing.cost | number :4}}</td> |
532 | <td>${{fuel.fuelPricing.papMargin | number :4}}</td> | 532 | <td>${{fuel.fuelPricing.papMargin | number :4}}</td> |
533 | <td style="color:#55AF8B;">${{fuel.fuelPricing.papTotal | number :4}}</td> | 533 | <td style="color:#55AF8B;">${{fuel.fuelPricing.papTotal | number :4}}</td> |
534 | <td style="color:#F90">{{fuel.fuelPricing.expirationDate | date : "MM/dd/y" }}</td> | 534 | <td style="color:#F90">{{fuel.fuelPricing.expirationDate | date : "MM/dd/y" }}</td> |
535 | </tr> | 535 | </tr> |
536 | 536 | ||
537 | </tbody> | 537 | </tbody> |
538 | </table> | 538 | </table> |
539 | </div> | 539 | </div> |
540 | </div> | 540 | </div> |
541 | </div> | 541 | </div> |
542 | </div> | 542 | </div> |
543 | </div> | 543 | </div> |
544 | </div> | 544 | </div> |
545 | <!-- /widget-content --> | 545 | <!-- /widget-content --> |
546 | </div> | 546 | </div> |
547 | <!-- /widget --> | 547 | <!-- /widget --> |
548 | </div> | 548 | </div> |
549 | <!-- /span6 --> | 549 | <!-- /span6 --> |
550 | </div> | 550 | </div> |
551 | <!-- /widget --> | 551 | <!-- /widget --> |
552 | </div> | 552 | </div> |
553 | <!-- /container --> | 553 | <!-- /container --> |
554 | <form class="modal multi-step" id="contact-modal-3" name="companyForm"> | 554 | <form class="modal multi-step" id="contact-modal-3" name="companyForm"> |
555 | <div class="modal-dialog modal-lg"> | 555 | <div class="modal-dialog modal-lg"> |
556 | <div class="modal-content"> | 556 | <div class="modal-content"> |
557 | <div class="modal-body step-1" data-step="1" style="padding: 0;"> | 557 | <div class="modal-body step-1" data-step="1" style="padding: 0;"> |
558 | <div> | 558 | <div> |
559 | <div class="row" style="margin: 0;"> | 559 | <div class="row" style="margin: 0;"> |
560 | <div> | 560 | <div> |
561 | <div class="widget" style="margin-bottom: 0; box-shadow: none;"> | 561 | <div class="widget" style="margin-bottom: 0; box-shadow: none;"> |
562 | <div class="widget-header"> | 562 | <div class="widget-header"> |
563 | <i class="icon-pencil"></i> | 563 | <i class="icon-pencil"></i> |
564 | <i class="fa fa-tasks" aria-hidden="true"></i> | 564 | <i class="fa fa-tasks" aria-hidden="true"></i> |
565 | <h3>Add a New Contact</h3> | 565 | <h3>Add a New Contact</h3> |
566 | <div class="clearfix"></div> | 566 | <div class="clearfix"></div> |
567 | </div> | 567 | </div> |
568 | <div class="widget-content" style="padding-left: 0; padding-right: 0; border-bottom: 0;"> | 568 | <div class="widget-content" style="padding-left: 0; padding-right: 0; border-bottom: 0;"> |
569 | <div class="col-xs-12"> | 569 | <div class="col-xs-12"> |
570 | <div class="col-md-6"> | 570 | <div class="col-md-6"> |
571 | <div class="pull-left" style="width: 110px;"> | 571 | <div class="pull-left" style="width: 110px;"> |
572 | <label class="new-input-label"><b>First Name</b></label> | 572 | <label class="new-input-label"><b>First Name</b></label> |
573 | </div> | 573 | </div> |
574 | <div class="pull-left" style="margin-left: 15px;"> | 574 | <div class="pull-left" style="margin-left: 15px;"> |
575 | <input type="tel" ng-model="data.firstName" class="form-control" placeholder=""> | 575 | <input type="tel" ng-model="data.firstName" class="form-control" placeholder=""> |
576 | </div> | 576 | </div> |
577 | <div class="clearfix"></div> | 577 | <div class="clearfix"></div> |
578 | </div> | 578 | </div> |
579 | <div class="col-md-6"> | 579 | <div class="col-md-6"> |
580 | 580 | ||
581 | <div class="pull-left" style="width: 110px;"> | 581 | <div class="pull-left" style="width: 110px;"> |
582 | <label class="new-input-label"><b>Last Name</b></label> | 582 | <label class="new-input-label"><b>Last Name</b></label> |
583 | </div> | 583 | </div> |
584 | <div class="pull-left" style="margin-left: 15px;"> | 584 | <div class="pull-left" style="margin-left: 15px;"> |
585 | <input type="tel" ng-model="data.lastName" class="form-control" id="Address" placeholder=""> | 585 | <input type="tel" ng-model="data.lastName" class="form-control" id="Address" placeholder=""> |
586 | </div> | 586 | </div> |
587 | <div class="clearfix"></div> | 587 | <div class="clearfix"></div> |
588 | </div> | 588 | </div> |
589 | </div> | 589 | </div> |
590 | <div class="clearfix"></div><br> | 590 | <div class="clearfix"></div><br> |
591 | <div class="col-xs-12"> | 591 | <div class="col-xs-12"> |
592 | <div class="col-md-6"> | 592 | <div class="col-md-6"> |
593 | <div class="pull-left" style="width: 110px;"> | 593 | <div class="pull-left" style="width: 110px;"> |
594 | <label class="new-input-label"><b>Title</b></label> | 594 | <label class="new-input-label"><b>Title</b></label> |
595 | </div> | 595 | </div> |
596 | <div class="pull-left" style="margin-left: 15px;"> | 596 | <div class="pull-left" style="margin-left: 15px;"> |
597 | <input type="tel" ng-model="data.title" class="form-control" id="Address" placeholder=""> | 597 | <input type="tel" ng-model="data.title" class="form-control" id="Address" placeholder=""> |
598 | </div> | 598 | </div> |
599 | <div class="clearfix"></div> | 599 | <div class="clearfix"></div> |
600 | </div> | 600 | </div> |
601 | <div class="col-md-6"> | 601 | <div class="col-md-6"> |
602 | 602 | ||
603 | <div class="pull-left" style="width: 110px;"> | 603 | <div class="pull-left" style="width: 110px;"> |
604 | <label class="new-input-label"><b>Email</b></label> | 604 | <label class="new-input-label"><b>Email</b></label> |
605 | </div> | 605 | </div> |
606 | <div class="pull-left" style="margin-left: 15px;"> | 606 | <div class="pull-left" style="margin-left: 15px;"> |
607 | <input type="email" ng-model="data.email" class="form-control" id="Address" placeholder=""> | 607 | <input type="email" ng-model="data.email" class="form-control" id="Address" placeholder=""> |
608 | </div> | 608 | </div> |
609 | <div class="clearfix"></div> | 609 | <div class="clearfix"></div> |
610 | </div> | 610 | </div> |
611 | </div> | 611 | </div> |
612 | <div class="clearfix"></div><br> | 612 | <div class="clearfix"></div><br> |
613 | <div class="col-xs-12"> | 613 | <div class="col-xs-12"> |
614 | <div class="col-md-6"> | 614 | <div class="col-md-6"> |
615 | <div class="pull-left" style="width: 110px;"> | 615 | <div class="pull-left" style="width: 110px;"> |
616 | <label class="new-input-label"><b>Username</b></label> | 616 | <label class="new-input-label"><b>Username</b></label> |
617 | </div> | 617 | </div> |
618 | <div class="pull-left" style="margin-left: 15px;"> | 618 | <div class="pull-left" style="margin-left: 15px;"> |
619 | <input type="tel" ng-model="data.userName" class="form-control" id="Address" placeholder=""> | 619 | <input type="tel" ng-model="data.userName" class="form-control" id="Address" placeholder=""> |
620 | </div> | 620 | </div> |
621 | <div class="clearfix"></div> | 621 | <div class="clearfix"></div> |
622 | </div> | 622 | </div> |
623 | <div class="col-md-6"> | 623 | <div class="col-md-6"> |
624 | 624 | ||
625 | <div class="pull-left" style="width: 110px;"> | 625 | <div class="pull-left" style="width: 110px;"> |
626 | <label class="new-input-label"><b>Password</b></label> | 626 | <label class="new-input-label"><b>Password</b></label> |
627 | </div> | 627 | </div> |
628 | <div class="pull-left" style="margin-left: 15px;"> | 628 | <div class="pull-left" style="margin-left: 15px;"> |
629 | <input type="password" ng-model="data.password" class="form-control" id="Address" placeholder=""> | 629 | <input type="password" ng-model="data.password" class="form-control" id="Address" placeholder=""> |
630 | </div> | 630 | </div> |
631 | <div class="clearfix"></div> | 631 | <div class="clearfix"></div> |
632 | </div> | 632 | </div> |
633 | </div> | 633 | </div> |
634 | <div class="clearfix"></div><br> | 634 | <div class="clearfix"></div><br> |
635 | <div class="col-xs-12"> | 635 | <div class="col-xs-12"> |
636 | <div class="col-md-6"> | 636 | <div class="col-md-6"> |
637 | <div class="pull-left" style="width: 110px;"> | 637 | <div class="pull-left" style="width: 110px;"> |
638 | <label class="new-input-label"><b>Work Phone</b></label> | 638 | <label class="new-input-label"><b>Work Phone</b></label> |
639 | </div> | 639 | </div> |
640 | <div class="pull-left" style="margin-left: 15px;"> | 640 | <div class="pull-left" style="margin-left: 15px;"> |
641 | <input type="tel" ng-model="data.workPhone" class="form-control" id="Address" placeholder=""> | 641 | <input type="tel" ng-model="data.workPhone" class="form-control" id="Address" placeholder=""> |
642 | </div> | 642 | </div> |
643 | <div class="clearfix"></div> | 643 | <div class="clearfix"></div> |
644 | </div> | 644 | </div> |
645 | <div class="col-md-6"> | 645 | <div class="col-md-6"> |
646 | 646 | ||
647 | <div class="pull-left" style="width: 110px;"> | 647 | <div class="pull-left" style="width: 110px;"> |
648 | <label class="new-input-label"><b>Mobile Phone</b></label> | 648 | <label class="new-input-label"><b>Mobile Phone</b></label> |
649 | </div> | 649 | </div> |
650 | <div class="pull-left" style="margin-left: 15px;"> | 650 | <div class="pull-left" style="margin-left: 15px;"> |
651 | <input type="tel" ng-model="data.mobilePhone" class="form-control" id="Address" placeholder=""> | 651 | <input type="tel" ng-model="data.mobilePhone" class="form-control" id="Address" placeholder=""> |
652 | </div> | 652 | </div> |
653 | <div class="clearfix"></div> | 653 | <div class="clearfix"></div> |
654 | </div> | 654 | </div> |
655 | </div> | 655 | </div> |
656 | <div class="clearfix"></div><br> | 656 | <div class="clearfix"></div><br> |
657 | <!-- <div class="col-xs-12"> | 657 | <!-- <div class="col-xs-12"> |
658 | <div class="col-md-12"> | 658 | <div class="col-md-12"> |
659 | <div class="pull-left" style="width: 110px;"> | 659 | <div class="pull-left" style="width: 110px;"> |
660 | <label class="new-input-label"><b>Address</b></label> | 660 | <label class="new-input-label"><b>Address</b></label> |
661 | </div> | 661 | </div> |
662 | <div class="pull-right" style="width: calc(100% - 123px);"> | 662 | <div class="pull-right" style="width: calc(100% - 123px);"> |
663 | <input type="tel" class="form-control" ng-model="data.address" id="Address" placeholder=""> | 663 | <input type="tel" class="form-control" ng-model="data.address" id="Address" placeholder=""> |
664 | </div> | 664 | </div> |
665 | <div class="clearfix"></div> | 665 | <div class="clearfix"></div> |
666 | </div> | 666 | </div> |
667 | </div> | 667 | </div> |
668 | <div class="clearfix"></div> --> | 668 | <div class="clearfix"></div> --> |
669 | <br/> | 669 | <br/> |
670 | <div class="col-xs-12"> | 670 | <div class="col-xs-12"> |
671 | <div class="col-md-3"> | 671 | <div class="col-md-3"> |
672 | <div class="pull-left my-toggle-switch"> | 672 | <div class="pull-left my-toggle-switch"> |
673 | <div style="color: #ff9a01;">Price Email     | 673 | <div style="color: #ff9a01;">Price Email     |
674 | <toggle ng-model="data.priceEmail" size="customToogle"></toggle> | 674 | <toggle ng-model="data.priceEmail" size="customToogle"></toggle> |
675 | </div> | 675 | </div> |
676 | </div> | 676 | </div> |
677 | <div class="clearfix"></div> | 677 | <div class="clearfix"></div> |
678 | </div> | 678 | </div> |
679 | <div class="col-md-3"> | 679 | <div class="col-md-3"> |
680 | <div class="pull-left my-toggle-switch"> | 680 | <div class="pull-left my-toggle-switch"> |
681 | <div style="color: #ff9a01;">Primary Contact     | 681 | <div style="color: #ff9a01;">Primary Contact     |
682 | <input type="checkbox" ng-click="checkPrimaryContact()" ng-model="primaryContact"> | 682 | <input type="checkbox" ng-click="checkPrimaryContact()" ng-model="primaryContact"> |
683 | </div> | 683 | </div> |
684 | </div> | 684 | </div> |
685 | <div class="clearfix"></div> | 685 | <div class="clearfix"></div> |
686 | </div> | 686 | </div> |
687 | <div class="col-md-6"> | 687 | <div class="col-md-6"> |
688 | <div class="pull-left" style="width: 110px;"> | 688 | <div class="pull-left" style="width: 110px;"> |
689 | <label class="new-input-label"><b>Internal Note</b></label> | 689 | <label class="new-input-label"><b>Internal Note</b></label> |
690 | </div> | 690 | </div> |
691 | <div class="pull-left" style="width: calc(100% - 110px);"> | 691 | <div class="pull-left" style="width: calc(100% - 110px);"> |
692 | <textarea name="message" ng-model="data.note" rows="4" cols="34"></textarea> | 692 | <textarea name="message" ng-model="data.note" rows="4" cols="34"></textarea> |
693 | </div> | 693 | </div> |
694 | </div> | 694 | </div> |
695 | <div class="clearfix"></div> | 695 | <div class="clearfix"></div> |
696 | </div> | 696 | </div> |
697 | <div class="clearfix"></div><br> | 697 | <div class="clearfix"></div><br> |
698 | </div> | 698 | </div> |
699 | </div> | 699 | </div> |
700 | <div class="clearfix"></div> | 700 | <div class="clearfix"></div> |
701 | </div> | 701 | </div> |
702 | </div> | 702 | </div> |
703 | </div> | 703 | </div> |
704 | </div> | 704 | </div> |
705 | <div class="modal-footer" style="border-top: 0;"> | 705 | <div class="modal-footer" style="border-top: 0;"> |
706 | <button type="button" class="btn btn-default" id="reset" data-dismiss="modal">Cancel</button> | 706 | <button type="button" class="btn btn-default" id="reset" data-dismiss="modal">Cancel</button> |
707 | <button type="button" class="btn btn-primary step step-1" data-step="1" ng-click="addContact()">Save</button> | 707 | <button type="button" class="btn btn-primary step step-1" data-step="1" ng-click="addContact()">Save</button> |
708 | </div> | 708 | </div> |
709 | </div> | 709 | </div> |
710 | </div> | 710 | </div> |
711 | </form> | 711 | </form> |
712 | <div class="clearfix"></div> | 712 | <div class="clearfix"></div> |
713 | 713 | ||
714 | <!-- SetUp fuel order --> | 714 | <!-- SetUp fuel order --> |
715 | <form class="modal" id="demo-modal-4" name="orderform"> | 715 | <form class="modal" id="demo-modal-4" name="orderform"> |
716 | <div class="modal-dialog modal-md"> | 716 | <div class="modal-dialog modal-md"> |
717 | <div class="modal-content"> | 717 | <div class="modal-content"> |
718 | <div class="modal-body" data-step="1" style="padding: 0;"> | 718 | <div class="modal-body" data-step="1" style="padding: 0;"> |
719 | <div> | 719 | <div> |
720 | <div class="row" style="margin: 0;"> | 720 | <div class="row" style="margin: 0;"> |
721 | <div> | 721 | <div> |
722 | <div class="widget" style="margin-bottom: 0;box-shadow: none;"> | 722 | <div class="widget" style="margin-bottom: 0;box-shadow: none;"> |
723 | <div class="widget-header"> | 723 | <div class="widget-header"> |
724 | <i class="icon-pencil"></i> | 724 | <i class="icon-pencil"></i> |
725 | <i class="fa fa-tasks" aria-hidden="true"></i> | 725 | <i class="fa fa-tasks" aria-hidden="true"></i> |
726 | <h3>Search and Dispatch Fuel</h3> | 726 | <h3>Search and Dispatch Fuel</h3> |
727 | <div class="clearfix"></div> | 727 | <div class="clearfix"></div> |
728 | </div> | 728 | </div> |
729 | <div class="widget-content" style="padding-left: 0; padding-right: 0; border-bottom: 0;"> | 729 | <div class="widget-content" style="padding-left: 0; padding-right: 0; border-bottom: 0;"> |
730 | <div class="col-xs-12"> | 730 | <div class="col-xs-12"> |
731 | <div class="col-xs-12"> | 731 | <div class="col-xs-12"> |
732 | <div class="pull-left" style="width: 110px;"> | 732 | <div class="pull-left" style="width: 110px;"> |
733 | <label class="new-input-label"><b>Company</b></label> | 733 | <label class="new-input-label"><b>Company</b></label> |
734 | </div> | 734 | </div> |
735 | <div class="pull-left" style="width: calc(100% - 110px);"> | 735 | <div class="pull-left" style="width: calc(100% - 110px);"> |
736 | <input type="text" disabled ng-model="order.companyName" class="form-control" value="{{order.companyName}}" /> | 736 | <input type="text" disabled ng-model="order.companyName" class="form-control" value="{{order.companyName}}" /> |
737 | </div> | 737 | </div> |
738 | <div class="clearfix"></div> | 738 | <div class="clearfix"></div> |
739 | </div> | 739 | </div> |
740 | <div class="clearfix"></div> | 740 | <div class="clearfix"></div> |
741 | <br> | 741 | <br> |
742 | <div class="col-xs-12"> | 742 | <div class="col-xs-12"> |
743 | <div class="col-md-6"> | 743 | <div class="col-md-6"> |
744 | <div class="pull-left" style="width: 110px;"> | 744 | <div class="pull-left" style="width: 110px;"> |
745 | <label class="new-input-label"><b>Aircraft</b></label> | 745 | <label class="new-input-label"><b>Aircraft</b></label> |
746 | </div> | 746 | </div> |
747 | <div class="pull-left" style="width: calc(100% - 110px);"> | 747 | <div class="pull-left" style="width: calc(100% - 110px);"> |
748 | <select class="form-control" ng-model="order.aircraftName" required> | 748 | <select class="form-control" ng-model="order.aircraftName" required> |
749 | <option selected disabled value="">Select Aircraft</option> | 749 | <option selected disabled value="">Select Aircraft</option> |
750 | <option ng-repeat="list in aircraftList" value="{{list}}">{{list.tail}}</option> | 750 | <option ng-repeat="list in aircraftList" value="{{list}}">{{list.tail}}</option> |
751 | </select> | 751 | </select> |
752 | </div> | 752 | </div> |
753 | <div class="clearfix"></div> | 753 | <div class="clearfix"></div> |
754 | </div> | 754 | </div> |
755 | <div class="col-md-6"> | 755 | <div class="col-md-6"> |
756 | <div class="pull-left" style="width: 110px;"> | 756 | <div class="pull-left" style="width: 110px;"> |
757 | <label class="new-input-label"><b>Requested Volume</b></label> | 757 | <label class="new-input-label"><b>Requested Volume</b></label> |
758 | </div> | 758 | </div> |
759 | <div class="pull-left" style="width: calc(100% - 110px);"> | 759 | <div class="pull-left" style="width: calc(100% - 110px);"> |
760 | <input type="text" ng-model="order.volume" class="form-control" required> | 760 | <input type="text" ng-model="order.volume" class="form-control" required> |
761 | </div> | 761 | </div> |
762 | <div class="clearfix"></div> | 762 | <div class="clearfix"></div> |
763 | </div> | 763 | </div> |
764 | </div> | 764 | </div> |
765 | <div class="clearfix"></div> | 765 | <div class="clearfix"></div> |
766 | <br/> | 766 | <br/> |
767 | <div class="col-xs-12"> | 767 | <div class="col-xs-12"> |
768 | <div class="pull-left" style="width: 110px;"> | 768 | <div class="pull-left" style="width: 110px;"> |
769 | <label class="new-input-label"><b>Price Quote</b></label> | 769 | <label class="new-input-label"><b>Price Quote</b></label> |
770 | </div> | 770 | </div> |
771 | <div class="pull-left" style="width: calc(100% - 110px);"> | 771 | <div class="pull-left" style="width: calc(100% - 110px);"> |
772 | <select class="form-control" ng-model="order.priceQuote" ng-change="setCost(order.priceQuote); tiervalue()" required> | 772 | <select class="form-control" ng-model="order.priceQuote" ng-change="setCost(order.priceQuote); tiervalue()" required> |
773 | <option value="" selected disabled>Select Price Quote</option> | 773 | <option value="" selected disabled>Select Price Quote</option> |
774 | <option ng-repeat="margin in marginList" value="{{margin}}">${{margin.papTotal | number : 2}} {{margin.productName}}</option> | 774 | <option ng-repeat="margin in marginList" value="{{margin}}">${{margin.papTotal | number : 2}} {{margin.productName}}</option> |
775 | </select> | 775 | </select> |
776 | </div> | 776 | </div> |
777 | <div class="clearfix"></div> | 777 | <div class="clearfix"></div> |
778 | </div> | 778 | </div> |
779 | <div class="clearfix"></div> | 779 | <div class="clearfix"></div> |
780 | <br/> | 780 | <br/> |
781 | <div class="col-xs-12"> | 781 | <div class="col-xs-12"> |
782 | <div class="pull-left" style="width: 110px;"> | 782 | <div class="pull-left" style="width: 110px;"> |
783 | <label class="new-input-label"><b>Tier Break</b></label> | 783 | <label class="new-input-label"><b>Tier Break</b></label> |
784 | </div> | 784 | </div> |
785 | <div class="pull-left" style="width: calc(100% - 110px);"> | 785 | <div class="pull-left" style="width: calc(100% - 110px);"> |
786 | <select class="form-control" ng-model="order.tierBreak"> | 786 | <select class="form-control" ng-model="order.tierBreak"> |
787 | <option value="" selected disabled>Select Tier Break</option> | 787 | <option value="" selected disabled>Select Tier Break</option> |
788 | <option ng-repeat="list in tierList" value="{{list.minTierBreak}}-{{list.maxTierBreak}}"> | 788 | <option ng-repeat="list in tierList" value="{{list.minTierBreak}}-{{list.maxTierBreak}}"> |
789 | {{list.minTierBreak}}-{{list.maxTierBreak}} = ${{list.marginTotal | number: 2}} {{list.marginTemplate.marginName}} | 789 | {{list.minTierBreak}}-{{list.maxTierBreak}} = ${{list.marginTotal | number: 2}} {{list.marginTemplate.marginName}} |
790 | </option> | 790 | </option> |
791 | </select> | 791 | </select> |
792 | </div> | 792 | </div> |
793 | <div class="clearfix"></div> | 793 | <div class="clearfix"></div> |
794 | </div> | 794 | </div> |
795 | <div class="clearfix"></div> | 795 | <div class="clearfix"></div> |
796 | <br/> | 796 | <br/> |
797 | <div class="col-xs-12"> | 797 | <div class="col-xs-12"> |
798 | <div class="pull-left" style="width: 110px;"> | 798 | <div class="pull-left" style="width: 110px;"> |
799 | <label class="new-input-label"><b>Uplift Date</b></label> | 799 | <label class="new-input-label"><b>Uplift Date</b></label> |
800 | </div> | 800 | </div> |
801 | <div class="pull-left" style="width: calc(100% - 110px);"> | 801 | <div class="pull-left" style="width: calc(100% - 110px);"> |
802 | <input type="text" ng-model="order.upliftDate" datepicker class="form-control" style="width: 100px" required> | 802 | <input type="text" ng-model="order.upliftDate" datepicker class="form-control" style="width: 100px" required> |
803 | </div> | 803 | </div> |
804 | <div class="clearfix"></div> | 804 | <div class="clearfix"></div> |
805 | </div> | 805 | </div> |
806 | <div class="clearfix"></div> | 806 | <div class="clearfix"></div> |
807 | <br/> | 807 | <br/> |
808 | </div> | 808 | </div> |
809 | </div> | 809 | </div> |
810 | <div class="clearfix"></div> | 810 | <div class="clearfix"></div> |
811 | </div> | 811 | </div> |
812 | </div> | 812 | </div> |
813 | </div> | 813 | </div> |
814 | </div> | 814 | </div> |
815 | 815 | ||
816 | <div class="modal-footer" style="border-top: 0;"> | 816 | <div class="modal-footer" style="border-top: 0;"> |
817 | <button type="button" class="btn btn-default" ng-click="cancelData()" data-dismiss="modal">Cancel</button> | 817 | <button type="button" class="btn btn-default" ng-click="cancelData()" data-dismiss="modal">Cancel</button> |
818 | <button type="button" class="btn btn-primary step step-1" data-step="1" ng-click="dispatchFuel()">Dispatch</button> | 818 | <button type="button" class="btn btn-primary step step-1" data-step="1" ng-click="dispatchFuel()">Dispatch</button> |
819 | </div> | 819 | </div> |
820 | </div> | 820 | </div> |
821 | </div> | 821 | </div> |
822 | </div> | 822 | </div> |
823 | </form> | 823 | </form> |
824 | <div class="clearfix"></div> | 824 | <div class="clearfix"></div> |
825 | 825 | ||
826 | 826 | ||
827 | 827 | ||
828 | 828 | ||
829 | <form class="modal multi-step" id="aircraft-modal-3" name="aircraftForm"> | 829 | <form class="modal multi-step" id="aircraft-modal-3" name="aircraftForm"> |
830 | <div class="modal-dialog modal-lg"> | 830 | <div class="modal-dialog modal-lg"> |
831 | <div class="modal-content"> | 831 | <div class="modal-content"> |
832 | <div class="modal-body step-2" data-step="2" style="padding: 0;"> | 832 | <div class="modal-body step-2" data-step="2" style="padding: 0;"> |
833 | <div> | 833 | <div> |
834 | <div class="row" style="margin: 0;"> | 834 | <div class="row" style="margin: 0;"> |
835 | <div> | 835 | <div> |
836 | <div class="widget" style="margin-bottom: 0;box-shadow: none;"> | 836 | <div class="widget" style="margin-bottom: 0;box-shadow: none;"> |
837 | <div class="widget-header"> | 837 | <div class="widget-header"> |
838 | <i class="icon-pencil"></i> | 838 | <i class="icon-pencil"></i> |
839 | <i class="fa fa-tasks" aria-hidden="true"></i> | 839 | <i class="fa fa-tasks" aria-hidden="true"></i> |
840 | <h3>Add a New Aircraft</h3> | 840 | <h3>Add a New Aircraft</h3> |
841 | <div class="clearfix"></div> | 841 | <div class="clearfix"></div> |
842 | </div> | 842 | </div> |
843 | <div class="widget-content" style="padding-left: 0; padding-right: 0; border-bottom: 0;"> | 843 | <div class="widget-content" style="padding-left: 0; padding-right: 0; border-bottom: 0;"> |
844 | <div class="col-xs-12"> | 844 | <div class="col-xs-12"> |
845 | <div class="widget-header"> | 845 | <div class="widget-header"> |
846 | <i class="fa fa-list"></i> | 846 | <i class="fa fa-list"></i> |
847 | <h3>Aircraft List</h3> | 847 | <h3>Aircraft List</h3> |
848 | </div> | 848 | </div> |
849 | <div class="widget-content" style="padding:0px;border: 0px; padding: 0px !important;"> | 849 | <div class="widget-content" style="padding:0px;border: 0px; padding: 0px !important;"> |
850 | <div class="table-responsive"> | 850 | <div class="table-responsive"> |
851 | <table class="table table-striped table-bordered"> | 851 | <table class="table table-striped table-bordered"> |
852 | <thead> | 852 | <thead> |
853 | <tr> | 853 | <tr> |
854 | <!-- <th><input type="checkbox" ng-model="selectedAll" ng-click="checkAll()" /></th> --> | 854 | <!-- <th><input type="checkbox" ng-model="selectedAll" ng-click="checkAll()" /></th> --> |
855 | <th>Tail</th> | 855 | <th>Tail</th> |
856 | <th>Make</th> | 856 | <th>Make</th> |
857 | <th>Model</th> | 857 | <th>Model</th> |
858 | <th>Size</th> | 858 | <th>Size</th> |
859 | <th>JET A Margin</th> | 859 | <th>JET A Margin</th> |
860 | <th>AVGS 100LL Margin</th> | 860 | <th>AVGS 100LL Margin</th> |
861 | </tr> | 861 | </tr> |
862 | </thead> | 862 | </thead> |
863 | <tbody> | 863 | <tbody> |
864 | <tr ng-repeat="aircraftData in aircraftDetails track by $index"> | 864 | <tr ng-repeat="aircraftData in aircraftDetails track by $index"> |
865 | <!-- <td> | 865 | <!-- <td> |
866 | <input type="checkbox" ng-model="aircraftData.selected"/> | 866 | <input type="checkbox" ng-model="aircraftData.selected"/> |
867 | </td> --> | 867 | </td> --> |
868 | <!-- <td style="width: 15%"> | 868 | <!-- <td style="width: 15%"> |
869 | <input type="tel" class="form-control" ng-model="aircraftData.tail" ng-blur="checkJetWithTail(aircraftData.tail, $index)" required/> | 869 | <input type="tel" class="form-control" ng-model="aircraftData.tail" ng-blur="checkJetWithTail(aircraftData.tail, $index)" required/> |
870 | </td> --> | 870 | </td> --> |
871 | <td style="width: 15%"> | 871 | <td style="width: 15%"> |
872 | <input type="tel" class="form-control" ng-model="aircraftData.tail" ng-blur="checkTail(aircraftData.tail, $index);" required/> | 872 | <input type="tel" class="form-control" ng-model="aircraftData.tail" ng-blur="checkTail(aircraftData.tail, $index);" required/> |
873 | </td> | 873 | </td> |
874 | <td style="width: 17%"> | 874 | <td style="width: 17%"> |
875 | <select class="form-control" style="width: fit-content;" ng-model="aircraftData.make" ng-change="getModal(aircraftData.make, $index) "> | 875 | <select class="form-control" style="width: fit-content;" ng-model="aircraftData.make" ng-change="getModal(aircraftData.make, $index) "> |
876 | <option value="" disabled>Select</option> | 876 | <option value="" disabled>Select</option> |
877 | <option ng-repeat="make in aircraftMakeList | orderBy">{{make}}</option> | 877 | <option ng-repeat="make in aircraftMakeList | orderBy">{{make}}</option> |
878 | </select> | 878 | </select> |
879 | </td> | 879 | </td> |
880 | <td style="width: 17%"> | 880 | <td style="width: 17%"> |
881 | <select class="form-control" ng-model="aircraftData.model" ng-change="getSize(aircraftData.model, $index)"> | 881 | <select class="form-control" ng-model="aircraftData.model" ng-change="getSize(aircraftData.model, $index)"> |
882 | <option value="" disabled>Select</option> | 882 | <option value="" disabled>Select</option> |
883 | <option ng-repeat="model in aircraftData.aircraftModalList | orderBy">{{model}}</option> | 883 | <option ng-repeat="model in aircraftData.aircraftModalList | orderBy">{{model}}</option> |
884 | </select> | 884 | </select> |
885 | </td> | 885 | </td> |
886 | <td style="width: 17%"> | 886 | <td style="width: 17%"> |
887 | <select class="form-control" ng-model="aircraftData.size" ng-change="getFuelType(aircraftData.size, $index)"> | 887 | <select class="form-control" ng-model="aircraftData.size" ng-change="getFuelType(aircraftData.size, $index)"> |
888 | <option value="" disabled>Select</option> | 888 | <option value="" disabled>Select</option> |
889 | <option ng-repeat="size in aircraftData.aircraftSizeList" value="{{size.aircraftSize.id}}" ng-selected="aircraftData.size = aircraftData.aircraftSizeList[0].aircraftSize.id">{{size.aircraftSize.size}}</option> | 889 | <option ng-repeat="size in aircraftData.aircraftSizeList" value="{{size.aircraftSize.id}}" ng-selected="aircraftData.size = aircraftData.aircraftSizeList[0].aircraftSize.id">{{size.aircraftSize.size}}</option> |
890 | </select> | 890 | </select> |
891 | </td> | 891 | </td> |
892 | <td style="width: 17%"> | 892 | <td style="width: 17%"> |
893 | 893 | ||
894 | <select class="form-control" ng-model="aircraftData.marginId" ng-disabled="jetShow[$index]" ng-required="marginShow[$index]"> | 894 | <select class="form-control" ng-model="aircraftData.marginId" ng-disabled="jetShow[$index]" ng-required="marginShow[$index]"> |
895 | <option value="" disabled>Select</option> | 895 | <option value="" disabled>Select</option> |
896 | <option ng-repeat="margin in jetMarginList" value="{{margin.id}}">{{margin.marginName}}</option> | 896 | <option ng-repeat="margin in jetMarginList" value="{{margin.id}}">{{margin.marginName}}</option> |
897 | </select> | 897 | </select> |
898 | 898 | ||
899 | <!-- <select class="form-control" ng-model="aircraftData.marginId" ng-options="margin.id as margin.marginName for margin in jetMarginList" ng-disabled="jetShow[$index]"> | 899 | <!-- <select class="form-control" ng-model="aircraftData.marginId" ng-options="margin.id as margin.marginName for margin in jetMarginList" ng-disabled="jetShow[$index]"> |
900 | 900 | ||
901 | <option value="" disabled>Select...</option> | 901 | <option value="" disabled>Select...</option> |
902 | </select> --> | 902 | </select> --> |
903 | 903 | ||
904 | </td> | 904 | </td> |
905 | <td style="width: 17%"> | 905 | <td style="width: 17%"> |
906 | <select class="form-control" ng-model="aircraftData.avgasMarginId" ng-disabled="marginShow[$index]" ng-required="jetShow[$index]"> | 906 | <select class="form-control" ng-model="aircraftData.avgasMarginId" ng-disabled="marginShow[$index]" ng-required="jetShow[$index]"> |
907 | <option value="" disabled>Select</option> | 907 | <option value="" disabled>Select</option> |
908 | <option ng-repeat="avgs in avgsMarginList" value="{{avgs.id}}">{{avgs.marginName}}</option> | 908 | <option ng-repeat="avgs in avgsMarginList" value="{{avgs.id}}">{{avgs.marginName}}</option> |
909 | </select> | 909 | </select> |
910 | 910 | ||
911 | <!-- <select class="form-control marginSelectBox" ng-model="aircraftData.avgasMarginId" ng-options="avgs.id as avgs.marginName for avgs in avgsMarginList" ng-disabled="marginShow[$index]"> | 911 | <!-- <select class="form-control marginSelectBox" ng-model="aircraftData.avgasMarginId" ng-options="avgs.id as avgs.marginName for avgs in avgsMarginList" ng-disabled="marginShow[$index]"> |
912 | <option value="" disabled>Select...</option> | 912 | <option value="" disabled>Select...</option> |
913 | </select> --> | 913 | </select> --> |
914 | </td> | 914 | </td> |
915 | </tr> | 915 | </tr> |
916 | </tbody> | 916 | </tbody> |
917 | </table> | 917 | </table> |
918 | </div> | 918 | </div> |
919 | <div class="clearfix"></div> | 919 | <div class="clearfix"></div> |
920 | </div> | 920 | </div> |
921 | </div> | 921 | </div> |
922 | <div class="clearfix"></div> | 922 | <div class="clearfix"></div> |
923 | <div class="col-xs-12" style="margin-bottom: 50px;margin-top: 10px;"> | 923 | <div class="col-xs-12" style="margin-bottom: 50px;margin-top: 10px;"> |
924 | <button ng-click="addNew()" class="button1 turquoise pull-right"><span>+</span>Add Aircraft </button> | 924 | <button ng-click="addNew()" class="button1 turquoise pull-right"><span>+</span>Add Aircraft </button> |
925 | </div> | 925 | </div> |
926 | </div> | 926 | </div> |
927 | </div> | 927 | </div> |
928 | <div class="clearfix"></div> | 928 | <div class="clearfix"></div> |
929 | </div> | 929 | </div> |
930 | </div> | 930 | </div> |
931 | </div> | 931 | </div> |
932 | </div> | 932 | </div> |
933 | 933 | ||
934 | <div class="modal-footer" style="border-top: 0;"> | 934 | <div class="modal-footer" style="border-top: 0;"> |
935 | <button type="button" class="btn btn-default" id="reset" data-dismiss="modal">Cancel</button> | 935 | <button type="button" class="btn btn-default" id="reset" data-dismiss="modal">Cancel</button> |
936 | <button type="button" class="btn btn-primary step step-1" data-step="1" ng-disabled="aircraftForm.$invalid" ng-click="saveCompanyData()">Save</button> | 936 | <button type="button" class="btn btn-primary step step-1" data-step="1" ng-disabled="aircraftForm.$invalid" ng-click="saveCompanyData()">Save</button> |
937 | </div> | 937 | </div> |
938 | </div> | 938 | </div> |
939 | </div> | 939 | </div> |
940 | </form> | 940 | </form> |
941 | <div class="customConfirmPopBackdrop" id="fuelerchange" > | 941 | <div class="customConfirmPopBackdrop" id="fuelerchange" > |
942 | <div class="customModalInner" style="max-width: 550px;"> | 942 | <div class="customModalInner" style="max-width: 550px;"> |
943 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 943 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
944 | <table> | 944 | <table> |
945 | <tr> | 945 | <tr> |
946 | <td> | 946 | <td> |
947 | <img src="img/info.png" style="width: 50px;"> | 947 | <img src="img/info.png" style="width: 50px;"> |
948 | </td> | 948 | </td> |
949 | <td> | 949 | <td> |
950 | <p style="padding: 5px 10px; margin-bottom: 0;">{{statusMessage}}</p> | 950 | <p style="padding: 5px 10px; margin-bottom: 0;">{{statusMessage}}</p> |
951 | </td> | 951 | </td> |
952 | </tr> | 952 | </tr> |
953 | </table> | 953 | </table> |
954 | </div> | 954 | </div> |
955 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 955 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
956 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="fuelerAcceptStatus()">Accept</button> | 956 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="fuelerAcceptStatus()">Accept</button> |
957 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="fuelerCancelStatus()">Cancel</button> | 957 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="fuelerCancelStatus()">Cancel</button> |
958 | </div> | 958 | </div> |
959 | </div> | 959 | </div> |
960 | </div> | 960 | </div> |
961 | <div class="customConfirmPopBackdrop" id="confirm1"> | 961 | <div class="customConfirmPopBackdrop" id="confirm1"> |
962 | <div class="customModalInner" style="max-width: 400px;"> | 962 | <div class="customModalInner" style="max-width: 400px;"> |
963 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 963 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
964 | <table> | 964 | <table> |
965 | <tr> | 965 | <tr> |
966 | <td> | 966 | <td> |
967 | <img src="img/info.png" style="width: 50px;"> | 967 | <img src="img/info.png" style="width: 50px;"> |
968 | </td> | 968 | </td> |
969 | <td> | 969 | <td> |
970 | <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to email pricing to everyone in your contact list?</p> | 970 | <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to email pricing to everyone in your contact list?</p> |
971 | </td> | 971 | </td> |
972 | </tr> | 972 | </tr> |
973 | </table> | 973 | </table> |
974 | </div> | 974 | </div> |
975 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 975 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
976 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="sendMail()">Yes</button> | 976 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="sendMail()">Yes</button> |
977 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAndCloseConfirm()">Cancel</button> | 977 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAndCloseConfirm()">Cancel</button> |
978 | </div> | 978 | </div> |
979 | </div> | 979 | </div> |
980 | </div> | 980 | </div> |
981 | <div class="customConfirmPopBackdrop" id="primaryContact"> | 981 | <div class="customConfirmPopBackdrop" id="primaryContact"> |
982 | <div class="customModalInner" style="max-width: 400px;"> | 982 | <div class="customModalInner" style="max-width: 400px;"> |
983 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 983 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
984 | <table> | 984 | <table> |
985 | <tr> | 985 | <tr> |
986 | <td> | 986 | <td> |
987 | <img src="img/info.png" style="width: 50px;"> | 987 | <img src="img/info.png" style="width: 50px;"> |
988 | </td> | 988 | </td> |
989 | <td> | 989 | <td> |
990 | <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure you want to set this person as your primary contact?</p> | 990 | <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure you want to set this person as your primary contact?</p> |
991 | </td> | 991 | </td> |
992 | </tr> | 992 | </tr> |
993 | </table> | 993 | </table> |
994 | </div> | 994 | </div> |
995 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 995 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
996 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="sendPrimaryContact()">Yes</button> | 996 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="sendPrimaryContact()">Yes</button> |
997 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelPrimaryContact()">Cancel</button> | 997 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelPrimaryContact()">Cancel</button> |
998 | </div> | 998 | </div> |
999 | </div> | 999 | </div> |
1000 | </div> | 1000 | </div> |
1001 | <div class="customConfirmPopBackdrop" id="customFieldEmail"> | 1001 | <div class="customConfirmPopBackdrop" id="customFieldEmail"> |
1002 | <div class="customModalInner" style="max-width: 400px;"> | 1002 | <div class="customModalInner" style="max-width: 400px;"> |
1003 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 1003 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
1004 | <div class="col-md-2"><img class="src-image" src="img/images.jpg"></div> | 1004 | <div class="col-md-2"><img class="src-image" src="img/images.jpg"></div> |
1005 | <div class="col-md-10"> | 1005 | <div class="col-md-10"> |
1006 | <form> | 1006 | <form> |
1007 | Email Type:<br> | 1007 | Email Type:<br> |
1008 | <input type="text" name="firstname" ng-model="custom.title"><br> | 1008 | <input type="text" name="firstname" ng-model="custom.title"><br> |
1009 | Email-Address:<br> | 1009 | Email-Address:<br> |
1010 | <input type="text" name="lastname" ng-model="custom.content"> | 1010 | <input type="text" name="lastname" ng-model="custom.content"> |
1011 | </form> | 1011 | </form> |
1012 | </div> | 1012 | </div> |
1013 | <div class="clearfix"></div> | 1013 | <div class="clearfix"></div> |
1014 | </div> | 1014 | </div> |
1015 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 1015 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
1016 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="acceptCustomField('email')">Accept</button> | 1016 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="acceptCustomField('email')">Accept</button> |
1017 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelCustomField()">Cancel</button> | 1017 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelCustomField()">Cancel</button> |
1018 | </div> | 1018 | </div> |
1019 | </div> | 1019 | </div> |
1020 | </div> | 1020 | </div> |
1021 | 1021 | ||
1022 | 1022 | ||
1023 | <div class="customConfirmPopBackdrop" id="customFieldPhone"> | 1023 | <div class="customConfirmPopBackdrop" id="customFieldPhone"> |
1024 | <div class="customModalInner" style="max-width: 400px;"> | 1024 | <div class="customModalInner" style="max-width: 400px;"> |
1025 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 1025 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
1026 | <div class="col-md-2"><img class="src-image" src="img/images.jpg"></div> | 1026 | <div class="col-md-2"><img class="src-image" src="img/images.jpg"></div> |
1027 | <div class="col-md-10"> | 1027 | <div class="col-md-10"> |
1028 | <form> | 1028 | <form> |
1029 | Phone Type:<br> | 1029 | Phone Type:<br> |
1030 | <input type="text" name="firstname" ng-model="custom.title"><br> | 1030 | <input type="text" name="firstname" ng-model="custom.title"><br> |
1031 | Number:<br> | 1031 | Number:<br> |
1032 | <input type="text" name="lastname" ng-model="custom.content"> | 1032 | <input type="text" name="lastname" ng-model="custom.content"> |
1033 | </form> | 1033 | </form> |
1034 | </div> | 1034 | </div> |
1035 | <div class="clearfix"></div> | 1035 | <div class="clearfix"></div> |
1036 | </div> | 1036 | </div> |
1037 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 1037 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
1038 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="acceptCustomField('phone')">Accept</button> | 1038 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="acceptCustomField('phone')">Accept</button> |
1039 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelCustomField()">Cancel</button> | 1039 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelCustomField()">Cancel</button> |
1040 | </div> | 1040 | </div> |
1041 | </div> | 1041 | </div> |
1042 | </div> | 1042 | </div> |
1043 | 1043 | ||
1044 | 1044 | ||
1045 | <div class="customConfirmPopBackdrop" id="updateContact"> | 1045 | <div class="customConfirmPopBackdrop" id="updateContact"> |
1046 | <div class="customModalInner" style="max-width: 400px;"> | 1046 | <div class="customModalInner" style="max-width: 400px;"> |
1047 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 1047 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
1048 | <div class="col-md-2"><img class="src-image" src="img/images.jpg"></div> | 1048 | <div class="col-md-2"><img class="src-image" src="img/images.jpg"></div> |
1049 | <div class="col-md-10"> | 1049 | <div class="col-md-10"> |
1050 | <form> | 1050 | <form> |
1051 | Phone Type:<br> | 1051 | Phone Type:<br> |
1052 | <input type="text" name="firstname" ng-model="updateData.title"><br> | 1052 | <input type="text" name="firstname" ng-model="updateData.title"><br> |
1053 | Number:<br> | 1053 | Number:<br> |
1054 | <input type="text" name="lastname" ng-model="updateData.content"> | 1054 | <input type="text" name="lastname" ng-model="updateData.content"> |
1055 | </form> | 1055 | </form> |
1056 | </div> | 1056 | </div> |
1057 | <div class="clearfix"></div> | 1057 | <div class="clearfix"></div> |
1058 | </div> | 1058 | </div> |
1059 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 1059 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
1060 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="acceptUpdateField('phone')">Accept</button> | 1060 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="acceptUpdateField('phone')">Accept</button> |
1061 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelUpdateField()">Cancel</button> | 1061 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelUpdateField()">Cancel</button> |
1062 | </div> | 1062 | </div> |
1063 | </div> | 1063 | </div> |
1064 | </div> | 1064 | </div> |
1065 | 1065 | ||
1066 | <div class="customConfirmPopBackdrop" id="updateEmail"> | 1066 | <div class="customConfirmPopBackdrop" id="updateEmail"> |
1067 | <div class="customModalInner" style="max-width: 400px;"> | 1067 | <div class="customModalInner" style="max-width: 400px;"> |
1068 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 1068 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
1069 | <div class="col-md-2"><img class="src-image" src="img/images.jpg"></div> | 1069 | <div class="col-md-2"><img class="src-image" src="img/images.jpg"></div> |
1070 | <div class="col-md-10"> | 1070 | <div class="col-md-10"> |
1071 | <form> | 1071 | <form> |
1072 | Email Type:<br> | 1072 | Email Type:<br> |
1073 | <input type="text" name="firstname" ng-model="updateData.title"><br> | 1073 | <input type="text" name="firstname" ng-model="updateData.title"><br> |
1074 | Email-Address:<br> | 1074 | Email-Address:<br> |
1075 | <input type="text" name="lastname" ng-model="updateData.content"> | 1075 | <input type="text" name="lastname" ng-model="updateData.content"> |
1076 | </form> | 1076 | </form> |
1077 | </div> | 1077 | </div> |
1078 | <div class="clearfix"></div> | 1078 | <div class="clearfix"></div> |
1079 | </div> | 1079 | </div> |
1080 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 1080 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
1081 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="acceptUpdateField('email')">Accept</button> | 1081 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="acceptUpdateField('email')">Accept</button> |
1082 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelUpdateField()">Cancel</button> | 1082 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelUpdateField()">Cancel</button> |
1083 | </div> | 1083 | </div> |
1084 | </div> | 1084 | </div> |
1085 | </div> | 1085 | </div> |
1086 | 1086 | ||
1087 | 1087 | ||
1088 | <div class="customConfirmPopBackdrop" id="delete1"> | 1088 | <div class="customConfirmPopBackdrop" id="delete1"> |
1089 | <div class="customModalInner" style="max-width: 400px;"> | 1089 | <div class="customModalInner" style="max-width: 400px;"> |
1090 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 1090 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
1091 | <table> | 1091 | <table> |
1092 | <tr> | 1092 | <tr> |
1093 | <td> | 1093 | <td> |
1094 | <img src="img/info.png" style="width: 50px;"> | 1094 | <img src="img/info.png" style="width: 50px;"> |
1095 | </td> | 1095 | </td> |
1096 | <td> | 1096 | <td> |
1097 | <p style="padding: 5px 10px; margin-bottom: 0;">Please confirm! Are you sure you want to DELETE this Aircraft?</p> | 1097 | <p style="padding: 5px 10px; margin-bottom: 0;">Please confirm! Are you sure you want to DELETE this Aircraft?</p> |
1098 | </td> | 1098 | </td> |
1099 | </tr> | 1099 | </tr> |
1100 | </table> | 1100 | </table> |
1101 | </div> | 1101 | </div> |
1102 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 1102 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
1103 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="aircraftDelete()">Accept</button> | 1103 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="aircraftDelete()">Accept</button> |
1104 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAircraft()">Cancel</button> | 1104 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAircraft()">Cancel</button> |
1105 | </div> | 1105 | </div> |
1106 | </div> | 1106 | </div> |
1107 | </div> | 1107 | </div> |
1108 | <div class="customConfirmPopBackdrop" id="delete2"> | 1108 | <div class="customConfirmPopBackdrop" id="delete2"> |
1109 | <div class="customModalInner" style="max-width: 400px;"> | 1109 | <div class="customModalInner" style="max-width: 400px;"> |
1110 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 1110 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
1111 | <table> | 1111 | <table> |
1112 | <tr> | 1112 | <tr> |
1113 | <td> | 1113 | <td> |
1114 | <img src="img/info.png" style="width: 50px;"> | 1114 | <img src="img/info.png" style="width: 50px;"> |
1115 | </td> | 1115 | </td> |
1116 | <td> | 1116 | <td> |
1117 | <p style="padding: 5px 10px; margin-bottom: 0;">Please confirm! Are you sure you want to DELETE this Company & its related data?</p> | 1117 | <p style="padding: 5px 10px; margin-bottom: 0;">Please confirm! Are you sure you want to DELETE this Company & its related data?</p> |
1118 | </td> | 1118 | </td> |
1119 | </tr> | 1119 | </tr> |
1120 | </table> | 1120 | </table> |
1121 | </div> | 1121 | </div> |
1122 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 1122 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
1123 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="deleteCompanyData()">Accept</button> | 1123 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="deleteCompanyData()">Accept</button> |
1124 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelDelete()">Cancel</button> | 1124 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelDelete()">Cancel</button> |
1125 | </div> | 1125 | </div> |
1126 | </div> | 1126 | </div> |
1127 | </div> | 1127 | </div> |
1128 | 1128 | ||
1129 | <div class="customConfirmPopBackdrop" id="delete3"> | 1129 | <div class="customConfirmPopBackdrop" id="delete3"> |
1130 | <div class="customModalInner" style="max-width: 400px;"> | 1130 | <div class="customModalInner" style="max-width: 400px;"> |
1131 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 1131 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
1132 | <table> | 1132 | <table> |
1133 | <tr> | 1133 | <tr> |
1134 | <td> | 1134 | <td> |
1135 | <img src="img/info.png" style="width: 50px;"> | 1135 | <img src="img/info.png" style="width: 50px;"> |
1136 | </td> | 1136 | </td> |
1137 | <td> | 1137 | <td> |
1138 | <p style="padding: 5px 10px; margin-bottom: 0;">{{statusMessage}}</p> | 1138 | <p style="padding: 5px 10px; margin-bottom: 0;">{{statusMessage}}</p> |
1139 | </td> | 1139 | </td> |
1140 | </tr> | 1140 | </tr> |
1141 | </table> | 1141 | </table> |
1142 | </div> | 1142 | </div> |
1143 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 1143 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
1144 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="companyStatus()">Accept</button> | 1144 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="companyStatus()">Accept</button> |
1145 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelStatus()">Cancel</button> | 1145 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelStatus()">Cancel</button> |
1146 | </div> | 1146 | </div> |
1147 | </div> | 1147 | </div> |
1148 | </div> | 1148 | </div> |
1149 | <div class="customConfirmPopBackdrop" id="toogleMail"> | 1149 | <div class="customConfirmPopBackdrop" id="toogleMail"> |
1150 | <div class="customModalInner" style="max-width: 400px;"> | 1150 | <div class="customModalInner" style="max-width: 400px;"> |
1151 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 1151 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
1152 | <table> | 1152 | <table> |
1153 | <tr> | 1153 | <tr> |
1154 | <!-- <td> | 1154 | <!-- <td> |
1155 | <img src="" style="width: 50px;"> | 1155 | <img src="" style="width: 50px;"> |
1156 | </td> --> | 1156 | </td> --> |
1157 | <td> | 1157 | <td> |
1158 | <p style="padding: 5px 10px; margin-bottom: 0;text-align: center;">{{messageText}}</p> | 1158 | <p style="padding: 5px 10px; margin-bottom: 0;text-align: center;">{{messageText}}</p> |
1159 | </td> | 1159 | </td> |
1160 | </tr> | 1160 | </tr> |
1161 | </table> | 1161 | </table> |
1162 | </div> | 1162 | </div> |
1163 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 1163 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
1164 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelToogle()">Ok</button> | 1164 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelToogle()">Ok</button> |
1165 | </div> | 1165 | </div> |
1166 | </div> | 1166 | </div> |
1167 | </div> | 1167 | </div> |
1168 | 1168 | ||
1169 | 1169 | ||
1170 | <div class="customConfirmPopBackdrop" id="addAirCraftError"> | 1170 | <div class="customConfirmPopBackdrop" id="addAirCraftError"> |
1171 | <div class="customModalInner" style="max-width: 400px;"> | 1171 | <div class="customModalInner" style="max-width: 400px;"> |
1172 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 1172 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
1173 | <table> | 1173 | <table> |
1174 | <tr> | 1174 | <tr> |
1175 | <td> | 1175 | <td> |
1176 | <p style="padding: 5px 10px; margin-bottom: 0;">{{aircraftMessage}}</p> | 1176 | <p style="padding: 5px 10px; margin-bottom: 0;">{{aircraftMessage}}</p> |
1177 | </td> | 1177 | </td> |
1178 | </tr> | 1178 | </tr> |
1179 | </table> | 1179 | </table> |
1180 | </div> | 1180 | </div> |
1181 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 1181 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
1182 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAirCraftError()">Cancel</button> | 1182 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAirCraftError()">Cancel</button> |
1183 | </div> | 1183 | </div> |
1184 | </div> | 1184 | </div> |
1185 | </div> | 1185 | </div> |
1186 | 1186 | ||
1187 | <div class="customConfirmPopBackdrop" id="addAirCraftWarning"> | 1187 | <div class="customConfirmPopBackdrop" id="addAirCraftWarning"> |
1188 | <div class="customModalInner" style="max-width: 400px;"> | 1188 | <div class="customModalInner" style="max-width: 400px;"> |
1189 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 1189 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
1190 | <table> | 1190 | <table> |
1191 | <tr> | 1191 | <tr> |
1192 | <td> | 1192 | <td> |
1193 | <p style="padding: 5px 10px; margin-bottom: 0;">{{aircraftMessage}}</p> | 1193 | <p style="padding: 5px 10px; margin-bottom: 0;">{{aircraftMessage}}</p> |
1194 | </td> | 1194 | </td> |
1195 | </tr> | 1195 | </tr> |
1196 | </table> | 1196 | </table> |
1197 | </div> | 1197 | </div> |
1198 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 1198 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
1199 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="acceptAirCraftError()">Yes</button> | 1199 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="acceptAirCraftError()">Yes</button> |
1200 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAirCraftError()">No</button> | 1200 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAirCraftError()">No</button> |
1201 | </div> | 1201 | </div> |
1202 | </div> | 1202 | </div> |
1203 | </div> | 1203 | </div> |
1204 | 1204 | ||
1205 | <div class="myLoader" ng-show="showLoader"> | 1205 | <div class="myLoader" ng-show="showLoader"> |
1206 | <img src="../img/hourglass.gif" width="50px;"> | 1206 | <img src="../img/hourglass.gif" width="50px;"> |
1207 | </div> | 1207 | </div> |
1208 | 1208 | ||
1209 | <!-- Le javascript | 1209 | <!-- Le javascript |
1210 | ================================================== --> | 1210 | ================================================== --> |
1211 | <!-- Placed at the end of the document so the pages load faster --> | 1211 | <!-- Placed at the end of the document so the pages load faster --> |
1212 | <!-- <script | 1212 | <!-- <script |
1213 | CKEDITOR.replace( 'editor2', { | 1213 | CKEDITOR.replace( 'editor2', { |
1214 | height: 250, | 1214 | height: 250, |
1215 | extraPlugins: 'divarea' | 1215 | extraPlugins: 'divarea' |
1216 | } ); | 1216 | } ); |
1217 | </script> --> | 1217 | </script> --> |
1218 | 1218 |