Blame view

app/partials/updateFuelManager/updateFuelManager.html 27.5 KB
325c8ff31   Swarn Singh   date issue fixed
1

feacde5ff   Rishav   setup acuefuel in...
2
3
4
5
6
  <style>
     .subnavbar .mainnav > li:nth-child(2) > a{
     color: #ff9900;
     }
  </style>
32286a73a   Swarn Singh   tier issue resolved
7
8
9
  <div class="myLoader" ng-show="showLoader">
    <img src="../img/hourglass.gif" width="50px;">
  </div>
feacde5ff   Rishav   setup acuefuel in...
10
11
12
13
14
  <div class="container">
     <div class="row">
        <div class="col-md-5">
           <div class="widget stacked">
              <div class="widget-header">
4bb02bb84   Rishav   new integration w...
15
                 <i class="fa fa-pencil"></i>
feacde5ff   Rishav   setup acuefuel in...
16
                 <h3>Price Manager</h3>
882908c84   Swarn Singh   fuel pricing modu...
17
18
19
20
21
                 <select style="float: right; margin: 7px 10px; width: 150px; height: 26px; padding: 0 0;" class="form-control" ng-model="sendEmail.pricing" ng-change="confirmMail()">
                    <option value="" disabled selected="selected">Send Pricing Email</option>
                    <option ng-repeat="margins in marginList" value="{{margins.id}}">{{margins.marginName}}</option>
                    <option disabled>_______________</option>
                    <option value="all">Distribute All</option>
feacde5ff   Rishav   setup acuefuel in...
22
23
24
25
                 </select>
              </div>
              <!-- /widget-header -->
              <div class="widget-content">
882908c84   Swarn Singh   fuel pricing modu...
26
27
                 <h4>Update Fuel Price Here</h4>
                 <table class="table">
feacde5ff   Rishav   setup acuefuel in...
28
29
30
31
32
33
                    <thead>
                       <tr>
                          <th> Product</th>
                          <th> Cost</th>
                          <th> Margin</th>
                          <th> PAP(Total)</th>
8707ba5fd   Swarn Singh   fuel manager done
34
                          <th style="color: #F90;"> Expires</th>
feacde5ff   Rishav   setup acuefuel in...
35
36
37
                       </tr>
                    </thead>
                    <tbody>
32ea0c476   Swarn Singh   working on fuel m...
38
                       <tr ng-repeat="fuelPricing in newFuelPricing">
882908c84   Swarn Singh   fuel pricing modu...
39
                          <td>
32ea0c476   Swarn Singh   working on fuel m...
40
                             <span>{{fuelPricing.name}}</span>
882908c84   Swarn Singh   fuel pricing modu...
41
42
                          </td>
                          <td>
a9e3a7365   Swarn Singh   fix issues on vie...
43
                             <input type="text" class="form-control" ng-model="fuelPricing.fuelPricing.cost" style="height:31px; width: 50px; padding: 6px 6px">
882908c84   Swarn Singh   fuel pricing modu...
44
45
                          </td>
                          <td>
a9e3a7365   Swarn Singh   fix issues on vie...
46
                             <input type="text" class="form-control" ng-model="fuelPricing.fuelPricing.papMargin" style="height:31px; width: 50px; padding: 6px 6px;">
882908c84   Swarn Singh   fuel pricing modu...
47
48
                          </td>
                          <td>
a9e3a7365   Swarn Singh   fix issues on vie...
49
                             <span style="line-height: 31px; color: #1ab394;">$ {{fuelPricing.fuelPricing.cost -- fuelPricing.fuelPricing.papMargin}}</span>
882908c84   Swarn Singh   fuel pricing modu...
50
51
                          </td>
                          <td>
a9e3a7365   Swarn Singh   fix issues on vie...
52
                             <input type="text" class="form-control" datepicker ng-model="fuelPricing.fuelPricing.expirationDate" style="height:31px; width: 100px; padding: 6px 6px;">
882908c84   Swarn Singh   fuel pricing modu...
53
                          </td>
feacde5ff   Rishav   setup acuefuel in...
54
55
56
57
58
                       </tr>
                    </tbody>
                 </table>
                 <div class="row" style="margin-left: 0px;">
                    <div class="col-md-12" style= "text-align: right;">
882908c84   Swarn Singh   fuel pricing modu...
59
                       <button type="button" class="btn btn-success btn-xs" ng-click="updateFuelPricingClick()">Save</button>
