Blame view

app/partials/viewFuelVendor/viewFuelVendor.html 32.3 KB
cd330b5ee   Rishav   fuel vendor and v...
1
2
3
4
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
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
119
120
  <style>
     .subnavbar .mainnav > li:nth-child(3) > a{
     color: #ff9900;
     }
     .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;
     }
  
     .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;
     }
  
  </style>
d1fe89776   Rishav Singla   view fuel vendor ...
121
122
123
  <div class="myLoader" ng-show="showLoader">
    <img src="../img/hourglass.gif" width="50px;">
  </div>
e5448f302   Kuldeep Arora   delete fuelvendor UI
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
  <!--Delete model-->
  <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 Fuel Vendor & 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="deleteVendorData()">Accept</button>
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelDelete()">Cancel</button>
        </div>
     </div>
  </div>
d1fe89776   Rishav Singla   view fuel vendor ...
145
  <div class="col-xs-12 col-md-12">
cd330b5ee   Rishav   fuel vendor and v...
146
147
148
149
150
     <div class="row" style="margin-left:0px">
        <div class="col-md-12">
           <div class="widget">
              <div class="widget-header">
                 <i class="fa fa-building-o" aria-hidden="true"></i>
d1fe89776   Rishav Singla   view fuel vendor ...
151
                 <h3>{{vendorData.vendorName}} <i class="fa fa-trash-o deleteTierIcon" ng-click="deleteVendor(vendorData.id)" aria-hidden="true"></i></h3>
cdf775224   Anchit Jindal   fixed company and...
152
                 <i class="fa fa-times timess" ui-sref="app.FuelVendors" aria-hidden="true"></i>
cd330b5ee   Rishav   fuel vendor and v...
153
154
155
156
157
158
159
160
              </div>
              <!-- /widget-header -->
              <div class="widget-content">
                 <div class="row" style="margin-left:0px">
                    <div class="col-md-6">
                       <div class="widget">
                          <div class="widget-header">
                             <i class="fa fa-building-o" aria-hidden="true"></i>
ccab6d2eb   Anchit Jindal   minor changes imp...
161
                             <h3>Vendor Details</h3>
74c8ae4bb   Rishav   remove old toogle...
162
                              <div class="pull-right" style="margin-top: 5px; margin-right: 10px;">
e196b9b74   Anchit Jindal   new changes added
163
                                <toggle ng-model="vendorData.activate" ng-change="changeCompanyStatus()" size="customToogle" on="Active" off="Inactive"></toggle>
74c8ae4bb   Rishav   remove old toogle...
164
                              </div>
cd330b5ee   Rishav   fuel vendor and v...
165
166
167
168
                          </div>
                          <div class="widget-content">
                             <div class="row" style="margin-left:0px;">
                                <div class="col-md-7" style="padding-left: 0;">
d8cc21c7a   Swarn Singh   fixed fuel vendor...
169
                                   <h4 ng-show="showCompanyName" ng-if="vendorData.vendorName != 'undefined'">
cd330b5ee   Rishav   fuel vendor and v...
170
171
                                      <b style="color:#F90;">{{vendorData.vendorName}}</b> &nbsp;<i class="fa fa-pencil-square-o" ng-click="company()" style="font-size: 14px;" aria-hidden="true"></i>
                                   </h4>
d1fe89776   Rishav Singla   view fuel vendor ...
172
                                   <input type="tel" ng-hide="showCompanyName" ng-model="vendorData.vendorName" class="form-control">
cd330b5ee   Rishav   fuel vendor and v...
173
                                </div>
cd330b5ee   Rishav   fuel vendor and v...
174
175
176
177
                             </div>
                             <div>
                                <p class="new-label">
                                   <span>Master Margin Setting </span> 
d1fe89776   Rishav Singla   view fuel vendor ...
178
179
                                   <select class="form-control" style="width: 135px;padding: 4px 8px;" ng-change="editData()" ng-model="vendorData.masterMargin">
                                    <option ng-repeat="margin in jetMarginList" value="{{margin.id}}">{{margin.marginName}}</option>
cd330b5ee   Rishav   fuel vendor and v...
180
                                   </select>
ccab6d2eb   Anchit Jindal   minor changes imp...
181
                                   <span>&nbsp;${{vendorData.margin.marginValue}}</span>
cd330b5ee   Rishav   fuel vendor and v...
182
183
184
                                   <div class="clearfix"></div>
                                </p>
                             </div>
71d4c1059   Rishav Singla   fuel vendor detai...
185
                             
cd330b5ee   Rishav   fuel vendor and v...
186
187
                             </br>
                             <div class="new-address">
d1fe89776   Rishav Singla   view fuel vendor ...
188
                              <p ng-show="showAddress"><i class="fa fa-map-marker"></i> {{vendorData.addressOne}} {{vendorData.addressTwo}} &nbsp;<i class="fa fa-pencil-square-o" ng-click="addressChange()" aria-hidden="true"></i> </p>
9d840540f   Anchit Jindal   fixed bugs and ne...
189
                              <div ng-hide="showAddress" style="margin-bottom:10px;">
