Blame view

app/partials/viewCompany/viewCompany.html 66.9 KB
feacde5ff   Rishav   setup acuefuel in...
1
  <style>
8fc0ea8f4   Kuldeep Arora   update menu items
2
     .subnavbar .mainnav > li:nth-child(2) > a{
6f19fff16   Kuldeep Arora   Rebranding-FBOins...
3
     color: #ca5c6a;
feacde5ff   Rishav   setup acuefuel in...
4
     }
4bb02bb84   Rishav   new integration w...
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
     .widget-content{
        padding: 10px !important;
     }
     .widget-content input[type="text"], .widget-content select{
        height: 31px;
        padding: 0;
     }
     .new-label span{
        float: left;
        line-height: 31px;
     }
     .new-label span:first-child{
        margin-right: 5px;
        font-weight: bold;
     }
     .new-label span:last-child{
        margin-left: 5px;
     }
     .new-label select{
        display: -webkit-inline-box;
        display: inline-box;
        float: left;
     }
     .new-address p{
        margin-bottom: 0;
     }
     .new-add-select{
        padding-left: 15px;
        margin: 10px 0;
     }
     .new-add-select select{
        width: 100px;
     }
     .widget{
        -moz-box-shadow: 0px 3px 8px rgba(100,100,100, 0.7);
        -webkit-box-shadow: 0px 3px 8px rgba(100,100,100, 0.7);
        box-shadow: 0px 3px 8px rgba(100,100,100, 0.7);
     }
     .optionclass {
        background: #fff;
     }
     .timess {
        float: right !important;
        margin-top: 10px !important;
        margin-right: 10px !important;
        color: #999 !important;
        cursor: pointer !important;
     }
b1f6160d4   Rishav   add contact and a...
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
  
     .button1 {
       display: inline-block;
       height: 35px;
       line-height: 35px;
       padding-right: 15px;
       padding-left: 50px;
       position: relative;
       background-color:rgb(41,127,184);
       color:rgb(255,255,255);
       text-decoration: none;
       text-transform: uppercase;
       letter-spacing: 1px;
       margin-bottom: 15px;
       border: 0;
       
       
          border-radius: 5px;
          -moz-border-radius: 5px;
          -webkit-border-radius: 5px;
          text-shadow:0px 1px 0px rgba(0,0,0,0.5);
        -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=1,Color=#ff123852,Positive=true)";zoom:1;
        filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=1,Color=#ff123852,Positive=true);
  
          -moz-box-shadow:0px 2px 2px rgba(0,0,0,0.2);
          -webkit-box-shadow:0px 2px 2px rgba(0,0,0,0.2);
          box-shadow:0px 2px 2px rgba(0,0,0,0.2);
          -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=2,Color=#33000000,Positive=true)";
        filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=2,Color=#33000000,Positive=true);
     }
  
     .button1 span {
       position: absolute;
       left: 0;
       top: 0;
       width: 35px;
       background-color:rgba(0,0,0,0.5);
       
       -webkit-border-top-left-radius: 5px;
     -webkit-border-bottom-left-radius: 5px;
     -moz-border-radius-topleft: 5px;
     -moz-border-radius-bottomleft: 5px;
     border-top-left-radius: 5px;
     border-bottom-left-radius: 5px;
     border-right: 1px solid  rgba(0,0,0,0.15);
     }
  
     .button1:hover span, .button1.active span {
       background-color:rgb(0,102,26);
       border-right: 1px solid  rgba(0,0,0,0.3);
     }
  
     .button1:active {
       margin-top: 2px;
       margin-bottom: 13px;
  
       -moz-box-shadow:0px 1px 0px rgba(255,255,255,0.5);
     -webkit-box-shadow:0px 1px 0px rgba(255,255,255,0.5);
     box-shadow:0px 1px 0px rgba(255,255,255,0.5);
     -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=1,Color=#ccffffff,Positive=true)";
     filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=1,Color=#ccffffff,Positive=true);
     }
  
     .button1.turquoise {
       background: #449d44;
     }
feacde5ff   Rishav   setup acuefuel in...
119
  </style>
ba1d39503   Swarn Singh   view company form...
120
121
122
123
  
  <div class="myLoader" ng-show="showLoader">
    <img src="../img/hourglass.gif" width="50px;">
  </div>
7ee64838c   Anchit Jindal   new desing implem...
124
  <div class="col-xs-12 col-md-12">
feacde5ff   Rishav   setup acuefuel in...
125
126
     <div class="row" style="margin-left:0px">
        <div class="col-md-12">
4bb02bb84   Rishav   new integration w...
127
           <div class="widget">
feacde5ff   Rishav   setup acuefuel in...
128
              <div class="widget-header">
4bb02bb84   Rishav   new integration w...
129
                 <i class="fa fa-building-o" aria-hidden="true"></i>
cf43d578a   Kuldeep Arora   delete company up...
130
                 <h3>{{companyData.companyName}} <i class="fa fa-trash-o deleteTierIcon" ng-click="deleteComp(companyData.id)" aria-hidden="true"></i></h3>
4bb02bb84   Rishav   new integration w...
131
                 <i class="fa fa-times timess" ui-sref="app.customers" aria-hidden="true"></i>
feacde5ff   Rishav   setup acuefuel in...
132
133
134
135
              </div>
              <!-- /widget-header -->
              <div class="widget-content">
                 <div class="row" style="margin-left:0px">
a9aef0b1c   Anchit Jindal   new changes imple...
136
137
138
139
140
141
142
143
144
                    <div class="col-md-6" ng-show="isGlobal">
                       <div class="widget">
                          <div class="widget-header">
                              <i class="fa fa-building-o" aria-hidden="true"></i>
                              <h3>Company Details</h3>
                              <label>BASE ICAO</label>
                              <input type="tel" ng-model="companyData.baseIcao" ng-click="base()" style="line-height: 18px;width: 80px;padding: 0px 9px;" />
                             
                              <div class="pull-right" style="margin-top: 5px; margin-right: 10px;">
e196b9b74   Anchit Jindal   new changes added
145
                                <toggle ng-model="companyData.activate" ng-change="changeCompanyStatus()" size="customToogle" on="Active" off="Inactive"></toggle>
a9aef0b1c   Anchit Jindal   new changes imple...
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
                              </div>
  
                          </div>
                          <div class="widget-content" style="min-height: 350px;">
                             <div class="row" style="margin-left:0px;">
                                <div class="col-md-7" style="padding-left: 0;">
                                   <h4 ng-show="showCompanyName">
                                      <b style="color:#F90;">{{companyData.companyName}}</b> &nbsp;<i class="fa fa-pencil-square-o" ng-click="company()" style="font-size: 14px;" aria-hidden="true"></i>
                                   </h4>
                                   <input type="tel" ng-hide="showCompanyName" ng-model="companyData.companyName" class="form-control"/>
                                </div>
                                <div class="col-md-5">
                                   <select class="form-control" style="padding: 4px 8px;background: #ebebeb;" ng-model="companyData.certificateType">
                                      <option class="optionclass" value="" disabled selected>Certificate Type</option>
                                      <option class="optionclass" value="corporate">Part 91 (Corporate)</option>
                                      <option class="optionclass" value="charter">Part 135 (Charter)</option>
                                      <option class="optionclass" value="scheduled">Part 121 (Scheduled)</option>
                                      <option class="optionclass" value="military">Military</option>
                                      <option class="optionclass" value="government">Government</option>
                                   </select>
                                </div>
                             </div>
                             <div>
                                <p class="new-label">
                                   <span>JET A Margin </span> 
                                   <select class="form-control" style="width: 135px;padding: 4px 8px;" ng-change="editData()" ng-model="companyData.masterMargin">
                                   	<option ng-if="multiple" value="multiple">Multiple</option>
                                      <option ng-repeat="margin in jetMarginList" value="{{margin.id}}">{{margin.marginName}}</option>
                                   </select>
                                   <span ng-show="multipleMsg">&nbsp;See Aircrart List</span>
                                   <div class="clearfix"></div>
                                </p>
                             </div>
                             <div>
                                <p class="new-label">
                                   <span>AVGAS 100LL </span> 
                                   <select class="form-control" style="width: 135px;padding: 4px 8px;" ng-change="editData()" ng-model="companyData.avgasMargin">
                                      <option value="">N/A</option>
                                      <option ng-repeat="margin in avgsMarginList" value="{{margin.id}}">{{margin.marginName}}</option>
                                   </select>
                                   <div class="clearfix"></div>
                                </p>
                             </div>