feacde5ff   Rishav   setup acuefuel in...
60
61
62
63
64
65
66
                    </div>
                 </div>
              </div>
              <!-- /widget-content -->
           </div>
           <!-- /widget -->  
        </div>
4bb02bb84   Rishav   new integration w...
67

feacde5ff   Rishav   setup acuefuel in...
68
69
70
        <div class="col-md-7">
           <div class="widget stacked">
              <div class="widget-header">
4bb02bb84   Rishav   new integration w...
71
                 <i class="fa fa-pencil"></i>
feacde5ff   Rishav   setup acuefuel in...
72
                 <h3><b>JET-A</b> Customer Margin Template</h3>
4bb02bb84   Rishav   new integration w...
73
                 <div class="pull-right">
a9e3a7365   Swarn Singh   fix issues on vie...
74
                    <button type="submit" class="btn btn-success btn-sm" ng-click="addNewMarginBtn()" style="margin-top: 4px; margin-right: 10px;"><i class="fa fa-plus" aria-hidden="true"></i> Add New Margin</button>
4bb02bb84   Rishav   new integration w...
75
                 </div>
feacde5ff   Rishav   setup acuefuel in...
76
77
              </div>
              <!-- /widget-header -->
a9e3a7365   Swarn Singh   fix issues on vie...
78
              <div class="widget-content" style="padding-top: 10px;">
e8983332d   Swarn Singh   margin accordian ...
79
80
81
                 <section id="accordions">
                    <div class="newCustomAccordian">
                       <!-- tab 1 -->
1097c2ce1   Swarn Singh   margin module add...
82
83
84
85
86
87
88
89
90
91
92
93
94
95
                       <div ng-repeat="jets in aTypeJets">
                          <div class="customAccordianHeader" id="{{jets.id}}">
                             <span>{{jets.marginName}}</span>
                             <select class="form-control" disabled="true" ng-model="jets.pricingStructure">
                                <option value="" disabled selected>Pricing Structure</option>
                                <option value="minus">Retail-(minus)</option>
                                <option value="plus">Cost+(plus)</option>
                                <option value="equal">Direct=(equal)</option>
                             </select>
                             <span style="margin-right: 0;">$</span>
                             <input type="text" disabled="true" class="form-control" ng-model="jets.marginValue">
                             <div class="pull-right">
                                <button class="btn btn-success" style="display: none;" ng-click="saveJetAccordian(jets)">Save</button>
                                <button class="btn btn-danger" style="display: none;" ng-click="deleteJetAccordian(jets.id)">Delete</button>
8707ba5fd   Swarn Singh   fuel manager done
96
                                <button class="btn btn-default" ng-click="toggleJestAccordian(jets.id, $index)">Edit</button>
1097c2ce1   Swarn Singh   margin module add...
97
98
99
100
                             </div>
                             <div class="clearfix"></div>
                          </div>
                          <div class="customAccordianTabBody {{jets.id}}" style="display: none;">
8707ba5fd   Swarn Singh   fuel manager done
101
                             <div class="tierListWrap" ng-repeat="tier in aTypeJets[$index].tierList">
05c2f6fb3   Swarn Singh   margin module and...
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
                                <div class="tierListHead" style="height: 36px;">
                                   <span class="pull-left tierHeadingSpan" ng-hide="showEditTier">{{tier.minTierBreak}}-{{tier.maxTierBreak}} gal.
                                   </span>
                                   <i class="fa fa-pencil-square-o pull-right" ng-click="showEditTier = ! showEditTier" ng-hide="showEditTier" style="margin-top: 5px; cursor: pointer;" aria-hidden="true"></i>
                                   
                                   <input type="text" placeholder="min" style="width: 36px;" ng-model="tier.minTierBreak" ng-show="showEditTier">
                                   <span ng-show="showEditTier">-</span> 
                                   <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.maxTierBreak" ng-show="showEditTier"> <b ng-show="showEditTier">gal.</b>
                                   <div class="clearfix"></div>
                                </div>
                                <div class="tierListBody" style="height: 35px;">
                                   <span class="pull-left minTierSpan" ng-hide="showEditTier">-${{tier.margin}}</span> 
  
                                   <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.margin" ng-show="showEditTier"> &nbsp; 
  
                                   <span class="pull-right maxTierSpan" ng-hide="showEditTier">(${{tier.marginTotal}})</span>