d1fe89776   Rishav Singla   view fuel vendor ...
190
191
192
193
                                 <label>Address1</label>
                                 <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="vendorData.addressOne" class="form-control" />
                                 <label>Address2</label>
                                 <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="vendorData.addressTwo" class="form-control" />
9d840540f   Anchit Jindal   fixed bugs and ne...
194
195
196
197
198
199
200
201
202
                          		<label>City</label>
                                   <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="vendorData.city" class="form-control" />
                                   <label>State</label>
                                   <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="vendorData.state" class="form-control" />
                                   <label>ZipCode</label>
                                   <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="vendorData.zipcode" class="form-control" />
                                   <label>Country</label>
                                   <input type="tel" style="width: 50%;" ng-hide="showAddress" ng-model="vendorData.country" class="form-control" />
                                </div>
d1fe89776   Rishav Singla   view fuel vendor ...
203
204
205
206
                                
                              <p ng-repeat="data in vendorData.vendorCustomContacts" 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...
207
208
                                <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>
d1fe89776   Rishav Singla   view fuel vendor ...
209
210
211
212
                              </p>
                              <p ng-repeat="data in vendorData.vendorCustomContacts" 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...
213
214
                                <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>
d1fe89776   Rishav Singla   view fuel vendor ...
215
                              </p>
cd330b5ee   Rishav   fuel vendor and v...
216
                             </div>
9d840540f   Anchit Jindal   fixed bugs and ne...
217
218
219
                             <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>
cd330b5ee   Rishav   fuel vendor and v...
220
221
                             </div>
                             <div>
d1fe89776   Rishav Singla   view fuel vendor ...
222
223
224
                                 <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">{{vendorData.internalNote}}</p>
                                <textarea  name="message" ng-hide="showNoteData" style="margin-bottom: 6px;" class="form-control" ng-model="vendorData.internalNote" rows="4" cols="34"></textarea>
cd330b5ee   Rishav   fuel vendor and v...
225
                             </div>
d1fe89776   Rishav Singla   view fuel vendor ...
226
227
228
                             <div class="pull-left">
                                <button ng-click="editData()" ng-show="showUpdateBtn" class="btn btn-success">Save</button>
                                <button ng-click="cancelData()" ng-show="showUpdateBtn" class="btn btn-default">Cancel</button>
cd330b5ee   Rishav   fuel vendor and v...
229
                             </div>
d1fe89776   Rishav Singla   view fuel vendor ...
230
                             <div class="pull-right">
f62f8940f   Kuldeep Arora   UI changes
231
                                <button  ng-show="isShowEmail" type="button" ng-click="sendMail()" class="btn btn-primary">Distribute Price to Vendor Contacts</button>
d1fe89776   Rishav Singla   view fuel vendor ...
232
233
                              </div>
                              <div class="clearfix"></div>
cd330b5ee   Rishav   fuel vendor and v...
234
235
236
237
                          </div>
                       </div>
                    </div>
                    <div class="col-md-6">
a7a7cfeca   Rishav Singla   fuel vendor page ...
238
239
240
                     <div class="widget">
                        <div class="widget-header">
                           <i class="fa fa-pencil"></i>
bfbbd8668   Kuldeep Arora   UI service
241
                           <h3>Price Manager Reference </h3>
a7a7cfeca   Rishav Singla   fuel vendor page ...
242
243
244
                        </div>
                        <div class="widget-content">
                           <div class="table-responsive">
64b3dc0e3   Kuldeep Arora   omit vendor and c...
245
246
                              <table class="table table-hover table-striped strikeTable">
                                 <!-- <table class="table table-hover table-striped"> -->
a7a7cfeca   Rishav Singla   fuel vendor page ...
247
248
249
250
251
252
253
254
255
256
257
                                 <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...
258
259
                                    <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 }"> -->
cdf775224   Anchit Jindal   fixed company and...
260
                                       <td><input type="checkbox" ng-model="fuel.fuelPricing.omit" ng-change="updateOmit(fuel.fuelPricing, fuel.status)"></td>
d1fe89776   Rishav Singla   view fuel vendor ...
261
262
263
                                       <td>{{fuel.name}}</td>
                                       <td>${{fuel.fuelPricing.cost}}</td>
                                       <td>${{fuel.fuelPricing.papMargin}}</td>
3604ba8cb   Kuldeep Arora   updates
264
                                       <td style="color:#55AF8B;">${{fuel.fuelPricing.papTotal | number : 4 }}</td>
8ce025719   Anchit Jindal   minor changes
265
                                       <td style="color:#F90">{{fuel.fuelPricing.expirationDate | date : "MM/dd/y"}}</td>
a7a7cfeca   Rishav Singla   fuel vendor page ...
266
267
268
269
270
271
                                    </tr>
                                 </tbody>
                              </table>
                           </div>
                        </div>
                     </div>