97f8c67f9   Rishav Singla   ui select impplem...
189
190
191
192
193
194
195
196
197
                             <div>
                             <ui-select multiple class="form-control" ng-model="selected" name="name" ng-change="changeValue(selected)">
                                <ui-select-match placeholder="Select or Search">{{$item.first}}</ui-select-match>
                                <ui-select-choices repeat="val.first as val in values | filter: $select.search">
                                 {{val.first}}
                                 <!-- <div ng-bind-html="val | highlight: $select"></div> -->
                                </ui-select-choices>
                              </ui-select>
                             </div>
a9aef0b1c   Anchit Jindal   new changes imple...
198
199
200
201
202
203
204
205
206
207
                             </br>
                             <div class="new-address">
                             </div>
                             <div>
                                <p style="margin-bottom: 0;"><b>Company Notes</b> &nbsp;<i class="fa fa-pencil-square-o" ng-click="showNote()" aria-hidden="true"></i></p>
                                <p ng-show="showNoteData">{{companyData.internalNote}}</p>
                                <textarea  name="message" ng-hide="showNoteData" style="margin-bottom: 6px;" class="form-control" ng-model="companyData.internalNote" rows="4" cols="34"></textarea>
                             </div>
                             <div class="pull-left">
                                <button ng-click="editData()" ng-show="showUpdateBtn" class="btn btn-success">Save</button>
9d840540f   Anchit Jindal   fixed bugs and ne...
208
                                <button ng-click="cancelUpdateData()" ng-show="showUpdateBtn" class="btn btn-default">Cancel</button>
a9aef0b1c   Anchit Jindal   new changes imple...
209
210
                             </div>
                             <div class="pull-right">
f62f8940f   Kuldeep Arora   UI changes
211
                                <button type="button" ng-show="isShowEmail" ng-click="sendMail()" class="btn btn-primary">Distribute Price to Company Contacts</button>
676250262   Kuldeep Arora   enhancement fuel ...
212
                                <button type="button" class="btn btn-info" ng-click="setFuel()">Setup Fuel</button>
a9aef0b1c   Anchit Jindal   new changes imple...
213
214
215
216
217
218
                              </div>
                              <div class="clearfix"></div>
                          </div>
                       </div>
                    </div>
                    <div class="col-md-6" ng-hide="isGlobal">
4bb02bb84   Rishav   new integration w...
219
                       <div class="widget">
feacde5ff   Rishav   setup acuefuel in...
220
                          <div class="widget-header">
74c8ae4bb   Rishav   remove old toogle...
221
222
223
                              <i class="fa fa-building-o" aria-hidden="true"></i>
                              <h3>Company Details</h3>
                              <label>BASE ICAO</label>
4441858d8   Rishav Singla   minor change
224
                              <input type="tel" ng-model="companyData.baseIcao" ng-click="base()" style="line-height: 18px;width: 80px;padding: 0px 9px;" />
74c8ae4bb   Rishav   remove old toogle...
225
226
                             
                              <div class="pull-right" style="margin-top: 5px; margin-right: 10px;">
e196b9b74   Anchit Jindal   new changes added
227
                                <toggle ng-model="companyData.activate" ng-change="changeCompanyStatus()" size="customToogle" on="Active" off="Inactive"></toggle>
74c8ae4bb   Rishav   remove old toogle...
228
                              </div>
feacde5ff   Rishav   setup acuefuel in...
229
230
                          </div>
                          <div class="widget-content">
b1f6160d4   Rishav   add contact and a...
231
                             <div class="row" style="margin-left:0px;">
48ed0c7bb   Rishav   update company co...
232
                                <div class="col-md-7" style="padding-left: 0;">
b1f6160d4   Rishav   add contact and a...
233
234
235
                                   <h4 ng-show="showCompanyName">
                                      <b style="color:#F90;">{{companyData.companyName}}</b> &nbsp;<i class="fa fa-pencil-square-o" ng-click="company()" style="font-size: 14px;" aria-hidden="true"></i>
                                   </h4>
ba1d39503   Swarn Singh   view company form...
236
                                   <input type="tel" ng-hide="showCompanyName" ng-model="companyData.companyName" class="form-control"/>
feacde5ff   Rishav   setup acuefuel in...
237
                                </div>
48ed0c7bb   Rishav   update company co...
238
                                <div class="col-md-5">
7152ff131   Rishav   model handle
239
                                   <select class="form-control" style="padding: 4px 8px;background: #ebebeb;" ng-model="companyData.certificateType">
6efd9a0a8   Anchit Jindal   new desing changes
240
                                      <option class="optionclass" value="" disabled selected>Certificate Type</option>
48ed0c7bb   Rishav   update company co...
241
242
243
244
245
                                      <option class="optionclass" value="corporate">Part 91 (Corporate)</option>
                                      <option class="optionclass" value="charter">Part 135 (Charter)</option>
                                      <option class="optionclass" value="scheduled">Part 121 (Scheduled)</option>
                                      <option class="optionclass" value="military">Military</option>
                                      <option class="optionclass" value="government">Government</option>
feacde5ff   Rishav   setup acuefuel in...
246
247
248
249
                                   </select>
                                </div>
                             </div>
                             <div>
4bb02bb84   Rishav   new integration w...
250
                                <p class="new-label">
9d840540f   Anchit Jindal   fixed bugs and ne...
251
                                   <span>JET A Margin </span> 
a9a8f570d   Anchit Jindal   new desing implem...
252
253
254
255
                                   <select class="form-control" style="width: 135px;padding: 4px 8px;" ng-change="editData()" ng-model="companyData.masterMargin">
                                   	<option ng-if="multiple" value="multiple">Multiple</option>
                                      <option ng-repeat="margin in jetMarginList" value="{{margin.id}}">{{margin.marginName}}</option>
                                   </select>
9d840540f   Anchit Jindal   fixed bugs and ne...
256
                                   <span ng-show="multipleMsg">&nbsp;See Aircraft List</span>
a9a8f570d   Anchit Jindal   new desing implem...
257
258
259
260
261
262
263
                                   <div class="clearfix"></div>
                                </p>
                             </div>
                             <div>
                                <p class="new-label">
                                   <span>AVGAS 100LL </span> 
                                   <select class="form-control" style="width: 135px;padding: 4px 8px;" ng-change="editData()" ng-model="companyData.avgasMargin">
7ee64838c   Anchit Jindal   new desing implem...
264
                                      <option value="">N/A</option>
a9a8f570d   Anchit Jindal   new desing implem...
265
                                      <option ng-repeat="margin in avgsMarginList" value="{{margin.id}}">{{margin.marginName}}</option>
feacde5ff   Rishav   setup acuefuel in...
266
                                   </select>
4bb02bb84   Rishav   new integration w...
267
                                   <div class="clearfix"></div>
feacde5ff   Rishav   setup acuefuel in...
268
269
                                </p>
                             </div>
b1f6160d4   Rishav   add contact and a...
270
271
                             <div class="row"  style="margin-left:0px;"> 
                                <div class="col-md-5" style="padding-left: 0;">
8670c5905   Jaideep Singh   new changes
272
                                   <input type="checkbox" name="" ng-model="companyData.baseTenant" ng-change="checkboxStatus(companyData.baseTenant)"> Tenant/Base Customer
b1f6160d4   Rishav   add contact and a...
273
274
                                </div>
                                <div class="col-md-5" style="padding-left: 0;">
8670c5905   Jaideep Singh   new changes
275
                                   <input type="checkbox" name="" ng-model="companyData.fuelerlinxCustomer" ng-change="fuelercheckboxStatus(companyData.fuelerlinxCustomer)"> FuelerLinx Customer
b1f6160d4   Rishav   add contact and a...
276
                                </div>
feacde5ff   Rishav   setup acuefuel in...
277
278
                             </div>
                             <div>