32286a73a   Swarn Singh   tier issue resolved
118
                                   <button class="addTierBtn" ng-click="editTier(tier, $parent.$index)" ng-show="showEditTier">Save</button>
05c2f6fb3   Swarn Singh   margin module and...
119

32286a73a   Swarn Singh   tier issue resolved
120
                                   <i class="fa fa-trash-o deleteTierIcon" ng-click="deleteTier(tier.id, jets.id, $parent.$index)" aria-hidden="true" ng-show="showEditTier"></i>
05c2f6fb3   Swarn Singh   margin module and...
121
122
123
124
125
126
  
                                   <div class="clearfix"></div>
                                </div>
                             </div>
                             <div class="tierListWrap" style="width: 160px;">
                                <div class="tierListHead" style="border-right: 1px solid #ddd;">
8707ba5fd   Swarn Singh   fuel manager done
127
                                   <input type="text" placeholder="min" ng-model="trData[$index].minTierBreak">
05c2f6fb3   Swarn Singh   margin module and...
128
                                   <span>-</span> 
8707ba5fd   Swarn Singh   fuel manager done
129
                                   <input type="text" placeholder="max" ng-model="trData[$index].maxTierBreak"> <b>gal.</b>
05c2f6fb3   Swarn Singh   margin module and...
130
131
132
133
                                   <div class="clearfix"></div>
                                </div>
                                <div class="tierListBody" style="border-right: 1px solid #ddd;">
                                   <span style="color: #449d44;">$</span>
8707ba5fd   Swarn Singh   fuel manager done
134
135
                                   <input type="text" placeholder="margin" ng-model="trData[$index].margin" class="tierTextBox" style="width: 70px; height: 24px;">
                                   <button class="addTierBtn" ng-click="addNewTier(jets.id, trData, $index)">Add Tier</button>
05c2f6fb3   Swarn Singh   margin module and...
136
137
138
139
140
141
142
143
144
145
146
147
                                   <div class="clearfix"></div>
                                </div>
                             </div>
                             <!-- <div class="tierListWrap" style="width: 32px;">
                                <div class="tierListHead" style="height: 36px; border-right: 1px solid #ddd;">
                                   &nbsp;
                                </div>
                                <div class="tierListBody" style="height: 35px; border-right: 1px solid #ddd;">
                                   <i class="fa fa-trash-o deleteTierIcon" aria-hidden="true"></i>
                                </div>
                             </div> -->
                             <div class="clearfix"></div>
9732e9b36   Swarn Singh   updates in fuel m...
148
                             <textarea class="form-control resizeTextarea" ng-model="jets.message" placeholder="Message..."></textarea>
feacde5ff   Rishav   setup acuefuel in...
149
                          </div>
feacde5ff   Rishav   setup acuefuel in...
150
                       </div>
feacde5ff   Rishav   setup acuefuel in...
151
                    </div>
e8983332d   Swarn Singh   margin accordian ...
152
                 </section>
a9e3a7365   Swarn Singh   fix issues on vie...
153
                 <!-- <div class="row">&nbsp;</div>
e8983332d   Swarn Singh   margin accordian ...
154
155
156
157
158
159
                 <div class="row">
                    <div class="form-group">
                       <div class="col-lg-12 text-right">
                          <button type="submit" class="btn btn-success"><i class="icon-ok"></i> Save Form</button>&nbsp;&nbsp;
                          <button type="reset" class="btn btn-default">Cancel</button>
                       </div>
feacde5ff   Rishav   setup acuefuel in...
160
                    </div>
a9e3a7365   Swarn Singh   fix issues on vie...
161
                 </div> -->
feacde5ff   Rishav   setup acuefuel in...
162
163
164
165
166
167
168
169
170
171
              </div>
              <!-- /widget-content -->
           </div>
           <!-- /widget -->
        </div>
        <!-- /span6 -->
     </div>
     <!-- /span12 -->
  </div>
  <!-- /row -->
4bb02bb84   Rishav   new integration w...
172
173
174
175
176
177
  <div class="container">
  <div class="row">
     <div class="col-md-5">
           <div class="widget stacked">
              <div class="widget-header">
                 <i class="fa fa-pencil"></i>
8707ba5fd   Swarn Singh   fuel manager done
178
                 <h3>Queue Future Pricing</h3>
4bb02bb84   Rishav   new integration w...
179
180
181
              </div>
              <!-- /widget-header -->
              <div class="widget-content">