cd330b5ee   Rishav   fuel vendor and v...
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
                    </div>
                 </div>
                 <div class="row" style="margin-left:0px">
                    <div class="col-md-6">
                       <div class="widget">
                          <div class="widget-header">
                             <i class="fa fa-user"></i>
                             <h3>Contact List</h3>
                             <div class="pull-right">
                                <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>
                             </div>
                          </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>
d1fe89776   Rishav Singla   view fuel vendor ...
296
                                      <tr ng-repeat="contact in vendorContactList" style="cursor: pointer;" ui-sref="app.viewVendorContact({id : contact.id})">
8ebb2f9e7   Rishav   toogle implemente...
297
                                         <td><toggle ng-model="contact.priceEmail" ng-change="changePriceEmail(contact.id, $index)"></toggle></td>
d1fe89776   Rishav Singla   view fuel vendor ...
298
                                         <td>{{contact.firstName}}</td>
cd330b5ee   Rishav   fuel vendor and v...
299
300
301
302
303
304
305
306
307
                                         <td>{{contact.lastName}}</td>
                                         <td>{{contact.title}}</td>
                                      </tr>
                                   </tbody>
                                </table>
                             </div>
                          </div>
                       </div>
                    </div>
a7a7cfeca   Rishav Singla   fuel vendor page ...
308
                   
cd330b5ee   Rishav   fuel vendor and v...
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
                 </div>
              </div>
              <!-- /widget-content -->
           </div>
           <!-- /widget -->
        </div>
        <!-- /span6 -->
     </div>
     <!-- /widget -->
  </div>
  <!-- /container -->
  <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>
                                <div class="col-xs-12">
                                    <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>
                                <div class="clearfix"></div>
                                <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...
440
                                            <toggle ng-model="data.priceEmail" size="customToogle">
cd330b5ee   Rishav   fuel vendor and v...
441
442
443
444
445
446
447
                                         </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
d1fe89776   Rishav Singla   view fuel vendor ...
448
                                            <input type="checkbox" ng-click="checkPrimaryContact()" ng-model="primaryContact">
cd330b5ee   Rishav   fuel vendor and v...
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
                                         </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;">
d1fe89776   Rishav Singla   view fuel vendor ...
472
                  <button type="button" class="btn btn-default" id="reset" data-dismiss="modal">Cancel</button>
cd330b5ee   Rishav   fuel vendor and v...
473
474
475
476
477
478
                  <button type="button" class="btn btn-primary step step-1" data-step="1" ng-click="addContact()">Save</button>
              </div>
          </div>
      </div>
  </form>
  <div class="clearfix"></div>
3a9f4472b   Rishav   Implement contact...
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
  <div class="customConfirmPopBackdrop" id="confirm2">
     <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>
d1fe89776   Rishav Singla   view fuel vendor ...
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
  
  <div class="customConfirmPopBackdrop" id="deleteVendor">
     <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>
9d840540f   Anchit Jindal   fixed bugs and ne...
520
  <div class="customConfirmPopBackdrop" id="customFieldEmail">
d1fe89776   Rishav Singla   view fuel vendor ...
521
522
523
524
525
     <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...
526
                    Email Type:<br>
d1fe89776   Rishav Singla   view fuel vendor ...
527
                    <input type="text" name="firstname" ng-model="custom.title"><br>
9d840540f   Anchit Jindal   fixed bugs and ne...
528
                    Email-Address:<br>
d1fe89776   Rishav Singla   view fuel vendor ...
529
530
531
532
533
534
                    <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;">
9d840540f   Anchit Jindal   fixed bugs and ne...
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="acceptCustomField('email')">Accept</button>
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelCustomField()">Cancel</button>
        </div>
     </div>
  </div>
  
  
  <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>
d1fe89776   Rishav Singla   view fuel vendor ...
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
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelCustomField()">Cancel</button>
        </div>
     </div>
  </div>
  
  <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;">
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelToogle()">Cancel</button>
        </div>
     </div>
  </div>
  
  <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...
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
                    Phone Type:<br>
                    <input type="text" name="firstname" ng-model="updateData.title"><br>
                    Number:<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('phone')">Accept</button>
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelUpdateField()">Cancel</button>
        </div>
     </div>
  </div>
  
  <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>
d1fe89776   Rishav Singla   view fuel vendor ...
611
                    <input type="text" name="firstname" ng-model="updateData.title"><br>
9d840540f   Anchit Jindal   fixed bugs and ne...
612
                    Email-Address:<br>
d1fe89776   Rishav Singla   view fuel vendor ...
613
614
615
616
617
618
                    <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...
619
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="acceptUpdateField('email')">Accept</button>
d1fe89776   Rishav Singla   view fuel vendor ...
620
621
622
623
           <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelUpdateField()">Cancel</button>
        </div>
     </div>
  </div>
cd330b5ee   Rishav   fuel vendor and v...
624
625
626
627
628
629
630
631
632
  <!-- Le javascript
     ================================================== -->
  <!-- Placed at the end of the document so the pages load faster -->
  <!-- <script
     CKEDITOR.replace( 'editor2', {
        height: 250,
        extraPlugins: 'divarea'
     } );
     </script> -->