8670c5905   Jaideep Singh   new changes
279
                                <input type="checkbox" name="" ng-model="companyData.contractFuelVendor" ng-change="checkboxStatus(companyData.contractFuelVendor)"> CAA Member
feacde5ff   Rishav   setup acuefuel in...
280
281
                             </div>
                             </br>
4bb02bb84   Rishav   new integration w...
282
                             <div class="new-address">
9d840540f   Anchit Jindal   fixed bugs and ne...
283
                                <p ng-show="showAddress"><i class="fa fa-map-marker"></i> 
965203935   Anchit Jindal   minor fixes
284
285
                                	<span ng-hide="companyData.addressOne == 'null'">{{companyData.addressOne}}</span><span ng-hide="companyData.addressTwo == 'null'">, 
                                	{{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> &nbsp;<i class="fa fa-pencil-square-o" ng-click="addressChange()" aria-hidden="true"></i> </p>
48ed0c7bb   Rishav   update company co...
286
                                
9d840540f   Anchit Jindal   fixed bugs and ne...
287
                                <div ng-hide="showAddress" style="margin-bottom:10px;">
48ed0c7bb   Rishav   update company co...
288
                                   <label>Address1</label>
ba1d39503   Swarn Singh   view company form...
289
                                   <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.addressOne" class="form-control" />
48ed0c7bb   Rishav   update company co...
290
                                   <label>Address2</label>
ba1d39503   Swarn Singh   view company form...
291
                                   <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.addressTwo" class="form-control" />
9d840540f   Anchit Jindal   fixed bugs and ne...
292
293
294
295
296
297
298
299
                                   <label>City</label>
                                   <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.city" class="form-control" />
                                   <label>State</label>
                                   <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.state" class="form-control" />
                                   <label>ZipCode</label>
                                   <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.zipcode" class="form-control" />
                                   <label>Country</label>
                                   <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="companyData.country" class="form-control" />
48ed0c7bb   Rishav   update company co...
300
301
                                </div>
                                
e9a2edf03   Rishav   update custom field
302
303
304
                                <p ng-repeat="data in companyData.companyCustomContacts" ng-if="data.contactNumber != null">
                                  <i class="fa fa-phone" ng-hide="showEditContact"></i> 
                                  <span ng-hide="showEditContact">{{data.contactNumber}} &nbsp;</span>
9d840540f   Anchit Jindal   fixed bugs and ne...
305
306
                                  <i ng-click="showUpdateContact(data, 'phone')" ng-hide="showEditContact" class="fa fa-pencil-square-o" aria-hidden="true"></i>
                                  <i class="fa fa-trash-o" ng-click="deleteContent(data)" ng-hide="showEditContact" aria-hidden="true"></i>
8f88e39ed   Rishav   add custom field ...
307
308
309
310
                                </p>
                                <p ng-repeat="data in companyData.companyCustomContacts" ng-if="data.email != null">
                                  <i class="fa fa-envelope" ng-hide="showEditEmail"></i> 
                                  <span ng-hide="showEditEmail">{{data.email}} &nbsp;</span>
9d840540f   Anchit Jindal   fixed bugs and ne...
311
312
                                  <i ng-click="showUpdateEmail(data, 'email')" ng-hide="showEditEmail" class="fa fa-pencil-square-o" aria-hidden="true"></i>
  								<i class="fa fa-trash-o" ng-click="deleteContent(data)" ng-hide="showEditEmail" aria-hidden="true"></i>
8f88e39ed   Rishav   add custom field ...
313
                                </p>
4bb02bb84   Rishav   new integration w...
314
                             </div>
9d840540f   Anchit Jindal   fixed bugs and ne...
315
316
317
                             <div style="margin-top:5px; margin-bottom:5px;">
                                <button type="button" ng-click="addCustomPhone('phone')" class="btn btn-default">Add Phone</button>
                                <button type="button" class="btn btn-info" ng-click="addCustomEmail('email')">Add Email</button>
feacde5ff   Rishav   setup acuefuel in...
318
                             </div>
feacde5ff   Rishav   setup acuefuel in...
319
                             <div>
b1f6160d4   Rishav   add contact and a...
320
321
                                <p style="margin-bottom: 0;"><b>Company Notes</b> &nbsp;<i class="fa fa-pencil-square-o" ng-click="showNote()" aria-hidden="true"></i></p>
                                <p ng-show="showNoteData">{{companyData.internalNote}}</p>
ba1d39503   Swarn Singh   view company form...
322
                                <textarea  name="message" ng-hide="showNoteData" style="margin-bottom: 6px;" class="form-control" ng-model="companyData.internalNote" rows="4" cols="34"></textarea>
feacde5ff   Rishav   setup acuefuel in...
323
                             </div>
ba1d39503   Swarn Singh   view company form...
324
325
                             <div class="pull-left">
                                <button ng-click="editData()" ng-show="showUpdateBtn" class="btn btn-success">Save</button>
9d840540f   Anchit Jindal   fixed bugs and ne...
326
                                <button ng-click="cancelUpdateData()" ng-show="showUpdateBtn" class="btn btn-default">Cancel</button>
feacde5ff   Rishav   setup acuefuel in...
327
                             </div>
ba1d39503   Swarn Singh   view company form...
328
                             <div class="pull-right">
f62f8940f   Kuldeep Arora   UI changes
329
                                <button type="button" ng-show="isShowEmail" ng-click="sendMail()" class="btn btn-primary">Distribute Price to Company Contacts</button>
b39fd751d   Kuldeep Arora   fueloder
330
                                <button type="button" class="btn btn-info" ng-click="setFuel()">Setup Fuel</button>
ba1d39503   Swarn Singh   view company form...
331
332
                              </div>
                              <div class="clearfix"></div>
feacde5ff   Rishav   setup acuefuel in...
333
334
335
336
                          </div>
                       </div>
                    </div>
                    <div class="col-md-6">
6efd9a0a8   Anchit Jindal   new desing changes
337
                       <div class="widget" style="min-height: 350px;">
feacde5ff   Rishav   setup acuefuel in...
338
339
                          <div class="widget-header">
                             <i class="fa fa-plane"></i>
4ecd206b2   Kuldeep Arora   Adding company/ai...
340
                             <h3>Aircraft List</h3>
4bb02bb84   Rishav   new integration w...
341
                             <div class="pull-right">
b90971c06   Kuldeep Arora   scheduler and ram...
342
                                <button type="submit" 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>&nbsp; Add Aircraft </button>
4bb02bb84   Rishav   new integration w...
343
                             </div>
feacde5ff   Rishav   setup acuefuel in...
344
                          </div>
6efd9a0a8   Anchit Jindal   new desing changes
345
                          <div class="widget-content" style="padding:0px;min-height: 350px;">
feacde5ff   Rishav   setup acuefuel in...
346
347
348
349
                             <div class="table-responsive">
                                <table class="table table-bordered table-hover table-striped">
                                   <thead>
                                      <tr>
b1f6160d4   Rishav   add contact and a...
350
                                         <th>Tail #</th>
feacde5ff   Rishav   setup acuefuel in...
351
352
                                         <th>Make</th>
                                         <th>Model</th>
bcd6c1025   Kuldeep Arora   aircraft display-...
353
354
                                         <th>Fuel Type</th>
                                         <th>Margin</th>
cca8fa318   Kuldeep Arora   aircraft display ...
355
                                         <th>Value</th>
2398385ac   Anchit Jindal   minor changes
356
                                         <th>All In</th>
bcd6c1025   Kuldeep Arora   aircraft display-...
357
                                         <!-- <th>AVGAS</th> -->
cca8fa318   Kuldeep Arora   aircraft display ...
358
                                        <!--  <th>All In</th> -->
4bb02bb84   Rishav   new integration w...
359
                                         <th></th>
feacde5ff   Rishav   setup acuefuel in...
360
361
362
                                      </tr>
                                   </thead>
                                   <tbody>
b1f6160d4   Rishav   add contact and a...
363
                                      <tr ng-repeat="aircraft in contactAircraftList">
a9aef0b1c   Anchit Jindal   new changes imple...
364
365
366
                                         <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.tail}}</td>
                                         <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.make}}</td>
                                         <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.model}}</td>