8707ba5fd   Swarn Singh   fuel manager done
182
183
                 <h4>Update Queue Future Fuel Pricing Here</h4>
                 <table class="table">
4bb02bb84   Rishav   new integration w...
184
185
186
187
                    <thead>
                       <tr>
                          <th> Product</th>
                          <th> Cost</th>
8707ba5fd   Swarn Singh   fuel manager done
188
189
190
                          <th> PAP(Total)</th>
                          <th> Deploy</th>
                          <th style="color: #F90;"> Next Expiration</th>
4bb02bb84   Rishav   new integration w...
191
192
193
                       </tr>
                    </thead>
                    <tbody>
32ea0c476   Swarn Singh   working on fuel m...
194
                       <tr ng-repeat="fuelPricing in newFuelPricing">
8707ba5fd   Swarn Singh   fuel manager done
195
                          <td>
32ea0c476   Swarn Singh   working on fuel m...
196
                             <span>{{fuelPricing.name}}</span>
8707ba5fd   Swarn Singh   fuel manager done
197
198
                          </td>
                          <td>
a9e3a7365   Swarn Singh   fix issues on vie...
199
                             <input type="text" class="form-control" ng-model="fuelPricing.futureFuelPricing.cost" style="height:31px; width: 50px; padding: 6px 6px;">
8707ba5fd   Swarn Singh   fuel manager done
200
201
                          </td>
                          <td>
d8cc21c7a   Swarn Singh   fixed fuel vendor...
202
                             <span style="line-height: 31px; color: #1ab394;">$ {{fuelPricing.futureFuelPricing.cost -- fuelPricing.fuelPricing.papMargin}}</span>
8707ba5fd   Swarn Singh   fuel manager done
203
204
                          </td>
                          <td>
d8cc21c7a   Swarn Singh   fixed fuel vendor...
205
                             <input type="text" class="form-control" ng-disabled="fuelPricing.futureFuelPricing.cost == undefined || fuelPricing.futureFuelPricing.cost == null || fuelPricing.futureFuelPricing.cost == ''" datepicker ng-model="fuelPricing.futureFuelPricing.deployDate" style="height:31px; width: 100px; padding: 6px 6px;">
8707ba5fd   Swarn Singh   fuel manager done
206
207
                          </td>
                          <td>
d8cc21c7a   Swarn Singh   fixed fuel vendor...
208
                             <input type="text" class="form-control" datepicker  ng-disabled="fuelPricing.futureFuelPricing.cost == undefined || fuelPricing.futureFuelPricing.cost == null || fuelPricing.futureFuelPricing.cost == ''" ng-model="fuelPricing.futureFuelPricing.nextExpiration" style="height:31px; width: 100px; padding: 6px 6px;">
8707ba5fd   Swarn Singh   fuel manager done
209
                          </td>
4bb02bb84   Rishav   new integration w...
210
211
212
213
214
                       </tr>
                    </tbody>
                 </table>
                 <div class="row" style="margin-left: 0px;">
                    <div class="col-md-12" style= "text-align: right;">
32ea0c476   Swarn Singh   working on fuel m...
215
                       <button type="button" class="btn btn-success btn-xs" ng-click="updateFutureFuelPricingClick()">Save</button>
4bb02bb84   Rishav   new integration w...
216
217
218
219
220
221
222
223
224
225
226
                    </div>
                 </div>
              </div>
              <!-- /widget-content -->
           </div>
           <!-- /widget -->  
     </div>
     <div class="col-md-7">
           <div class="widget stacked">
              <div class="widget-header">
                 <i class="fa fa-pencil"></i>
8707ba5fd   Swarn Singh   fuel manager done
227
                 <h3><b style="color: 39c;">AVGAS 100LL </b> <i>Customer Margin Template</i></h3>
4bb02bb84   Rishav   new integration w...
228
                 <div class="pull-right">
a9e3a7365   Swarn Singh   fix issues on vie...
229
                    <button type="submit" class="btn btn-success btn-sm" ng-click="addNewVtypePop()" style="margin-top: 4px; margin-right: 10px;"><i class="fa fa-plus" aria-hidden="true"></i> Add New Margin</button>
4bb02bb84   Rishav   new integration w...
230
231
232
                 </div>
              </div>
              <!-- /widget-header -->
a9e3a7365   Swarn Singh   fix issues on vie...
233
              <div class="widget-content" style="padding-top: 10px;">