bcd6c1025   Kuldeep Arora   aircraft display-...
367
                                         <td ng-style="aircraft.global && {color:'#9e9696'}">{{aircraft.fuelType}}</td>
feacde5ff   Rishav   setup acuefuel in...
368
                                         <td>
bcd6c1025   Kuldeep Arora   aircraft display-...
369
                                            <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>
0ed3fc0f7   Anchit Jindal   minor changes
370
371
                                            	<option value="">N/A</option>
                                            </select>
bcd6c1025   Kuldeep Arora   aircraft display-...
372
373
                                         <!-- </td>
                                         <td> -->
cca8fa318   Kuldeep Arora   aircraft display ...
374
                                          <select ng-show ="xyz && aircraft.fuelType=='100LL'" class="form-control" style="height:31px;" ng-model="aircraft.aircraftsAVGASMargin.id" ng-change="editJetMargin(aircraft,'avgas')">
bcd6c1025   Kuldeep Arora   aircraft display-...
375
376
377
378
                                            <option value="">N/A</option>
                                            <option ng-repeat="margin in avgsMarginList" value="{{margin.id}}">{{margin.marginName}}</option>
                                          </select>
                                        </td>
dadb46117   Kuldeep Arora   color code for va...
379
380
381
382
383
384
385
386
387
                                         <td ng-style="aircraft.global">
                                          <span ng-if="aircraft.aircraftsMargin.pricingStructure === 'equal' || aircraft.aircraftsAVGASMargin.pricingStructure === 'equal' ">
                                          =${{aircraft.marginValue}}
                                          </span>
                                          <span ng-if="aircraft.aircraftsMargin.pricingStructure === 'minus'  || aircraft.aircraftsAVGASMargin.pricingStructure === 'minus'" style="color: #ff0000;">-${{aircraft.marginValue}}
                                          </span>
                                          <span ng-if="aircraft.aircraftsMargin.pricingStructure === 'plus'  || aircraft.aircraftsAVGASMargin.pricingStructure === 'plus' " style="color: green;">+${{aircraft.marginValue}}
                                          </span>
                                        </td>
cca8fa318   Kuldeep Arora   aircraft display ...
388
389
390
391
392
393
394
                                          <td>
                                        <!--  <td ng-show="abc && aircraft.fuelType=='Jet-A'" style="color:#55AF8B;">${{aircraft.marginAllIn | number : 4}}</td>
                                         <td ng-show="xyz && aircraft.fuelType=='100LL'" style="color:#55AF8B;">${{aircraft.marginAvgasAllIn | number : 4}}</td> -->
                                        
                                         <label id="l1" ng-show="abc && aircraft.fuelType=='Jet-A'" style="color:#55AF8B;">${{aircraft.marginAllIn | number : 4}}</label>
                                         <label id="l2" ng-show="xyz && aircraft.fuelType=='100LL'" style="color:#55AF8B;">${{aircraft.marginAvgasAllIn | number : 4}}</label>
                                       </td>
67044e31e   Rishav Singla   modify changes an...
395
                                         <td>
a9aef0b1c   Anchit Jindal   new changes imple...
396
                                          <i class="fa fa-trash-o deleteTierIcon" ng-if="!aircraft.global" ng-click="deleteAircraft(aircraft.id)" aria-hidden="true"></i>
67044e31e   Rishav Singla   modify changes an...
397
                                         </td>
feacde5ff   Rishav   setup acuefuel in...
398
399
400
401
402
403
404
405
406
407
                                      </tr>
                                   </tbody>
                                </table>
                             </div>
                          </div>
                       </div>
                    </div>
                 </div>
                 <div class="row" style="margin-left:0px">
                    <div class="col-md-6">
4bb02bb84   Rishav   new integration w...
408
                       <div class="widget">
feacde5ff   Rishav   setup acuefuel in...
409
410
411
                          <div class="widget-header">
                             <i class="fa fa-user"></i>
                             <h3>Contact List</h3>
4bb02bb84   Rishav   new integration w...
412
                             <div class="pull-right">
b1f6160d4   Rishav   add contact and a...
413
                                <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>&nbsp; Add Contact</button>
4bb02bb84   Rishav   new integration w...
414
                             </div>
feacde5ff   Rishav   setup acuefuel in...
415
416
417
418
419
420
421
422
423
424
425
426
427
                          </div>
                          <div class="widget-content" style="padding:0px">
                             <div class="table-responsive">
                                <table class="table table-bordered table-hover table-striped">
                                   <thead>
                                      <tr>
                                         <th>Price Email</th>
                                         <th>First Name</th>
                                         <th>Last Name</th>
                                         <th>Title</th>
                                      </tr>
                                   </thead>
                                   <tbody>
406deaecb   Rishav   state change
428
                                      <tr ng-repeat="contact in companyContactList" style="cursor: pointer;" ui-sref="app.viewContact({id : contact.id})">
d1fe89776   Rishav Singla   view fuel vendor ...
429
                                         <td><toggle ng-model="contact.priceEmail" ng-change="changePriceEmail(contact.id, $index)" size="customToogle"></toggle></td>
3cab9e8a3   Rishav   implement view co...
430
                                         <td>
3cab9e8a3   Rishav   implement view co...
431
                                              {{contact.firstName}}
3cab9e8a3   Rishav   implement view co...
432
                                          </td>
b1f6160d4   Rishav   add contact and a...
433
434
                                         <td>{{contact.lastName}}</td>
                                         <td>{{contact.title}}</td>
feacde5ff   Rishav   setup acuefuel in...
435
436
437
438
439
440
441
442
                                      </tr>
                                   </tbody>
                                </table>
                             </div>
                          </div>
                       </div>
                    </div>
                    <div class="col-md-6">
4bb02bb84   Rishav   new integration w...
443
                       <div class="widget">
feacde5ff   Rishav   setup acuefuel in...
444
445
446
447
448
449
                          <div class="widget-header">
                             <i class="fa fa-pencil"></i>
                             <h3>Price Manager Reference</h3>
                          </div>
                          <div class="widget-content">
                             <div class="table-responsive">
64b3dc0e3   Kuldeep Arora   omit vendor and c...
450
451
                                <table class="table table-striped strikeTable" style="position: relative; margin-bottom: 0;">
                                  <!-- <table class="table table-striped" style="position: relative; margin-bottom: 0;"> -->
feacde5ff   Rishav   setup acuefuel in...
452
453
454
455
456
457
458
459
460
461
462
                                   <thead>
                                      <tr>
                                         <th>Omit</th>
                                         <th>Product</th>
                                         <th>Cost</th>
                                         <th>PAP (Margin)</th>
                                         <th>PAP (Total)</th>
                                         <th style="color:#F90">Expires</th>
                                      </tr>
                                   </thead>
                                   <tbody>
64b3dc0e3   Kuldeep Arora   omit vendor and c...
463
464
                                      <tr ng-repeat="fuel in fuelPricing | orderBy:'name' : 'reverse' | filter:{ status: true }" ng-class="fuel.fuelPricing.omit ? 'strikeout' : ''">
                                        <!-- <tr ng-repeat="fuel in fuelPricing | orderBy:'name' : 'reverse' | filter:{ status: true }"> -->
40c8c308c   Kuldeep Arora   omit css
465
466
467
468
469
                                         <td><input type="checkbox" ng-model="fuel.fuelPricing.omit" ng-change="updateOmit(fuel.fuelPricing, fuel.status)"></td>
                                         <td>{{fuel.name}}</td>
                                         <td>${{fuel.fuelPricing.cost | number :4}}</td>
                                         <td>${{fuel.fuelPricing.papMargin | number :4}}</td>
                                         <td style="color:#55AF8B;">${{fuel.fuelPricing.papTotal | number :4}}</td>
8ce025719   Anchit Jindal   minor changes
470
                                         <td style="color:#F90">{{fuel.fuelPricing.expirationDate | date : "MM/dd/y" }}</td>
40c8c308c   Kuldeep Arora   omit css
471
472
                                      </tr>
  	                                 