8707ba5fd   Swarn Singh   fuel manager done
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
                 <section id="accordions">
                    <div class="newCustomAccordian">
                       <!-- tab 1 -->
                       <div ng-repeat="jets in vTypeJets">
                          <div class="customAccordianHeader" id="{{jets.id}}">
                             <span>{{jets.marginName}}</span>
                             <select class="form-control" disabled="true" ng-model="jets.pricingStructure">
                                <option value="" disabled selected>Pricing Structure</option>
                                <option value="minus">Retail-(minus)</option>
                                <option value="plus">Cost+(plus)</option>
                                <option value="equal">Direct=(equal)</option>
                             </select>
                             <span style="margin-right: 0;">$</span>
                             <input type="text" disabled="true" class="form-control" ng-model="jets.marginValue">
                             <div class="pull-right">
                                <button class="btn btn-success" style="display: none;" ng-click="saveVtypeJetAccordian(jets)">Save</button>
                                <button class="btn btn-danger" style="display: none;" ng-click="deleteVtypeJetAccordian(jets.id)">Delete</button>
                                <button class="btn btn-default" ng-click="toggleVtypeJestAccordian(jets.id, $index)">Edit</button>
4bb02bb84   Rishav   new integration w...
252
                             </div>
8707ba5fd   Swarn Singh   fuel manager done
253
                             <div class="clearfix"></div>
4bb02bb84   Rishav   new integration w...
254
                          </div>
8707ba5fd   Swarn Singh   fuel manager done
255
256
257
258
259
260
261
262
263
264
265
                          <div class="customAccordianTabBody {{jets.id}}" style="display: none;">
                             <div class="tierListWrap" ng-repeat="tier in vTypeJets[$index].tierList">
                                <div class="tierListHead" style="height: 36px;">
                                   <span class="pull-left tierHeadingSpan" ng-hide="showEditTier">{{tier.minTierBreak}}-{{tier.maxTierBreak}} gal.
                                   </span>
                                   <i class="fa fa-pencil-square-o pull-right" ng-click="showEditTier = ! showEditTier" ng-hide="showEditTier" style="margin-top: 5px; cursor: pointer;" aria-hidden="true"></i>
                                   
                                   <input type="text" placeholder="min" style="width: 36px;" ng-model="tier.minTierBreak" ng-show="showEditTier">
                                   <span ng-show="showEditTier">-</span> 
                                   <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.maxTierBreak" ng-show="showEditTier"> <b ng-show="showEditTier">gal.</b>
                                   <div class="clearfix"></div>
4bb02bb84   Rishav   new integration w...
266
                                </div>
8707ba5fd   Swarn Singh   fuel manager done
267
268
269
270
271
272
                                <div class="tierListBody" style="height: 35px;">
                                   <span class="pull-left minTierSpan" ng-hide="showEditTier">-${{tier.margin}}</span> 
  
                                   <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.margin" ng-show="showEditTier"> &nbsp; 
  
                                   <span class="pull-right maxTierSpan" ng-hide="showEditTier">(${{tier.marginTotal}})</span>
32286a73a   Swarn Singh   tier issue resolved
273
                                   <button class="addTierBtn" ng-click="editVtypeTier(tier, $parent.$index)" ng-show="showEditTier">Save</button>
8707ba5fd   Swarn Singh   fuel manager done
274

32286a73a   Swarn Singh   tier issue resolved
275
                                   <i class="fa fa-trash-o deleteTierIcon" ng-click="deleteVtypeTier(tier.id, jets.id, $parent.$index)" aria-hidden="true" ng-show="showEditTier"></i>
8707ba5fd   Swarn Singh   fuel manager done
276
277
  
                                   <div class="clearfix"></div>
4bb02bb84   Rishav   new integration w...
278
                                </div>
8707ba5fd   Swarn Singh   fuel manager done
279
280
281
282
283
284
285
                             </div>
                             <div class="tierListWrap" style="width: 160px;">
                                <div class="tierListHead" style="border-right: 1px solid #ddd;">
                                   <input type="text" placeholder="min" ng-model="vtrData[$index].minTierBreak">
                                   <span>-</span> 
                                   <input type="text" placeholder="max" ng-model="vtrData[$index].maxTierBreak"> <b>gal.</b>
                                   <div class="clearfix"></div>
4bb02bb84   Rishav   new integration w...
286
                                </div>
8707ba5fd   Swarn Singh   fuel manager done
287
288
289
290
291
                                <div class="tierListBody" style="border-right: 1px solid #ddd;">
                                   <span style="color: #449d44;">$</span>
                                   <input type="text" placeholder="margin" ng-model="vtrData[$index].margin" class="tierTextBox" style="width: 70px; height: 24px;">
                                   <button class="addTierBtn" ng-click="addNewVtypeTier(jets.id, vtrData, $index)">Add Tier</button>
                                   <div class="clearfix"></div>
4bb02bb84   Rishav   new integration w...
292
293
                                </div>
                             </div>
8707ba5fd   Swarn Singh   fuel manager done
294
295
296
297
298
299
300
301
302
                             <!-- <div class="tierListWrap" style="width: 32px;">
                                <div class="tierListHead" style="height: 36px; border-right: 1px solid #ddd;">
                                   &nbsp;
                                </div>
                                <div class="tierListBody" style="height: 35px; border-right: 1px solid #ddd;">
                                   <i class="fa fa-trash-o deleteTierIcon" aria-hidden="true"></i>
                                </div>
                             </div> -->
                             <div class="clearfix"></div>
9732e9b36   Swarn Singh   updates in fuel m...
303
                             <textarea class="form-control resizeTextarea" ng-model="jets.message" placeholder="Message..."></textarea>
4bb02bb84   Rishav   new integration w...
304
305
306
                          </div>
                       </div>
                    </div>
8707ba5fd   Swarn Singh   fuel manager done
307
                 </section>
a9e3a7365   Swarn Singh   fix issues on vie...
308
                 <!-- <div class="row">&nbsp;</div>
8707ba5fd   Swarn Singh   fuel manager done
309
310
311
312
313
314
                 <div class="row">
                    <div class="form-group">
                       <div class="col-lg-12 text-right">
                          <button type="submit" class="btn btn-success"><i class="icon-ok"></i> Save Form</button>&nbsp;&nbsp;
                          <button type="reset" class="btn btn-default">Cancel</button>
                       </div>
4bb02bb84   Rishav   new integration w...
315
                    </div>
a9e3a7365   Swarn Singh   fix issues on vie...
316
                 </div> -->
4bb02bb84   Rishav   new integration w...
317
318
319
320
321
322
323
324
325
              </div>
              <!-- /widget-content -->
           </div>
           <!-- /widget -->
     </div>
        <!-- /span6 -->
  </div>
  </div>
  </div>
feacde5ff   Rishav   setup acuefuel in...
326
  </div> <!-- /container -->
1097c2ce1   Swarn Singh   margin module add...
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
  
  
  <div class="addNewMargin" style="display: none;">
     <div class="customBackdrop">
        <div class="customModalInner" style="max-width: 700px;">
           <div class="customModelHead">
              <p class="pull-left">
                 <i class="fa fa-list-alt" aria-hidden="true"></i>
                 Add New JET-A Customer Margin
              </p>
              <p class="pull-right">
                 <i class="fa fa-times" aria-hidden="true" style="cursor: pointer;" ng-click="closeMarginPopup()"></i>
              </p>
              <div class="clearfix"></div>
           </div>
           <div class="customModelBody">
              
              <div class="customAccordianHeader customActive">
                 <input type="text" class="form-control" style="width: 120px; margin-right: 10px;" placeholder="Margin Name" ng-model="newJet.marginName">
                 <select class="form-control" ng-model="newJet.pricingStructure">
                    <option value="" disabled selected>Pricing Structure</option>
                    <option value="minus">Retail-(minus)</option>
                    <option value="plus">Cost+(plus)</option>
                    <option value="equal">Direct=(equal)</option>
                 </select>
                 <span style="margin-right: 0;">$</span>
                 <input type="text" class="form-control" style="width: 120px;" placeholder="Margin Price" ng-model="newJet.marginValue">
                 <div class="clearfix"></div>
              </div>
              <div class="customAccordianTabBody">
9732e9b36   Swarn Singh   updates in fuel m...
357
                 <textarea class="form-control resizeTextarea" ng-model="newJet.message" placeholder="Message..."></textarea>
1097c2ce1   Swarn Singh   margin module add...
358
359
360
361
362
363
364
365
366
367
              </div>
  
           </div>
           <div class="customModelFooter text-center">
              <input type="submit" value="Save" class="btn" ng-click="addNewATypeJet()">
              <button class="btn" ng-click="closeMarginPopup()">Cancel</button>
           </div>
        </div>
     </div>
  </div>