feacde5ff   Rishav   setup acuefuel in...
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
                                   </tbody>
                                </table>
                             </div>
                          </div>
                       </div>
                    </div>
                 </div>
              </div>
              <!-- /widget-content -->
           </div>
           <!-- /widget -->
        </div>
        <!-- /span6 -->
     </div>
     <!-- /widget -->
  </div>
  <!-- /container -->
55e075d7e   Rishav   add contact, add ...
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
  <form class="modal multi-step" id="contact-modal-3" name="companyForm">
      <div class="modal-dialog modal-lg">
          <div class="modal-content">
              <div class="modal-body step-1" data-step="1" style="padding: 0;">
                 <div>
                    <div class="row" style="margin: 0;">
                       <div>
                          <div class="widget" style="margin-bottom: 0; box-shadow: none;">
                             <div class="widget-header">
                                <i class="icon-pencil"></i>
                                <i class="fa fa-tasks" aria-hidden="true"></i>
                                <h3>Add a New Contact</h3>
                                <div class="clearfix"></div>
                             </div>
                             <div class="widget-content" style="padding-left: 0; padding-right: 0; border-bottom: 0;">
                                <div class="col-xs-12">
                                   <div class="col-md-6">
                                      <div class="pull-left" style="width: 110px;">
                                         <label class="new-input-label"><b>First Name</b></label>
                                      </div>
                                      <div class="pull-left" style="margin-left: 15px;">
                                         <input type="tel" ng-model="data.firstName" class="form-control" placeholder="">
                                      </div>
                                      <div class="clearfix"></div>
                                   </div>
                                   <div class="col-md-6">
                                      
                                      <div class="pull-left" style="width: 110px;">
                                         <label class="new-input-label"><b>Last Name</b></label>
                                      </div>
                                      <div class="pull-left" style="margin-left: 15px;">
                                         <input type="tel" ng-model="data.lastName" class="form-control" id="Address" placeholder="">
                                      </div>
                                      <div class="clearfix"></div>
                                   </div>
                                </div>
                                <div class="clearfix"></div><br>
                                <div class="col-xs-12">
                                   <div class="col-md-6">
                                      <div class="pull-left" style="width: 110px;">
                                         <label class="new-input-label"><b>Title</b></label>
                                      </div>
                                      <div class="pull-left" style="margin-left: 15px;">
                                         <input type="tel" ng-model="data.title" class="form-control" id="Address" placeholder="">
                                      </div>
                                      <div class="clearfix"></div>
                                   </div>
                                   <div class="col-md-6">
                                      
                                      <div class="pull-left" style="width: 110px;">
                                         <label class="new-input-label"><b>Email</b></label>
                                      </div>
                                      <div class="pull-left" style="margin-left: 15px;">
                                         <input type="email" ng-model="data.email" class="form-control" id="Address" placeholder="">
                                      </div>
                                      <div class="clearfix"></div>
                                   </div>
                                </div>
                                <div class="clearfix"></div><br>
                                <div class="col-xs-12">
                                   <div class="col-md-6">
                                      <div class="pull-left" style="width: 110px;">
                                         <label class="new-input-label"><b>Username</b></label>
                                      </div>
                                      <div class="pull-left" style="margin-left: 15px;">
                                         <input type="tel" ng-model="data.userName" class="form-control" id="Address" placeholder="">
                                      </div>
                                      <div class="clearfix"></div>
                                   </div>
                                   <div class="col-md-6">
                                      
                                      <div class="pull-left" style="width: 110px;">
                                         <label class="new-input-label"><b>Password</b></label>
                                      </div>
                                      <div class="pull-left" style="margin-left: 15px;">
                                         <input type="password" ng-model="data.password" class="form-control" id="Address" placeholder="">
                                      </div>
                                      <div class="clearfix"></div>
                                   </div>
                                </div>
                                <div class="clearfix"></div><br>
                                <div class="col-xs-12">
                                   <div class="col-md-6">
                                      <div class="pull-left" style="width: 110px;">
                                         <label class="new-input-label"><b>Work Phone</b></label>
                                      </div>
                                      <div class="pull-left" style="margin-left: 15px;">
                                         <input type="tel" ng-model="data.workPhone" class="form-control" id="Address" placeholder="">
                                      </div>
                                      <div class="clearfix"></div>
                                   </div>
                                   <div class="col-md-6">
                                      
                                      <div class="pull-left" style="width: 110px;">
                                         <label class="new-input-label"><b>Mobile Phone</b></label>
                                      </div>
                                      <div class="pull-left" style="margin-left: 15px;">
                                         <input type="tel" ng-model="data.mobilePhone" class="form-control" id="Address" placeholder="">
                                      </div>
                                      <div class="clearfix"></div>
                                   </div>
                                </div>
                                <div class="clearfix"></div><br>
359303f53   Kuldeep Arora   Adding company/ai...
593
                               <!--  <div class="col-xs-12">
55e075d7e   Rishav   add contact, add ...
594
595
596
597
598
599
600
601
602
603
                                    <div class="col-md-12">
                                      <div class="pull-left" style="width: 110px;">
                                         <label class="new-input-label"><b>Address</b></label>
                                      </div>
                                      <div class="pull-right" style="width: calc(100% - 123px);">
                                         <input type="tel" class="form-control" ng-model="data.address" id="Address" placeholder="">
                                      </div>
                                      <div class="clearfix"></div>
                                   </div>
                                </div>
359303f53   Kuldeep Arora   Adding company/ai...
604
                                <div class="clearfix"></div> -->
55e075d7e   Rishav   add contact, add ...
605
606
607
608
609
                                <br/>
                                <div class="col-xs-12">
                                   <div class="col-md-3">
                                      <div class="pull-left my-toggle-switch">
                                         <div style="color: #ff9a01;">Price Email &nbsp &nbsp
74c8ae4bb   Rishav   remove old toogle...
610
                                            <toggle ng-model="data.priceEmail" size="customToogle"></toggle>
55e075d7e   Rishav   add contact, add ...
611
612
613
614
615
616
617
                                         </div>
                                      </div>
                                      <div class="clearfix"></div>
                                   </div>
                                   <div class="col-md-3">
                                      <div class="pull-left my-toggle-switch">
                                         <div style="color: #ff9a01;">Primary Contact &nbsp &nbsp
3a9f4472b   Rishav   Implement contact...
618
                                            <input type="checkbox" ng-click="checkPrimaryContact()" ng-model="primaryContact">
55e075d7e   Rishav   add contact, add ...
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
                                         </div>
                                      </div>
                                      <div class="clearfix"></div>
                                   </div>
                                   <div class="col-md-6">
                                      <div class="pull-left" style="width: 110px;">
                                         <label class="new-input-label"><b>Internal Note</b></label>
                                      </div>
                                      <div class="pull-left" style="width: calc(100% - 110px);">
                                         <textarea  name="message" ng-model="data.note" rows="4" cols="34"></textarea>
                                      </div>
                                   </div>
                                   <div class="clearfix"></div>
                                </div>
                                <div class="clearfix"></div><br>
                             </div>
                          </div>
                          <div class="clearfix"></div>
                       </div>
                    </div>
                 </div>
              </div>
              <div class="modal-footer" style="border-top: 0;">
7152ff131   Rishav   model handle
642
                  <button type="button" class="btn btn-default" id="reset" data-dismiss="modal">Cancel</button>
55e075d7e   Rishav   add contact, add ...
643
644
645
646
647
                  <button type="button" class="btn btn-primary step step-1" data-step="1" ng-click="addContact()">Save</button>
              </div>
          </div>
      </div>
  </form>
4bb02bb84   Rishav   new integration w...
648
  <div class="clearfix"></div>
b1f6160d4   Rishav   add contact and a...
649

676250262   Kuldeep Arora   enhancement fuel ...
650
  <!-- SetUp fuel order -->
9d840540f   Anchit Jindal   fixed bugs and ne...
651
652
  <form class="modal" id="demo-modal-4" name="orderform">
      <div class="modal-dialog modal-md">
676250262   Kuldeep Arora   enhancement fuel ...
653
          <div class="modal-content">
9d840540f   Anchit Jindal   fixed bugs and ne...
654
655
656
657
658
659
660
661
662
              <div class="modal-body" data-step="1" style="padding: 0;">
                  <div>
                      <div class="row" style="margin: 0;">
                          <div>
                              <div class="widget" style="margin-bottom: 0;box-shadow: none;">
                                  <div class="widget-header">
                                      <i class="icon-pencil"></i>
                                      <i class="fa fa-tasks" aria-hidden="true"></i>
                                      <h3>Search and Dispatch Fuel</h3>
676250262   Kuldeep Arora   enhancement fuel ...
663
                                      <div class="clearfix"></div>
9d840540f   Anchit Jindal   fixed bugs and ne...
664
665
666
667
668
669
670
671
672
673
674
                                  </div>
                                  <div class="widget-content" style="padding-left: 0; padding-right: 0; border-bottom: 0;">
                                      <div class="col-xs-12">
                                          <div class="col-xs-12">
                                             <div class="pull-left" style="width: 110px;">
                                                 <label class="new-input-label"><b>Company</b></label>
                                             </div>
                                             <div class="pull-left" style="width: calc(100% - 110px);">
                                                 <input type="text" disabled ng-model="order.companyName"  class="form-control" value="{{order.companyName}}" />
                                             </div>
                                             <div class="clearfix"></div>
676250262   Kuldeep Arora   enhancement fuel ...
675
676
                                          </div>
                                          <div class="clearfix"></div>
9d840540f   Anchit Jindal   fixed bugs and ne...
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
                                          <br>
                                          <div class="col-xs-12">
                                              <div class="col-md-6">
                                                  <div class="pull-left" style="width: 110px;">
                                                      <label class="new-input-label"><b>Aircraft</b></label>
                                                  </div>
                                                  <div class="pull-left" style="width: calc(100% - 110px);">
                                                      <select class="form-control" ng-model="order.aircraftName" required>
  														<option selected disabled value="">Select Aircraft</option>
  														<option ng-repeat="list in aircraftList" value="{{list}}">{{list.tail}}</option>
  													</select>
                                                  </div>
                                                  <div class="clearfix"></div>
                                              </div>
                                              <div class="col-md-6">
                                                  <div class="pull-left" style="width: 110px;">
                                                      <label class="new-input-label"><b>Requested Volume</b></label>
                                                  </div>
                                                  <div class="pull-left" style="width: calc(100% - 110px);">
                                                      <input type="text" ng-model="order.volume" class="form-control" required>
                                                  </div>
                                                  <div class="clearfix"></div>
                                              </div>
                                          </div>
                                          <div class="clearfix"></div>
                                          <br/>
                                          <div class="col-xs-12">
                                               <div class="pull-left" style="width: 110px;">
                                                   <label class="new-input-label"><b>Price Quote</b></label>
                                               </div>
                                               <div class="pull-left" style="width: calc(100% - 110px);">
                                                   <select class="form-control" ng-model="order.priceQuote" ng-change="setCost(order.priceQuote); tiervalue()" required>
  													<option value="" selected disabled>Select Price Quote</option>
  													<option ng-repeat="margin in marginList" value="{{margin}}">${{margin.papTotal | number : 2}} {{margin.productName}}</option>
  												</select>
                                               </div>
                                               <div class="clearfix"></div>
                                          </div>
                                          <div class="clearfix"></div>
                                          <br/>
                                          <div class="col-xs-12">
                                              <div class="pull-left" style="width: 110px;">
                                                  <label class="new-input-label"><b>Tier Break</b></label>
                                              </div>
                                              <div class="pull-left" style="width: calc(100% - 110px);">
                                                  <select class="form-control" ng-model="order.tierBreak">
  													<option value="" selected disabled>Select Tier Break</option>
  													<option ng-repeat="list in tierList" value="{{list.minTierBreak}}-{{list.maxTierBreak}}">
  														{{list.minTierBreak}}-{{list.maxTierBreak}} = ${{list.marginTotal | number: 2}} {{list.marginTemplate.marginName}}
  													</option>
  												</select>
                                              </div>
                                              <div class="clearfix"></div>
                                          </div>
                                          <div class="clearfix"></div>
                                          <br/>
                                          <div class="col-xs-12">
                                              <div class="pull-left" style="width: 110px;">
                                                  <label class="new-input-label"><b>Uplift Date</b></label>
                                              </div>
                                              <div class="pull-left" style="width: calc(100% - 110px);">
                                                  <input type="text" ng-model="order.upliftDate" datepicker class="form-control" style="width: 100px" required>
                                              </div>
                                              <div class="clearfix"></div>
                                          </div>
                                          <div class="clearfix"></div>
                                          <br/>
676250262   Kuldeep Arora   enhancement fuel ...
744
                                      </div>
9d840540f   Anchit Jindal   fixed bugs and ne...
745
746
747
                                  </div>
                                  <div class="clearfix"></div>
                              </div>
676250262   Kuldeep Arora   enhancement fuel ...
748
                          </div>
9d840540f   Anchit Jindal   fixed bugs and ne...
749
750
751
752
753
754
755
                      </div>
                  </div>
  
                  <div class="modal-footer" style="border-top: 0;">
                      <button type="button" class="btn btn-default" ng-click="cancelData()" data-dismiss="modal">Cancel</button>
                      <button type="button" class="btn btn-primary step step-1" data-step="1" ng-click="dispatchFuel()">Dispatch</button>
                  </div>
676250262   Kuldeep Arora   enhancement fuel ...
756
              </div>
676250262   Kuldeep Arora   enhancement fuel ...
757
758
          </div>
      </div>
676250262   Kuldeep Arora   enhancement fuel ...
759
  </form>
1d6e37847   Kuldeep Arora   fueltype in addin...
760
  <div class="clearfix"></div>
676250262   Kuldeep Arora   enhancement fuel ...
761

b1f6160d4   Rishav   add contact and a...
762
763
764
765
766
767
768
769
770
771
772
  <form class="modal multi-step" id="aircraft-modal-3" name="aircraftForm">
      <div class="modal-dialog modal-lg">
          <div class="modal-content">
              <div class="modal-body step-2" data-step="2" style="padding: 0;">
                 <div>
                    <div class="row" style="margin: 0;">
                       <div>
                          <div class="widget" style="margin-bottom: 0;box-shadow: none;">
                             <div class="widget-header">
                                <i class="icon-pencil"></i>
                                <i class="fa fa-tasks" aria-hidden="true"></i>
633bbda7a   Kuldeep Arora   aircraft size aut...
773
                                <h3>Add a New Aircraft</h3>
b1f6160d4   Rishav   add contact and a...
774
775
776
777
778
779
                                <div class="clearfix"></div>
                             </div>
                             <div class="widget-content" style="padding-left: 0; padding-right: 0; border-bottom: 0;">
                                <div class="col-xs-12">
                                   <div class="widget-header">
                                      <i class="fa fa-list"></i>
4ecd206b2   Kuldeep Arora   Adding company/ai...
780
                                      <h3>Aircraft List</h3>
b1f6160d4   Rishav   add contact and a...
781
782
783
784
785
786
787
788
789
790
791
                                   </div>
                                   <div class="widget-content" style="padding:0px;border: 0px; padding: 0px !important;">
                                      <div class="table-responsive">
                                         <table class="table table-striped table-bordered">
                                            <thead>
                                               <tr>
                                                  <!-- <th><input type="checkbox" ng-model="selectedAll" ng-click="checkAll()" /></th> -->
                                                  <th>Tail</th>
                                                  <th>Make</th>
                                                  <th>Model</th>
                                                  <th>Size</th>
7ee64838c   Anchit Jindal   new desing implem...
792
793
                                                  <th>JET A Margin</th>
                                                  <th>AVGS 100LL Margin</th>
b1f6160d4   Rishav   add contact and a...
794
795
796
797
798
799
800
                                               </tr>
                                            </thead>
                                            <tbody>
                                               <tr ng-repeat="aircraftData in aircraftDetails track by $index">
                                                  <!-- <td>
                                                     <input type="checkbox" ng-model="aircraftData.selected"/>
                                                     </td> -->
1d6e37847   Kuldeep Arora   fueltype in addin...
801
                                                  <!-- <td style="width: 15%">