8707ba5fd   Swarn Singh   fuel manager done
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
  <div class="addNewVtype" style="display: none;">
     <div class="customBackdrop">
        <div class="customModalInner" style="max-width: 700px;">
           <div class="customModelHead">
              <p class="pull-left">
                 <i class="fa fa-list-alt" aria-hidden="true"></i>
                 Add New AVGAS 100LL Customer Margin Template
              </p>
              <p class="pull-right">
                 <i class="fa fa-times" aria-hidden="true" style="cursor: pointer;" ng-click="closeNewVtypePop()"></i>
              </p>
              <div class="clearfix"></div>
           </div>
           <div class="customModelBody">
              
              <div class="customAccordianHeader customActive">
                 <input type="text" class="form-control" style="width: 120px; margin-right: 10px;" placeholder="Margin Name" ng-model="newVtypeJet.marginName">
                 <select class="form-control" ng-model="newVtypeJet.pricingStructure">
                    <option value="" disabled selected>Pricing Structure</option>
                    <option value="minus">Retail-(minus)</option>
                    <option value="plus">Cost+(plus)</option>
                    <option value="equal">Direct=(equal)</option>
                 </select>
                 <span style="margin-right: 0;">$</span>
                 <input type="text" class="form-control" style="width: 120px;" placeholder="Margin Price" ng-model="newVtypeJet.marginValue">
                 <div class="clearfix"></div>
              </div>
              <div class="customAccordianTabBody">
9732e9b36   Swarn Singh   updates in fuel m...
396
                 <textarea class="form-control resizeTextarea" ng-model="newVtypeJet.message" placeholder="Message..."></textarea>
8707ba5fd   Swarn Singh   fuel manager done
397
398
399
400
401
402
403
404
405
406
              </div>
  
           </div>
           <div class="customModelFooter text-center">
              <input type="submit" value="Save" class="btn" ng-click="addNewVTypeJet()">
              <button class="btn" ng-click="closeNewVtypePop()">Cancel</button>
           </div>
        </div>
     </div>
  </div>
1097c2ce1   Swarn Singh   margin module add...
407

882908c84   Swarn Singh   fuel pricing modu...
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
  <div class="customConfirmPopBackdrop" id="confirm1" style="display: none;">
    <div class="customModalInner">
       <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="saveAndCloseConfirm()">Yes</button>
          <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAndCloseConfirm()">Cancel</button>
       </div>
    </div>
  </div>
a9e3a7365   Swarn Singh   fix issues on vie...
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
  <div class="customConfirmPopBackdrop" id="deleteTierConfirm" style="display: none;">
    <div class="customModalInner">
       <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 delete this Tier ?</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="confirmDeleteTier()">Yes</button>
          <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelTierDelete()">Cancel</button>
       </div>
    </div>
  </div>
  
  <div class="customConfirmPopBackdrop" id="deleteVtypeTierConfirm" style="display: none;">
    <div class="customModalInner">
       <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 delete this Tier ?</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="confirmDeleteVtypeTier()">Yes</button>
          <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelVtypeTierDelete()">Cancel</button>
       </div>
    </div>
  </div>
9732e9b36   Swarn Singh   updates in fuel m...
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
  <div class="customConfirmPopBackdrop" id="deleteMargin" style="display: none;">
    <div class="customModalInner">
       <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 delete this Margin Template ?</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="confirmDeleteMargin()">Yes</button>
          <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelMarginDelete()">Cancel</button>
       </div>
    </div>
  </div>
  
  <div class="customConfirmPopBackdrop" id="deleteVtypeMargin" style="display: none;">
    <div class="customModalInner">
       <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 delete this Margin Template ?</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="confirmDeletVtypeMargin()">Yes</button>
          <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelVtypeMarginDelete()">Cancel</button>
       </div>
    </div>
  </div>
feacde5ff   Rishav   setup acuefuel in...
510
511
512
  <!-- Le javascript
     ================================================== -->
  <!-- Placed at the end of the document so the pages load faster -->
4bb02bb84   Rishav   new integration w...
513
  <!-- <script>
feacde5ff   Rishav   setup acuefuel in...
514
515
516
517
     CKEDITOR.replace( 'editor2', {
        height: 250,
        extraPlugins: 'divarea'
     } );
4bb02bb84   Rishav   new integration w...
518
  </script> -->