07328f442   Rishav Singla   new code added fo...
802
                                                     <input type="tel" class="form-control" ng-model="aircraftData.tail" ng-blur="checkJetWithTail(aircraftData.tail, $index)" required/>
1d6e37847   Kuldeep Arora   fueltype in addin...
803
804
                                                  </td> -->
                                                  <td style="width: 15%">
1d7e82fdd   Anchit Jindal   fixed bug
805
                                                     <input type="tel" class="form-control" ng-model="aircraftData.tail" ng-blur="checkTail(aircraftData.tail, $index);" required/>
b1f6160d4   Rishav   add contact and a...
806
                                                  </td>
7ee64838c   Anchit Jindal   new desing implem...
807
                                                  <td style="width: 17%">
359303f53   Kuldeep Arora   Adding company/ai...
808
                                                     <select class="form-control" style="width: fit-content;" ng-model="aircraftData.make" ng-change="getModal(aircraftData.make, $index) ">
07328f442   Rishav Singla   new code added fo...
809
                                                        <option value="" disabled>Select</option>
2bfb51a50   Kuldeep Arora   minor updates
810
                                                        <option ng-repeat="make in aircraftMakeList | orderBy">{{make}}</option>
b1f6160d4   Rishav   add contact and a...
811
812
                                                     </select>
                                                  </td>
7ee64838c   Anchit Jindal   new desing implem...
813
                                                  <td style="width: 17%">
b1f6160d4   Rishav   add contact and a...
814
                                                     <select class="form-control" ng-model="aircraftData.model" ng-change="getSize(aircraftData.model, $index)">
07328f442   Rishav Singla   new code added fo...
815
                                                        <option value="" disabled>Select</option>
2bfb51a50   Kuldeep Arora   minor updates
816
                                                        <option ng-repeat="model in aircraftData.aircraftModalList | orderBy">{{model}}</option>
b1f6160d4   Rishav   add contact and a...
817
818
                                                     </select>
                                                  </td>
88abaa681   Kuldeep Arora   size auto-populat...
819
                                                  <td style="width: 17%">
33a64416f   Anchit Jindal   mbug fixes
820
                                                    <select class="form-control" ng-model="aircraftData.size" ng-change="getFuelType(aircraftData.size, $index)">
07328f442   Rishav Singla   new code added fo...
821
                                                        <option value="" disabled>Select</option>
88abaa681   Kuldeep Arora   size auto-populat...
822
                                                        <option ng-repeat="size in aircraftData.aircraftSizeList" value="{{size.aircraftSize.id}}" ng-selected="aircraftData.size = aircraftData.aircraftSizeList[0].aircraftSize.id">{{size.aircraftSize.size}}</option>
07328f442   Rishav Singla   new code added fo...
823
                                                    </select>
b1f6160d4   Rishav   add contact and a...
824
                                                  </td>
7ee64838c   Anchit Jindal   new desing implem...
825
                                                  <td style="width: 17%">
07328f442   Rishav Singla   new code added fo...
826
827
828
829
  
                                                    <select class="form-control" ng-model="aircraftData.marginId" ng-disabled="jetShow[$index]">
                                                        <option value="" disabled>Select</option>
                                                        <option ng-repeat="margin in jetMarginList" value="{{margin.id}}">{{margin.marginName}}</option>
7ee64838c   Anchit Jindal   new desing implem...
830
                                                    </select>
07328f442   Rishav Singla   new code added fo...
831
832
833
834
835
  
                                                    <!-- <select class="form-control" ng-model="aircraftData.marginId" ng-options="margin.id as margin.marginName for margin in jetMarginList" ng-disabled="jetShow[$index]">
  
                                                      <option value="" disabled>Select...</option>
                                                    </select> -->
7ee64838c   Anchit Jindal   new desing implem...
836
837
                                                  </td>
                                                  <td style="width: 17%">
07328f442   Rishav Singla   new code added fo...
838
839
840
                                                    <select class="form-control" ng-model="aircraftData.avgasMarginId" ng-disabled="marginShow[$index]">
                                                        <option value="" disabled>Select</option>
                                                        <option ng-repeat="avgs in avgsMarginList" value="{{avgs.id}}">{{avgs.marginName}}</option>
7ee64838c   Anchit Jindal   new desing implem...
841
                                                    </select>
07328f442   Rishav Singla   new code added fo...
842
843
844
845
                                                    
                                                   <!-- <select class="form-control marginSelectBox" ng-model="aircraftData.avgasMarginId" ng-options="avgs.id as avgs.marginName for avgs in avgsMarginList" ng-disabled="marginShow[$index]">
                                                      <option value="" disabled>Select...</option>
                                                    </select> -->
3a9f4472b   Rishav   Implement contact...
846
                                                  </td>
b1f6160d4   Rishav   add contact and a...
847
848
849
850
851
852
853
854
855
                                               </tr>
                                            </tbody>
                                         </table>
                                      </div>
                                      <div class="clearfix"></div>
                                   </div>
                                </div>
                                <div class="clearfix"></div>
                                <div class="col-xs-12" style="margin-bottom: 50px;margin-top: 10px;">
b90971c06   Kuldeep Arora   scheduler and ram...
856
                                   <button ng-click="addNew()" class="button1 turquoise pull-right"><span>+</span>Add Aircraft </button>
b1f6160d4   Rishav   add contact and a...
857
858
859
860
861
862
863
864
                                </div>
                             </div>
                          </div>
                          <div class="clearfix"></div>
                       </div>
                    </div>
                 </div>
              </div>
4ecd206b2   Kuldeep Arora   Adding company/ai...
865

b1f6160d4   Rishav   add contact and a...
866
              <div class="modal-footer" style="border-top: 0;">
7152ff131   Rishav   model handle
867
                  <button type="button" class="btn btn-default" id="reset" data-dismiss="modal">Cancel</button>
2075411ed   Kuldeep Arora   create fuel order...
868
                  <button type="button" class="btn btn-primary step step-1" data-step="1" ng-disabled="aircraftForm.$invalid" ng-click="saveCompanyData()">Save</button>
b1f6160d4   Rishav   add contact and a...
869
870
871
872
              </div>
          </div>
      </div>
  </form>
8670c5905   Jaideep Singh   new changes
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
  <div class="customConfirmPopBackdrop" id="fuelerchange" >
     <div class="customModalInner" style="max-width: 550px;">
        <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
           <table>
              <tr>
                 <td>
                    <img src="img/info.png" style="width: 50px;">
                 </td>
                 <td>
                    <p style="padding: 5px 10px; margin-bottom: 0;">{{statusMessage}}</p>
                 </td>
              </tr>
           </table>
        </div>
        <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="fuelerAcceptStatus()">Accept</button>
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="fuelerCancelStatus()">Cancel</button>
        </div>
     </div>
  </div>
3a9f4472b   Rishav   Implement contact...
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
  <div class="customConfirmPopBackdrop" id="confirm1">
     <div class="customModalInner" style="max-width: 400px;">
        <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
           <table>
              <tr>
                 <td>
                    <img src="img/info.png" style="width: 50px;">
                 </td>
                 <td>
                    <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to email pricing to everyone in your contact list?</p>
                 </td>
              </tr>
           </table>
        </div>
        <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="sendMail()">Yes</button>
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAndCloseConfirm()">Cancel</button>
        </div>
     </div>
  </div>
3a9f4472b   Rishav   Implement contact...
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
  <div class="customConfirmPopBackdrop" id="primaryContact">
     <div class="customModalInner" style="max-width: 400px;">
        <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
           <table>
              <tr>
                 <td>
                    <img src="img/info.png" style="width: 50px;">
                 </td>
                 <td>
                    <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure you want to set this person as your primary contact?</p>
                 </td>
              </tr>
           </table>
        </div>
        <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="sendPrimaryContact()">Yes</button>
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelPrimaryContact()">Cancel</button>
        </div>
     </div>
  </div>
9d840540f   Anchit Jindal   fixed bugs and ne...
933
  <div class="customConfirmPopBackdrop" id="customFieldEmail">
3a9f4472b   Rishav   Implement contact...
934
935
936
937
938
     <div class="customModalInner" style="max-width: 400px;">
        <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
           <div class="col-md-2"><img class="src-image" src="img/images.jpg"></div>
              <div class="col-md-10">
                  <form>
9d840540f   Anchit Jindal   fixed bugs and ne...
939
                    Email Type:<br>
3a9f4472b   Rishav   Implement contact...
940
                    <input type="text" name="firstname" ng-model="custom.title"><br>
9d840540f   Anchit Jindal   fixed bugs and ne...
941
                    Email-Address:<br>
3a9f4472b   Rishav   Implement contact...
942
943
                    <input type="text" name="lastname" ng-model="custom.content">
                  </form>
fd20aa6ce   Rishav   send confirmation...
944
              </div>
3a9f4472b   Rishav   Implement contact...
945
946
947
              <div class="clearfix"></div>
        </div>
        <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
9d840540f   Anchit Jindal   fixed bugs and ne...
948
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="acceptCustomField('email')">Accept</button>
8f88e39ed   Rishav   add custom field ...
949
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelCustomField()">Cancel</button>
3a9f4472b   Rishav   Implement contact...
950
951
952
        </div>
     </div>
  </div>
9d840540f   Anchit Jindal   fixed bugs and ne...
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
  
  
  <div class="customConfirmPopBackdrop" id="customFieldPhone">
     <div class="customModalInner" style="max-width: 400px;">
        <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
           <div class="col-md-2"><img class="src-image" src="img/images.jpg"></div>
              <div class="col-md-10">
                  <form>
                    Phone Type:<br>
                    <input type="text" name="firstname" ng-model="custom.title"><br>
                    Number:<br>
                    <input type="text" name="lastname" ng-model="custom.content">
                  </form>
              </div>
              <div class="clearfix"></div>
        </div>
        <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="acceptCustomField('phone')">Accept</button>
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelCustomField()">Cancel</button>
        </div>
     </div>
  </div>
e9a2edf03   Rishav   update custom field
975
976
977
978
979
980
  <div class="customConfirmPopBackdrop" id="updateContact">
     <div class="customModalInner" style="max-width: 400px;">
        <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
           <div class="col-md-2"><img class="src-image" src="img/images.jpg"></div>
              <div class="col-md-10">
                  <form>
9d840540f   Anchit Jindal   fixed bugs and ne...
981
                    Phone Type:<br>
e9a2edf03   Rishav   update custom field
982
                    <input type="text" name="firstname" ng-model="updateData.title"><br>
9d840540f   Anchit Jindal   fixed bugs and ne...
983
                    Number:<br>
e9a2edf03   Rishav   update custom field
984
985
986
987
988
989
                    <input type="text" name="lastname" ng-model="updateData.content">
                  </form>
              </div>
              <div class="clearfix"></div>
        </div>
        <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
9d840540f   Anchit Jindal   fixed bugs and ne...
990
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="acceptUpdateField('phone')">Accept</button>
e9a2edf03   Rishav   update custom field
991
992
993
994
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelUpdateField()">Cancel</button>
        </div>
     </div>
  </div>
9d840540f   Anchit Jindal   fixed bugs and ne...
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
  
  <div class="customConfirmPopBackdrop" id="updateEmail">
     <div class="customModalInner" style="max-width: 400px;">
        <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
           <div class="col-md-2"><img class="src-image" src="img/images.jpg"></div>
              <div class="col-md-10">
                  <form>
                    Email Type:<br>
                    <input type="text" name="firstname" ng-model="updateData.title"><br>
                    Email-Address:<br>
                    <input type="text" name="lastname" ng-model="updateData.content">
                  </form>
              </div>
              <div class="clearfix"></div>
        </div>
        <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="acceptUpdateField('email')">Accept</button>
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelUpdateField()">Cancel</button>
        </div>
     </div>
  </div>
da24c95c8   Rishav Singla   confirmation mess...
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
  <div class="customConfirmPopBackdrop" id="delete1">
     <div class="customModalInner" style="max-width: 400px;">
        <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
           <table>
              <tr>
                 <td>
                    <img src="img/info.png" style="width: 50px;">
                 </td>
                 <td>
                    <p style="padding: 5px 10px; margin-bottom: 0;">Please confirm! Are you sure you want to DELETE this Aircraft?</p>
                 </td>
              </tr>
           </table>
        </div>
        <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="aircraftDelete()">Accept</button>
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelDelete()">Cancel</button>
        </div>
     </div>
  </div>
cf43d578a   Kuldeep Arora   delete company up...
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
  <div class="customConfirmPopBackdrop" id="delete2">
     <div class="customModalInner" style="max-width: 400px;">
        <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
           <table>
              <tr>
                 <td>
                    <img src="img/info.png" style="width: 50px;">
                 </td>
                 <td>
                    <p style="padding: 5px 10px; margin-bottom: 0;">Please confirm! Are you sure you want to DELETE this Company & its related data?</p>
                 </td>
              </tr>
           </table>
        </div>
        <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="deleteCompanyData()">Accept</button>
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelDelete()">Cancel</button>
        </div>
     </div>
  </div>
da24c95c8   Rishav Singla   confirmation mess...
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
  <div class="customConfirmPopBackdrop" id="delete3">
     <div class="customModalInner" style="max-width: 400px;">
        <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
           <table>
              <tr>
                 <td>
                    <img src="img/info.png" style="width: 50px;">
                 </td>
                 <td>
                    <p style="padding: 5px 10px; margin-bottom: 0;">{{statusMessage}}</p>
                 </td>
              </tr>
           </table>
        </div>
        <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="companyStatus()">Accept</button>
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelStatus()">Cancel</button>
        </div>
     </div>
  </div>
da24c95c8   Rishav Singla   confirmation mess...
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
  <div class="customConfirmPopBackdrop" id="toogleMail">
     <div class="customModalInner" style="max-width: 400px;">
        <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
           <table>
              <tr>
                 <!-- <td>
                    <img src="" style="width: 50px;">
                 </td> -->
                 <td>
                    <p style="padding: 5px 10px; margin-bottom: 0;text-align: center;">{{messageText}}</p>
                 </td>
              </tr>
           </table>
        </div>
        <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
9e95ca5bc   Kuldeep Arora   minor change
1091
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelToogle()">Ok</button>
da24c95c8   Rishav Singla   confirmation mess...
1092
1093
1094
        </div>
     </div>
  </div>
1d7e82fdd   Anchit Jindal   fixed bug
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
  
  
  <div class="customConfirmPopBackdrop" id="addAirCraftError">
     <div class="customModalInner" style="max-width: 400px;">
        <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
           <table>
              <tr>
                 <td>
                    <p style="padding: 5px 10px; margin-bottom: 0;">{{aircraftMessage}}</p>
                 </td>
              </tr>
           </table>
        </div>
        <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAirCraftError()">Cancel</button>
        </div>
     </div>
  </div>
  
  <div class="customConfirmPopBackdrop" id="addAirCraftWarning">
     <div class="customModalInner" style="max-width: 400px;">
        <div class="customModelBody" style="border-radius: 5px 5px 0 0;">
           <table>
              <tr>
                 <td>
                    <p style="padding: 5px 10px; margin-bottom: 0;">{{aircraftMessage}}</p>
                 </td>
              </tr>
           </table>
        </div>
        <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;">
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="acceptAirCraftError()">Yes</button>
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAirCraftError()">No</button>
        </div>
     </div>
  </div>
d24318592   Rishav   changes and new i...
1131
1132
1133
  <div class="myLoader" ng-show="showLoader">
     <img src="../img/hourglass.gif" width="50px;">
  </div>
feacde5ff   Rishav   setup acuefuel in...
1134
1135
1136
  <!-- Le javascript
     ================================================== -->
  <!-- Placed at the end of the document so the pages load faster -->
4bb02bb84   Rishav   new integration w...
1137
  <!-- <script
feacde5ff   Rishav   setup acuefuel in...
1138
1139
1140
1141
     CKEDITOR.replace( 'editor2', {
        height: 250,
        extraPlugins: 'divarea'
     } );
55e075d7e   Rishav   add contact, add ...
1142
     </script> -->