Commit 2f9fd878f922e5ee9128a7afeb69fe3fd8c5b44c
1 parent
03cf7c3888
Exists in
master
minor ui change
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/partials/updateFuelManager/updateFuelManager.html
1 | 1 | ||
2 | 2 | ||
3 | <style> | 3 | <style> |
4 | .subnavbar .mainnav > li:nth-child(2) > a{ | 4 | .subnavbar .mainnav > li:nth-child(2) > a{ |
5 | color: #ff9900; | 5 | color: #ff9900; |
6 | } | 6 | } |
7 | </style> | 7 | </style> |
8 | <div class="myLoader" ng-show="showLoader"> | 8 | <div class="myLoader" ng-show="showLoader"> |
9 | <img src="../img/hourglass.gif" width="50px;"> | 9 | <img src="../img/hourglass.gif" width="50px;"> |
10 | </div> | 10 | </div> |
11 | <div style="width: 96%; margin-left: 2%;"> | 11 | <div style="width: 96%; margin-left: 2%;"> |
12 | <div class="row"> | 12 | <div class="row"> |
13 | 13 | ||
14 | <div class="col-md-6"> | 14 | <div class="col-md-6"> |
15 | <div class="widget stacked"> | 15 | <div class="widget stacked"> |
16 | <div class="widget-header"> | 16 | <div class="widget-header"> |
17 | <i class="fa fa-pencil"></i> | 17 | <i class="fa fa-pencil"></i> |
18 | <h3>Price Manager Staging</h3> | 18 | <h3>Price Manager Staging</h3> |
19 | </div> | 19 | </div> |
20 | <!-- /widget-header --> | 20 | <!-- /widget-header --> |
21 | <div class="widget-content"> | 21 | <div class="widget-content"> |
22 | <h6 style="color:#F90">Queue Pricing for Deployment in the Price Manager below</h6> | 22 | <h6 style="color:#F90">Queue Pricing for Deployment in the Price Manager below</h6> |
23 | <form> | 23 | <form> |
24 | <table class="table"> | 24 | <table class="table"> |
25 | <thead> | 25 | <thead> |
26 | <tr> | 26 | <tr> |
27 | <th> Product</th> | 27 | <th> Product</th> |
28 | <th> Cost</th> | 28 | <th> Cost</th> |
29 | <th> PAP(Margin)</th> | 29 | <th> PAP(Margin)</th> |
30 | <th> Deploy Date</th> | 30 | <th> Deploy Date</th> |
31 | <th style="color: #F90;">Price Expires</th> | 31 | <th style="color: #F90;">Price Expires</th> |
32 | <th> PAP(Total)</th> | 32 | <th> PAP(Total)</th> |
33 | </tr> | 33 | </tr> |
34 | </thead> | 34 | </thead> |
35 | <tbody> | 35 | <tbody> |
36 | <tr ng-repeat="fuelPricing in newFuelPricing"> | 36 | <tr ng-repeat="fuelPricing in newFuelPricing"> |
37 | <td> | 37 | <td> |
38 | <span style="color: #2196f3" ng-show="fuelPricing.jeta">{{fuelPricing.name}}</span> | 38 | <span style="color: #2196f3" ng-show="fuelPricing.jeta">{{fuelPricing.name}}</span> |
39 | <span ng-show="fuelPricing.jeta">{{fuelPricing.namejetrest}}</span> | 39 | <span ng-show="fuelPricing.jeta">{{fuelPricing.namejetrest}}</span> |
40 | <span style="color: 39c" ng-show="fuelPricing.avgas">{{fuelPricing.name}}</span> | 40 | <span style="color: 39c" ng-show="fuelPricing.avgas">{{fuelPricing.name}}</span> |
41 | <span ng-show="fuelPricing.avgas">{{fuelPricing.nameavgasrest}}</span> | 41 | <span ng-show="fuelPricing.avgas">{{fuelPricing.nameavgasrest}}</span> |
42 | </td> | 42 | </td> |
43 | <td> | 43 | <td> |
44 | <input type="text" class="form-control" ng-model="fuelPricing.futureFuelPricing.cost" style="height:31px; width: 50px; padding: 6px 6px;"> | 44 | <input type="text" class="form-control" ng-model="fuelPricing.futureFuelPricing.cost" style="height:31px; width: 50px; padding: 6px 6px;"> |
45 | </td> | 45 | </td> |
46 | <td> | 46 | <td> |
47 | <input type="text" class="form-control" ng-model="fuelPricing.futureFuelPricing.papMargin" style="height:31px; width: 80px; padding: 6px 6px;"> | 47 | <input type="text" class="form-control" ng-model="fuelPricing.futureFuelPricing.papMargin" style="height:31px; width: 80px; padding: 6px 6px;"> |
48 | </td> | 48 | </td> |
49 | <td> | 49 | <td> |
50 | <input type="text" class="form-control" ng-disabled="fuelPricing.futureFuelPricing.cost == undefined || fuelPricing.futureFuelPricing.cost == null || fuelPricing.futureFuelPricing.cost == ''" datepicker ng-model="fuelPricing.futureFuelPricing.deployDate" style="height:31px; width: 80px; padding: 6px 6px;"> | 50 | <input type="text" class="form-control" ng-disabled="fuelPricing.futureFuelPricing.cost == undefined || fuelPricing.futureFuelPricing.cost == null || fuelPricing.futureFuelPricing.cost == ''" datepicker ng-model="fuelPricing.futureFuelPricing.deployDate" style="height:31px; width: 80px; padding: 6px 6px;"> |
51 | </td> | 51 | </td> |
52 | <td> | 52 | <td> |
53 | <input type="text" class="form-control" datepicker ng-disabled="fuelPricing.futureFuelPricing.cost == undefined || fuelPricing.futureFuelPricing.cost == null || fuelPricing.futureFuelPricing.cost == ''" ng-model="fuelPricing.futureFuelPricing.nextExpiration" style="height:31px; width: 80px; padding: 6px 6px;"> | 53 | <input type="text" class="form-control" datepicker ng-disabled="fuelPricing.futureFuelPricing.cost == undefined || fuelPricing.futureFuelPricing.cost == null || fuelPricing.futureFuelPricing.cost == ''" ng-model="fuelPricing.futureFuelPricing.nextExpiration" style="height:31px; width: 80px; padding: 6px 6px;"> |
54 | </td> | 54 | </td> |
55 | <td> | 55 | <td> |
56 | <span style="line-height: 31px; color: #1ab394;">$ {{fuelPricing.futureFuelPricing.cost -- fuelPricing.futureFuelPricing.papMargin | number : 2}}</span> | 56 | <span style="line-height: 31px; color: #1ab394;">$ {{fuelPricing.futureFuelPricing.cost -- fuelPricing.futureFuelPricing.papMargin | number : 2}}</span> |
57 | </td> | 57 | </td> |
58 | </tr> | 58 | </tr> |
59 | </tbody> | 59 | </tbody> |
60 | </table> | 60 | </table> |
61 | <div class="row" style="margin-left: 0px;"> | 61 | <div class="row" style="margin-left: 0px;"> |
62 | <div class="col-md-12" style= "text-align: right;"> | 62 | <div class="col-md-12" style= "text-align: right;"> |
63 | <div style="float: left;"> | 63 | <div style="float: left;"> |
64 | <button type="button" class="btn btn-primary btn-xs" ng-click="updateFutureFuelPricingClick()" style= "text-align: center; font-size:12px">Save & Deploy Immediately</button> | 64 | <button type="button" class="btn btn-primary btn-xs" ng-click="updateFutureFuelPricingClick()" style= "text-align: center; font-size:12px">Save & Deploy Immediately</button> |
65 | 65 | ||
66 | <button type="reset" class="btn btn-default btn-xs">Reset All</button> | 66 | <button type="reset" class="btn btn-default btn-xs">Reset All</button> |
67 | </div> | 67 | </div> |
68 | <div style="float: right;"> | 68 | <div style="float: right;"> |
69 | <button type="button" class="btn btn-success btn-xs" ng-click="updateFutureFuelPricingClick()" style="margin-right:3%">Save & Stage for Deploy</button> | 69 | <button type="button" class="btn btn-success btn-xs" ng-click="updateFutureFuelPricingClick()" style="margin-right:3%">Save & Stage for Deploy</button> |
70 | </div> | 70 | </div> |
71 | <div style="clear: both;"></div> | 71 | <div style="clear: both;"></div> |
72 | </div> | 72 | </div> |
73 | </div> | 73 | </div> |
74 | </form> | 74 | </form> |
75 | </div> | 75 | </div> |
76 | <!-- /widget-content --> | 76 | <!-- /widget-content --> |
77 | </div> | 77 | </div> |
78 | <!-- /widget --> | 78 | <!-- /widget --> |
79 | </div> | 79 | </div> |
80 | 80 | ||
81 | <div class="col-md-6"> | 81 | <div class="col-md-6"> |
82 | <div class="widget stacked"> | 82 | <div class="widget stacked"> |
83 | <div class="widget-header"> | 83 | <div class="widget-header"> |
84 | <i class="fa fa-pencil"></i> | 84 | <i class="fa fa-pencil"></i> |
85 | <h3 style="font-style: italic"><b style="color: #2196f3; font-style: normal">JET-A</b> Customer Margin Template</h3> | 85 | <h3 style="font-style: italic"><b style="color: #2196f3; font-style: normal">JET-A</b> Customer Margin Template</h3> |
86 | 86 | ||
87 | </div> | 87 | </div> |
88 | <!-- /widget-header --> | 88 | <!-- /widget-header --> |
89 | <div class="widget-content" style="padding-top: 10px;"> | 89 | <div class="widget-content" style="padding-top: 10px;"> |
90 | <section id="accordions"> | 90 | <section id="accordions"> |
91 | <div class="newCustomAccordian"> | 91 | <div class="newCustomAccordian"> |
92 | <!-- tab 1 --> | 92 | <!-- tab 1 --> |
93 | <div ng-repeat="jets in aTypeJets"> | 93 | <div ng-repeat="jets in aTypeJets"> |
94 | <div class="customAccordianHeader" id="{{jets.id}}"> | 94 | <div class="customAccordianHeader" id="{{jets.id}}"> |
95 | <span>{{jets.marginName}}</span> | 95 | <span>{{jets.marginName}}</span> |
96 | <select class="form-control" disabled="true" ng-model="jets.pricingStructure"> | 96 | <select class="form-control" disabled="true" ng-model="jets.pricingStructure"> |
97 | <option value="" disabled selected>Pricing Structure</option> | 97 | <option value="" disabled selected>Pricing Structure</option> |
98 | <option value="minus">Retail/PAP-(minus)</option> | 98 | <option value="minus">Retail/PAP-(minus)</option> |
99 | <option value="plus">Cost+(plus)</option> | 99 | <option value="plus">Cost+(plus)</option> |
100 | </select> | 100 | </select> |
101 | <span style="margin-right: 0;">$</span> | 101 | <span style="margin-right: 0;">$</span> |
102 | <input type="text" disabled="true" class="form-control" ng-model="jets.marginValue"> | 102 | <input type="text" disabled="true" class="form-control" ng-model="jets.marginValue"> |
103 | <div class="pull-right"> | 103 | <div class="pull-right"> |
104 | <button class="btn btn-success" style="display: none; background-image: none; background-color: #f3f3f3; color: #333; border:0;" ng-click="closeAccordian(jets)">Close</button> | 104 | <button class="btn btn-success" style="display: none; background-image: none; background-color: #f3f3f3; color: #333; border:0;" ng-click="closeAccordian(jets)">Close</button> |
105 | <button class="btn btn-success" style="display: none;" ng-click="saveJetAccordian(jets)">Save</button> | 105 | <button class="btn btn-success" style="display: none;" ng-click="saveJetAccordian(jets)">Save</button> |
106 | <button class="btn btn-danger" style="display: none;" ng-click="deleteJetAccordian(jets.id)">Delete</button> | 106 | <button class="btn btn-danger" style="display: none;" ng-click="deleteJetAccordian(jets.id)">Delete</button> |
107 | <button type="button" class="btn btn-primary" ng-click="emailPricingForMargin(jets.id)" style= "font-weight: normal; text-align: center; font-size:12px">Email Pricing for this Margin</button> | 107 | <button type="button" class="btn btn-primary" ng-click="emailPricingForMargin(jets.id)" style= "font-weight: normal; text-align: center; font-size:12px">Email Pricing for this Margin</button> |
108 | <button class="btn btn-default" ng-click="toggleJestAccordian(jets.id, $index)" style= "text-align: center; font-size:12px">Edit</button> | 108 | <button class="btn btn-default" ng-click="toggleJestAccordian(jets.id, $index)" style= "text-align: center; font-size:12px">Edit</button> |
109 | </div> | 109 | </div> |
110 | <div class="clearfix"></div> | 110 | <div class="clearfix"></div> |
111 | </div> | 111 | </div> |
112 | <div class="customAccordianTabBody {{jets.id}}" style="display: none;"> | 112 | <div class="customAccordianTabBody {{jets.id}}" style="display: none;"> |
113 | <div class="tierListWrap" ng-repeat="tier in aTypeJets[$index].tierList"> | 113 | <div class="tierListWrap" ng-repeat="tier in aTypeJets[$index].tierList"> |
114 | <div class="tierListHead" style="height: 36px;"> | 114 | <div class="tierListHead" style="height: 36px;"> |
115 | <span class="pull-left tierHeadingSpan" ng-hide="showEditTier">{{tier.minTierBreak}}-{{tier.maxTierBreak}} gal. | 115 | <span class="pull-left tierHeadingSpan" ng-hide="showEditTier">{{tier.minTierBreak}}-{{tier.maxTierBreak}} gal. |
116 | </span> | 116 | </span> |
117 | <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> | 117 | <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> |
118 | 118 | ||
119 | <input type="text" placeholder="min" style="width: 36px;" ng-model="tier.minTierBreak" ng-show="showEditTier"> | 119 | <input type="text" placeholder="min" style="width: 36px;" ng-model="tier.minTierBreak" ng-show="showEditTier"> |
120 | <span ng-show="showEditTier">-</span> | 120 | <span ng-show="showEditTier">-</span> |
121 | <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.maxTierBreak" ng-show="showEditTier"> <b ng-show="showEditTier">gal.</b> | 121 | <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.maxTierBreak" ng-show="showEditTier"> <b ng-show="showEditTier">gal.</b> |
122 | <div class="clearfix"></div> | 122 | <div class="clearfix"></div> |
123 | </div> | 123 | </div> |
124 | <div class="tierListBody" style="height: 35px;"> | 124 | <div class="tierListBody" style="height: 35px;"> |
125 | <span class="pull-left minTierSpan" ng-hide="showEditTier">-${{tier.margin}}</span> | 125 | <span class="pull-left minTierSpan" ng-hide="showEditTier">-${{tier.margin}}</span> |
126 | 126 | ||
127 | <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.margin" ng-show="showEditTier"> | 127 | <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.margin" ng-show="showEditTier"> |
128 | 128 | ||
129 | <span class="pull-right maxTierSpan" ng-hide="showEditTier">(${{tier.marginTotal | number : 2}})</span> | 129 | <span class="pull-right maxTierSpan" ng-hide="showEditTier">(${{tier.marginTotal | number : 2}})</span> |
130 | 130 | ||
131 | <button class="addTierBtn" ng-click="editTier(tier, $parent.$index)" ng-show="showEditTier">Save</button> | 131 | <button class="addTierBtn" ng-click="editTier(tier, $parent.$index)" ng-show="showEditTier">Save</button> |
132 | 132 | ||
133 | <i class="fa fa-trash-o deleteTierIcon" ng-click="deleteTier(tier.id, jets.id, $parent.$index)" aria-hidden="true" ng-show="showEditTier"></i> | 133 | <i class="fa fa-trash-o deleteTierIcon" ng-click="deleteTier(tier.id, jets.id, $parent.$index)" aria-hidden="true" ng-show="showEditTier"></i> |
134 | 134 | ||
135 | <div class="clearfix"></div> | 135 | <div class="clearfix"></div> |
136 | </div> | 136 | </div> |
137 | </div> | 137 | </div> |
138 | <div class="tierListWrap" style="width: 160px;"> | 138 | <div class="tierListWrap" style="width: 160px;"> |
139 | <div class="tierListHead" style="border-right: 1px solid #ddd;"> | 139 | <div class="tierListHead" style="border-right: 1px solid #ddd;"> |
140 | <input type="text" placeholder="min" ng-model="trData[$index].minTierBreak"> | 140 | <input type="text" placeholder="min" ng-model="trData[$index].minTierBreak"> |
141 | <span>-</span> | 141 | <span>-</span> |
142 | <input type="text" placeholder="max" ng-model="trData[$index].maxTierBreak"> <b>gal.</b> | 142 | <input type="text" placeholder="max" ng-model="trData[$index].maxTierBreak"> <b>gal.</b> |
143 | <div class="clearfix"></div> | 143 | <div class="clearfix"></div> |
144 | </div> | 144 | </div> |
145 | <div class="tierListBody" style="border-right: 1px solid #ddd;"> | 145 | <div class="tierListBody" style="border-right: 1px solid #ddd;"> |
146 | <span style="color: #449d44;">$</span> | 146 | <span style="color: #449d44;">$</span> |
147 | <input type="text" placeholder="margin" ng-model="trData[$index].margin" class="tierTextBox" style="width: 70px; height: 24px;"> | 147 | <input type="text" placeholder="margin" ng-model="trData[$index].margin" class="tierTextBox" style="width: 70px; height: 24px;"> |
148 | <button class="addTierBtn" ng-click="addNewTier(jets.id, trData, $index)">Add Tier</button> | 148 | <button class="addTierBtn" ng-click="addNewTier(jets.id, trData, $index)">Add Tier</button> |
149 | <div class="clearfix"></div> | 149 | <div class="clearfix"></div> |
150 | </div> | 150 | </div> |
151 | </div> | 151 | </div> |
152 | <!-- <div class="tierListWrap" style="width: 32px;"> | 152 | <!-- <div class="tierListWrap" style="width: 32px;"> |
153 | <div class="tierListHead" style="height: 36px; border-right: 1px solid #ddd;"> | 153 | <div class="tierListHead" style="height: 36px; border-right: 1px solid #ddd;"> |
154 | | 154 | |
155 | </div> | 155 | </div> |
156 | <div class="tierListBody" style="height: 35px; border-right: 1px solid #ddd;"> | 156 | <div class="tierListBody" style="height: 35px; border-right: 1px solid #ddd;"> |
157 | <i class="fa fa-trash-o deleteTierIcon" aria-hidden="true"></i> | 157 | <i class="fa fa-trash-o deleteTierIcon" aria-hidden="true"></i> |
158 | </div> | 158 | </div> |
159 | </div> --> | 159 | </div> --> |
160 | <div class="clearfix"></div> | 160 | <div class="clearfix"></div> |
161 | <!-- <textarea class="form-control resizeTextarea" ng-model="jets.message" placeholder="Message..."></textarea> --> | 161 | <!-- <textarea class="form-control resizeTextarea" ng-model="jets.message" placeholder="Message..."></textarea> --> |
162 | <br/> | 162 | <br/> |
163 | <div ckeditor="options" ng-model="jets.message" ready="onReady()"></div> | 163 | <div ckeditor="options" ng-model="jets.message" ready="onReady()"></div> |
164 | </div> | 164 | </div> |
165 | </div> | 165 | </div> |
166 | </div> | 166 | </div> |
167 | <div class="pull-right"> | 167 | <div class="pull-right"> |
168 | <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> | 168 | <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> |
169 | </div> | 169 | </div> |
170 | </section> | 170 | </section> |
171 | <!-- <div class="row"> </div> | 171 | <!-- <div class="row"> </div> |
172 | <div class="row"> | 172 | <div class="row"> |
173 | <div class="form-group"> | 173 | <div class="form-group"> |
174 | <div class="col-lg-12 text-right"> | 174 | <div class="col-lg-12 text-right"> |
175 | <button type="submit" class="btn btn-success"><i class="icon-ok"></i> Save Form</button> | 175 | <button type="submit" class="btn btn-success"><i class="icon-ok"></i> Save Form</button> |
176 | <button type="reset" class="btn btn-default">Cancel</button> | 176 | <button type="reset" class="btn btn-default">Cancel</button> |
177 | </div> | 177 | </div> |
178 | </div> | 178 | </div> |
179 | </div> --> | 179 | </div> --> |
180 | </div> | 180 | </div> |
181 | <!-- /widget-content --> | 181 | <!-- /widget-content --> |
182 | </div> | 182 | </div> |
183 | <!-- /widget --> | 183 | <!-- /widget --> |
184 | </div> | 184 | </div> |
185 | <!-- /span6 --> | 185 | <!-- /span6 --> |
186 | </div> | 186 | </div> |
187 | <!-- /span12 --> | 187 | <!-- /span12 --> |
188 | </div> | 188 | </div> |
189 | <!-- /row --> | 189 | <!-- /row --> |
190 | <div style="width: 90%; margin-left: 5%;"> | 190 | <div style="width: 96%; margin-left: 2%;"> |
191 | <div class="row"> | 191 | <div class="row"> |
192 | <div class="col-md-6"> | 192 | <div class="col-md-6"> |
193 | <div class="widget stacked"> | 193 | <div class="widget stacked"> |
194 | <div class="widget-header"> | 194 | <div class="widget-header"> |
195 | <i class="fa fa-pencil"></i> | 195 | <i class="fa fa-pencil"></i> |
196 | <h3>Price Manager</h3> | 196 | <h3>Price Manager</h3> |
197 | <select style="float: right; margin: 7px 10px; width: 150px; height: 26px; padding: 0 0;" class="btn btn-primary" class="form-control" ng-model="sendEmail.pricing" ng-change="confirmMail()"> | 197 | <select style="float: right; margin: 7px 10px; width: 150px; height: 26px; padding: 0 0;" class="btn btn-primary" class="form-control" ng-model="sendEmail.pricing" ng-change="confirmMail()"> |
198 | <option value="" disabled selected="selected">Email All Pricing</option> | 198 | <option value="" disabled selected="selected">Email All Pricing</option> |
199 | <option value="JET-A">Email JET-A pricing only</option> | 199 | <option value="JET-A">Email JET-A pricing only</option> |
200 | <option value="AVGAS">Email AVGAS pricing only</option> | 200 | <option value="AVGAS">Email AVGAS pricing only</option> |
201 | <option disabled>_______________________________</option> | 201 | <option disabled>_______________________________</option> |
202 | <option value="all">Distribute All</option> | 202 | <option value="all">Distribute All</option> |
203 | </select> | 203 | </select> |
204 | </div> | 204 | </div> |
205 | <!-- /widget-header --> | 205 | <!-- /widget-header --> |
206 | <div class="widget-content"> | 206 | <div class="widget-content"> |
207 | <h4>Update Fuel Price Here</h4> | 207 | <h4>Update Fuel Price Here</h4> |
208 | <table class="table"> | 208 | <table class="table"> |
209 | <thead> | 209 | <thead> |
210 | <tr> | 210 | <tr> |
211 | <th> Product</th> | 211 | <th> Product</th> |
212 | <th> Cost</th> | 212 | <th> Cost</th> |
213 | <th> Margin</th> | 213 | <th> Margin</th> |
214 | <th> PAP(Total)</th> | 214 | <th> PAP(Total)</th> |
215 | <th style="color: #F90;"> Expires</th> | 215 | <th style="color: #F90;"> Expires</th> |
216 | </tr> | 216 | </tr> |
217 | </thead> | 217 | </thead> |
218 | <tbody> | 218 | <tbody> |
219 | <tr ng-repeat="fuelPricing in newFuelPricing"> | 219 | <tr ng-repeat="fuelPricing in newFuelPricing"> |
220 | <td> | 220 | <td> |
221 | <span style="color: #2196f3" ng-show="fuelPricing.jeta">{{fuelPricing.name}}</span> | 221 | <span style="color: #2196f3" ng-show="fuelPricing.jeta">{{fuelPricing.name}}</span> |
222 | <span ng-show="fuelPricing.jeta">{{fuelPricing.namejetrest}}</span> | 222 | <span ng-show="fuelPricing.jeta">{{fuelPricing.namejetrest}}</span> |
223 | <span style="color: 39c" ng-show="fuelPricing.avgas">{{fuelPricing.name}}</span> | 223 | <span style="color: 39c" ng-show="fuelPricing.avgas">{{fuelPricing.name}}</span> |
224 | <span ng-show="fuelPricing.avgas">{{fuelPricing.nameavgasrest}}</span> | 224 | <span ng-show="fuelPricing.avgas">{{fuelPricing.nameavgasrest}}</span> |
225 | </td> | 225 | </td> |
226 | <td> | 226 | <td> |
227 | <span>{{fuelPricing.fuelPricing.cost}}</span> | 227 | <span>{{fuelPricing.fuelPricing.cost}}</span> |
228 | </td> | 228 | </td> |
229 | <td> | 229 | <td> |
230 | <span>{{fuelPricing.fuelPricing.papMargin}}</span> | 230 | <span>{{fuelPricing.fuelPricing.papMargin}}</span> |
231 | </td> | 231 | </td> |
232 | <td> | 232 | <td> |
233 | <span style="line-height: 31px; color: #1ab394;">$ {{fuelPricing.fuelPricing.cost -- fuelPricing.fuelPricing.papMargin | number : 2 }}</span> | 233 | <span style="line-height: 31px; color: #1ab394;">$ {{fuelPricing.fuelPricing.cost -- fuelPricing.fuelPricing.papMargin | number : 2 }}</span> |
234 | </td> | 234 | </td> |
235 | <td> | 235 | <td> |
236 | <span>{{fuelPricing.fuelPricing.expirationDate}}</span> | 236 | <span>{{fuelPricing.fuelPricing.expirationDate}}</span> |
237 | </td> | 237 | </td> |
238 | </tr> | 238 | </tr> |
239 | </tbody> | 239 | </tbody> |
240 | </table> | 240 | </table> |
241 | <div class="row" style="margin-left: 0px;"> | 241 | <div class="row" style="margin-left: 0px;"> |
242 | <div class="col-md-12" style= "text-align: right;"> | 242 | <div class="col-md-12" style= "text-align: right;"> |
243 | <button type="button" class="btn btn-success btn-xs" ng-click="updateFuelPricingClick()" style="font-size:14px; margin-right:3%">Save</button> | 243 | <button type="button" class="btn btn-success btn-xs" ng-click="updateFuelPricingClick()" style="font-size:14px; margin-right:3%">Save</button> |
244 | </div> | 244 | </div> |
245 | </div> | 245 | </div> |
246 | </div> | 246 | </div> |
247 | <!-- /widget-content --> | 247 | <!-- /widget-content --> |
248 | </div> | 248 | </div> |
249 | <!-- /widget --> | 249 | <!-- /widget --> |
250 | </div> | 250 | </div> |
251 | 251 | ||
252 | <div class="col-md-6"> | 252 | <div class="col-md-6"> |
253 | <div class="widget stacked"> | 253 | <div class="widget stacked"> |
254 | <div class="widget-header"> | 254 | <div class="widget-header"> |
255 | <i class="fa fa-pencil"></i> | 255 | <i class="fa fa-pencil"></i> |
256 | <h3><b style="color: 39c;">AVGAS 100LL </b> <i>Customer Margin Template</i></h3> | 256 | <h3><b style="color: 39c;">AVGAS 100LL </b> <i>Customer Margin Template</i></h3> |
257 | 257 | ||
258 | </div> | 258 | </div> |
259 | <!-- /widget-header --> | 259 | <!-- /widget-header --> |
260 | <div class="widget-content" style="padding-top: 10px;"> | 260 | <div class="widget-content" style="padding-top: 10px;"> |
261 | <section id="accordions"> | 261 | <section id="accordions"> |
262 | <div class="newCustomAccordian"> | 262 | <div class="newCustomAccordian"> |
263 | <!-- tab 1 --> | 263 | <!-- tab 1 --> |
264 | <div ng-repeat="jets in vTypeJets"> | 264 | <div ng-repeat="jets in vTypeJets"> |
265 | <div class="customAccordianHeader" id="{{jets.id}}"> | 265 | <div class="customAccordianHeader" id="{{jets.id}}"> |
266 | <span>{{jets.marginName}}</span> | 266 | <span>{{jets.marginName}}</span> |
267 | <select class="form-control" disabled="true" ng-model="jets.pricingStructure"> | 267 | <select class="form-control" disabled="true" ng-model="jets.pricingStructure"> |
268 | <option value="" disabled selected>Pricing Structure</option> | 268 | <option value="" disabled selected>Pricing Structure</option> |
269 | <option value="minus">Retail-(minus)</option> | 269 | <option value="minus">Retail-(minus)</option> |
270 | <option value="plus">Cost+(plus)</option> | 270 | <option value="plus">Cost+(plus)</option> |
271 | <option value="equal">Direct=(equal)</option> | 271 | <option value="equal">Direct=(equal)</option> |
272 | </select> | 272 | </select> |
273 | <span style="margin-right: 0;">$</span> | 273 | <span style="margin-right: 0;">$</span> |
274 | <input type="text" disabled="true" class="form-control" ng-model="jets.marginValue"> | 274 | <input type="text" disabled="true" class="form-control" ng-model="jets.marginValue"> |
275 | <div class="pull-right"> | 275 | <div class="pull-right"> |
276 | <button class="btn btn-success" style="display: none; background-image: none; background-color: #f3f3f3; color: #333; border:0;" ng-click="closeAccordianVtype(jets)">Close</button> | 276 | <button class="btn btn-success" style="display: none; background-image: none; background-color: #f3f3f3; color: #333; border:0;" ng-click="closeAccordianVtype(jets)">Close</button> |
277 | <button class="btn btn-success" style="display: none;" ng-click="saveVtypeJetAccordian(jets)">Save</button> | 277 | <button class="btn btn-success" style="display: none;" ng-click="saveVtypeJetAccordian(jets)">Save</button> |
278 | <button class="btn btn-danger" style="display: none;" ng-click="deleteVtypeJetAccordian(jets.id)">Delete</button> | 278 | <button class="btn btn-danger" style="display: none;" ng-click="deleteVtypeJetAccordian(jets.id)">Delete</button> |
279 | <button type="button" class="btn btn-primary" ng-click="emailPricingForMargin()" style= "font-weight: normal; text-align: center; font-size:12px">Email Pricing for this Margin</button> | 279 | <button type="button" class="btn btn-primary" ng-click="emailPricingForMargin()" style= "font-weight: normal; text-align: center; font-size:12px">Email Pricing for this Margin</button> |
280 | <button class="btn btn-default" ng-click="toggleVtypeJestAccordian(jets.id, $index)" style= "text-align: center; font-size:12px">Edit</button> | 280 | <button class="btn btn-default" ng-click="toggleVtypeJestAccordian(jets.id, $index)" style= "text-align: center; font-size:12px">Edit</button> |
281 | </div> | 281 | </div> |
282 | <div class="clearfix"></div> | 282 | <div class="clearfix"></div> |
283 | </div> | 283 | </div> |
284 | <div class="customAccordianTabBody {{jets.id}}" style="display: none;"> | 284 | <div class="customAccordianTabBody {{jets.id}}" style="display: none;"> |
285 | <div class="tierListWrap" ng-repeat="tier in vTypeJets[$index].tierList"> | 285 | <div class="tierListWrap" ng-repeat="tier in vTypeJets[$index].tierList"> |
286 | <div class="tierListHead" style="height: 36px;"> | 286 | <div class="tierListHead" style="height: 36px;"> |
287 | <span class="pull-left tierHeadingSpan" ng-hide="showEditTier">{{tier.minTierBreak}}-{{tier.maxTierBreak}} gal. | 287 | <span class="pull-left tierHeadingSpan" ng-hide="showEditTier">{{tier.minTierBreak}}-{{tier.maxTierBreak}} gal. |
288 | </span> | 288 | </span> |
289 | <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> | 289 | <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> |
290 | 290 | ||
291 | <input type="text" placeholder="min" style="width: 36px;" ng-model="tier.minTierBreak" ng-show="showEditTier"> | 291 | <input type="text" placeholder="min" style="width: 36px;" ng-model="tier.minTierBreak" ng-show="showEditTier"> |
292 | <span ng-show="showEditTier">-</span> | 292 | <span ng-show="showEditTier">-</span> |
293 | <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.maxTierBreak" ng-show="showEditTier"> <b ng-show="showEditTier">gal.</b> | 293 | <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.maxTierBreak" ng-show="showEditTier"> <b ng-show="showEditTier">gal.</b> |
294 | <div class="clearfix"></div> | 294 | <div class="clearfix"></div> |
295 | </div> | 295 | </div> |
296 | <div class="tierListBody" style="height: 35px;"> | 296 | <div class="tierListBody" style="height: 35px;"> |
297 | <span class="pull-left minTierSpan" ng-hide="showEditTier">-${{tier.margin}}</span> | 297 | <span class="pull-left minTierSpan" ng-hide="showEditTier">-${{tier.margin}}</span> |
298 | 298 | ||
299 | <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.margin" ng-show="showEditTier"> | 299 | <input type="text" placeholder="max" style="width: 36px;" ng-model="tier.margin" ng-show="showEditTier"> |
300 | 300 | ||
301 | <span class="pull-right maxTierSpan" ng-hide="showEditTier">(${{tier.marginTotal | number : 2}})</span> | 301 | <span class="pull-right maxTierSpan" ng-hide="showEditTier">(${{tier.marginTotal | number : 2}})</span> |
302 | 302 | ||
303 | <button class="addTierBtn" ng-click="editVtypeTier(tier, $parent.$index)" ng-show="showEditTier">Save</button> | 303 | <button class="addTierBtn" ng-click="editVtypeTier(tier, $parent.$index)" ng-show="showEditTier">Save</button> |
304 | 304 | ||
305 | <i class="fa fa-trash-o deleteTierIcon" ng-click="deleteVtypeTier(tier.id, jets.id, $parent.$index)" aria-hidden="true" ng-show="showEditTier"></i> | 305 | <i class="fa fa-trash-o deleteTierIcon" ng-click="deleteVtypeTier(tier.id, jets.id, $parent.$index)" aria-hidden="true" ng-show="showEditTier"></i> |
306 | 306 | ||
307 | <div class="clearfix"></div> | 307 | <div class="clearfix"></div> |
308 | </div> | 308 | </div> |
309 | </div> | 309 | </div> |
310 | <div class="tierListWrap" style="width: 160px;"> | 310 | <div class="tierListWrap" style="width: 160px;"> |
311 | <div class="tierListHead" style="border-right: 1px solid #ddd;"> | 311 | <div class="tierListHead" style="border-right: 1px solid #ddd;"> |
312 | <input type="text" placeholder="min" ng-model="vtrData[$index].minTierBreak"> | 312 | <input type="text" placeholder="min" ng-model="vtrData[$index].minTierBreak"> |
313 | <span>-</span> | 313 | <span>-</span> |
314 | <input type="text" placeholder="max" ng-model="vtrData[$index].maxTierBreak"> <b>gal.</b> | 314 | <input type="text" placeholder="max" ng-model="vtrData[$index].maxTierBreak"> <b>gal.</b> |
315 | <div class="clearfix"></div> | 315 | <div class="clearfix"></div> |
316 | </div> | 316 | </div> |
317 | <div class="tierListBody" style="border-right: 1px solid #ddd;"> | 317 | <div class="tierListBody" style="border-right: 1px solid #ddd;"> |
318 | <span style="color: #449d44;">$</span> | 318 | <span style="color: #449d44;">$</span> |
319 | <input type="text" placeholder="margin" ng-model="vtrData[$index].margin" class="tierTextBox" style="width: 70px; height: 24px;"> | 319 | <input type="text" placeholder="margin" ng-model="vtrData[$index].margin" class="tierTextBox" style="width: 70px; height: 24px;"> |
320 | <button class="addTierBtn" ng-click="addNewVtypeTier(jets.id, vtrData, $index)">Add Tier</button> | 320 | <button class="addTierBtn" ng-click="addNewVtypeTier(jets.id, vtrData, $index)">Add Tier</button> |
321 | <div class="clearfix"></div> | 321 | <div class="clearfix"></div> |
322 | </div> | 322 | </div> |
323 | </div> | 323 | </div> |
324 | <!-- <div class="tierListWrap" style="width: 32px;"> | 324 | <!-- <div class="tierListWrap" style="width: 32px;"> |
325 | <div class="tierListHead" style="height: 36px; border-right: 1px solid #ddd;"> | 325 | <div class="tierListHead" style="height: 36px; border-right: 1px solid #ddd;"> |
326 | | 326 | |
327 | </div> | 327 | </div> |
328 | <div class="tierListBody" style="height: 35px; border-right: 1px solid #ddd;"> | 328 | <div class="tierListBody" style="height: 35px; border-right: 1px solid #ddd;"> |
329 | <i class="fa fa-trash-o deleteTierIcon" aria-hidden="true"></i> | 329 | <i class="fa fa-trash-o deleteTierIcon" aria-hidden="true"></i> |
330 | </div> | 330 | </div> |
331 | </div> --> | 331 | </div> --> |
332 | <div class="clearfix"></div> | 332 | <div class="clearfix"></div> |
333 | <br/> | 333 | <br/> |
334 | <div ckeditor="options" ng-model="jets.message" ready="onReady()"></div> | 334 | <div ckeditor="options" ng-model="jets.message" ready="onReady()"></div> |
335 | </div> | 335 | </div> |
336 | </div> | 336 | </div> |
337 | </div> | 337 | </div> |
338 | <div class="pull-right"> | 338 | <div class="pull-right"> |
339 | <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> | 339 | <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> |
340 | </div> | 340 | </div> |
341 | </section> | 341 | </section> |
342 | <!-- <div class="row"> </div> | 342 | <!-- <div class="row"> </div> |
343 | <div class="row"> | 343 | <div class="row"> |
344 | <div class="form-group"> | 344 | <div class="form-group"> |
345 | <div class="col-lg-12 text-right"> | 345 | <div class="col-lg-12 text-right"> |
346 | <button type="submit" class="btn btn-success"><i class="icon-ok"></i> Save Form</button> | 346 | <button type="submit" class="btn btn-success"><i class="icon-ok"></i> Save Form</button> |
347 | <button type="reset" class="btn btn-default">Cancel</button> | 347 | <button type="reset" class="btn btn-default">Cancel</button> |
348 | </div> | 348 | </div> |
349 | </div> | 349 | </div> |
350 | </div> --> | 350 | </div> --> |
351 | </div> | 351 | </div> |
352 | <!-- /widget-content --> | 352 | <!-- /widget-content --> |
353 | </div> | 353 | </div> |
354 | <!-- /widget --> | 354 | <!-- /widget --> |
355 | </div> | 355 | </div> |
356 | <!-- /span6 --> | 356 | <!-- /span6 --> |
357 | </div> | 357 | </div> |
358 | </div> | 358 | </div> |
359 | </div> | 359 | </div> |
360 | </div> <!-- /container --> | 360 | </div> <!-- /container --> |
361 | 361 | ||
362 | 362 | ||
363 | <div class="addNewMargin" style="display: none;"> | 363 | <div class="addNewMargin" style="display: none;"> |
364 | <div class="customBackdrop"> | 364 | <div class="customBackdrop"> |
365 | <div class="customModalInner" style="max-width: 700px;"> | 365 | <div class="customModalInner" style="max-width: 700px;"> |
366 | <div class="customModelHead"> | 366 | <div class="customModelHead"> |
367 | <p class="pull-left"> | 367 | <p class="pull-left"> |
368 | <i class="fa fa-list-alt" aria-hidden="true"></i> | 368 | <i class="fa fa-list-alt" aria-hidden="true"></i> |
369 | Add New JET-A Customer Margin | 369 | Add New JET-A Customer Margin |
370 | </p> | 370 | </p> |
371 | <p class="pull-right"> | 371 | <p class="pull-right"> |
372 | <i class="fa fa-times" aria-hidden="true" style="cursor: pointer;" ng-click="closeMarginPopup()"></i> | 372 | <i class="fa fa-times" aria-hidden="true" style="cursor: pointer;" ng-click="closeMarginPopup()"></i> |
373 | </p> | 373 | </p> |
374 | <div class="clearfix"></div> | 374 | <div class="clearfix"></div> |
375 | </div> | 375 | </div> |
376 | <div class="customModelBody"> | 376 | <div class="customModelBody"> |
377 | 377 | ||
378 | <div class="customAccordianHeader customActive"> | 378 | <div class="customAccordianHeader customActive"> |
379 | <input type="text" class="form-control" style="width: 120px; margin-right: 10px;" placeholder="Margin Name" ng-model="newJet.marginName"> | 379 | <input type="text" class="form-control" style="width: 120px; margin-right: 10px;" placeholder="Margin Name" ng-model="newJet.marginName"> |
380 | <select class="form-control" ng-model="newJet.pricingStructure"> | 380 | <select class="form-control" ng-model="newJet.pricingStructure"> |
381 | <option value="" disabled selected>Pricing Structure</option> | 381 | <option value="" disabled selected>Pricing Structure</option> |
382 | <option value="minus">Retail-(minus)</option> | 382 | <option value="minus">Retail-(minus)</option> |
383 | <option value="plus">Cost+(plus)</option> | 383 | <option value="plus">Cost+(plus)</option> |
384 | <option value="equal">Direct=(equal)</option> | 384 | <option value="equal">Direct=(equal)</option> |
385 | </select> | 385 | </select> |
386 | <span style="margin-right: 0;">$</span> | 386 | <span style="margin-right: 0;">$</span> |
387 | <input type="text" class="form-control" style="width: 120px;" placeholder="Margin Price" ng-model="newJet.marginValue"> | 387 | <input type="text" class="form-control" style="width: 120px;" placeholder="Margin Price" ng-model="newJet.marginValue"> |
388 | <div class="clearfix"></div> | 388 | <div class="clearfix"></div> |
389 | </div> | 389 | </div> |
390 | <div class="customAccordianTabBody"> | 390 | <div class="customAccordianTabBody"> |
391 | <div ckeditor="options" ng-model="newJet.message" ready="onReady()"></div> | 391 | <div ckeditor="options" ng-model="newJet.message" ready="onReady()"></div> |
392 | </div> | 392 | </div> |
393 | 393 | ||
394 | </div> | 394 | </div> |
395 | <div class="customModelFooter text-center"> | 395 | <div class="customModelFooter text-center"> |
396 | <input type="submit" value="Save" class="btn" ng-click="addNewATypeJet()"> | 396 | <input type="submit" value="Save" class="btn" ng-click="addNewATypeJet()"> |
397 | <button class="btn" ng-click="closeMarginPopup()">Cancel</button> | 397 | <button class="btn" ng-click="closeMarginPopup()">Cancel</button> |
398 | </div> | 398 | </div> |
399 | </div> | 399 | </div> |
400 | </div> | 400 | </div> |
401 | </div> | 401 | </div> |
402 | 402 | ||
403 | <div class="addNewVtype" style="display: none;"> | 403 | <div class="addNewVtype" style="display: none;"> |
404 | <div class="customBackdrop"> | 404 | <div class="customBackdrop"> |
405 | <div class="customModalInner" style="max-width: 700px;"> | 405 | <div class="customModalInner" style="max-width: 700px;"> |
406 | <div class="customModelHead"> | 406 | <div class="customModelHead"> |
407 | <p class="pull-left"> | 407 | <p class="pull-left"> |
408 | <i class="fa fa-list-alt" aria-hidden="true"></i> | 408 | <i class="fa fa-list-alt" aria-hidden="true"></i> |
409 | Add New AVGAS 100LL Customer Margin Template | 409 | Add New AVGAS 100LL Customer Margin Template |
410 | </p> | 410 | </p> |
411 | <p class="pull-right"> | 411 | <p class="pull-right"> |
412 | <i class="fa fa-times" aria-hidden="true" style="cursor: pointer;" ng-click="closeNewVtypePop()"></i> | 412 | <i class="fa fa-times" aria-hidden="true" style="cursor: pointer;" ng-click="closeNewVtypePop()"></i> |
413 | </p> | 413 | </p> |
414 | <div class="clearfix"></div> | 414 | <div class="clearfix"></div> |
415 | </div> | 415 | </div> |
416 | <div class="customModelBody"> | 416 | <div class="customModelBody"> |
417 | 417 | ||
418 | <div class="customAccordianHeader customActive"> | 418 | <div class="customAccordianHeader customActive"> |
419 | <input type="text" class="form-control" style="width: 120px; margin-right: 10px;" placeholder="Margin Name" ng-model="newVtypeJet.marginName"> | 419 | <input type="text" class="form-control" style="width: 120px; margin-right: 10px;" placeholder="Margin Name" ng-model="newVtypeJet.marginName"> |
420 | <select class="form-control" ng-model="newVtypeJet.pricingStructure"> | 420 | <select class="form-control" ng-model="newVtypeJet.pricingStructure"> |
421 | <option value="" disabled selected>Pricing Structure</option> | 421 | <option value="" disabled selected>Pricing Structure</option> |
422 | <option value="minus">Retail-(minus)</option> | 422 | <option value="minus">Retail-(minus)</option> |
423 | <option value="plus">Cost+(plus)</option> | 423 | <option value="plus">Cost+(plus)</option> |
424 | <option value="equal">Direct=(equal)</option> | 424 | <option value="equal">Direct=(equal)</option> |
425 | </select> | 425 | </select> |
426 | <span style="margin-right: 0;">$</span> | 426 | <span style="margin-right: 0;">$</span> |
427 | <input type="text" class="form-control" style="width: 120px;" placeholder="Margin Price" ng-model="newVtypeJet.marginValue"> | 427 | <input type="text" class="form-control" style="width: 120px;" placeholder="Margin Price" ng-model="newVtypeJet.marginValue"> |
428 | <div class="clearfix"></div> | 428 | <div class="clearfix"></div> |
429 | </div> | 429 | </div> |
430 | <div class="customAccordianTabBody"> | 430 | <div class="customAccordianTabBody"> |
431 | <div ckeditor="options" ng-model="newVtypeJet.message" ready="onReady()"></div> | 431 | <div ckeditor="options" ng-model="newVtypeJet.message" ready="onReady()"></div> |
432 | </div> | 432 | </div> |
433 | 433 | ||
434 | </div> | 434 | </div> |
435 | <div class="customModelFooter text-center"> | 435 | <div class="customModelFooter text-center"> |
436 | <input type="submit" value="Save" class="btn" ng-click="addNewVTypeJet()"> | 436 | <input type="submit" value="Save" class="btn" ng-click="addNewVTypeJet()"> |
437 | <button class="btn" ng-click="closeNewVtypePop()">Cancel</button> | 437 | <button class="btn" ng-click="closeNewVtypePop()">Cancel</button> |
438 | </div> | 438 | </div> |
439 | </div> | 439 | </div> |
440 | </div> | 440 | </div> |
441 | </div> | 441 | </div> |
442 | 442 | ||
443 | <div class="customConfirmPopBackdrop" id="confirm1" style="display: none;"> | 443 | <div class="customConfirmPopBackdrop" id="confirm1" style="display: none;"> |
444 | <div class="customModalInner"> | 444 | <div class="customModalInner"> |
445 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 445 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
446 | <table> | 446 | <table> |
447 | <tr> | 447 | <tr> |
448 | <td> | 448 | <td> |
449 | <img src="img/info.png" style="width: 50px;"> | 449 | <img src="img/info.png" style="width: 50px;"> |
450 | </td> | 450 | </td> |
451 | <td> | 451 | <td> |
452 | <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to email pricing to everyone in your contact list?</p> | 452 | <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to email pricing to everyone in your contact list?</p> |
453 | </td> | 453 | </td> |
454 | </tr> | 454 | </tr> |
455 | </table> | 455 | </table> |
456 | </div> | 456 | </div> |
457 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 457 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
458 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="saveAndCloseConfirm()">Yes</button> | 458 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="saveAndCloseConfirm()">Yes</button> |
459 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAndCloseConfirm()">Cancel</button> | 459 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAndCloseConfirm()">Cancel</button> |
460 | </div> | 460 | </div> |
461 | </div> | 461 | </div> |
462 | </div> | 462 | </div> |
463 | <div class="customConfirmPopBackdrop" id="confirm2" style="display: none;"> | 463 | <div class="customConfirmPopBackdrop" id="confirm2" style="display: none;"> |
464 | <div class="customModalInner"> | 464 | <div class="customModalInner"> |
465 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 465 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
466 | <table> | 466 | <table> |
467 | <tr> | 467 | <tr> |
468 | <td> | 468 | <td> |
469 | <img src="img/info.png" style="width: 50px;"> | 469 | <img src="img/info.png" style="width: 50px;"> |
470 | </td> | 470 | </td> |
471 | <td> | 471 | <td> |
472 | <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to email pricing for this margin?</p> | 472 | <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to email pricing for this margin?</p> |
473 | </td> | 473 | </td> |
474 | </tr> | 474 | </tr> |
475 | </table> | 475 | </table> |
476 | </div> | 476 | </div> |
477 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 477 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
478 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="saveAndCloseForMarginConfirm()">Yes</button> | 478 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="saveAndCloseForMarginConfirm()">Yes</button> |
479 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAndCloseForMarginConfirm()">Cancel</button> | 479 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelAndCloseForMarginConfirm()">Cancel</button> |
480 | </div> | 480 | </div> |
481 | </div> | 481 | </div> |
482 | </div> | 482 | </div> |
483 | 483 | ||
484 | <div class="customConfirmPopBackdrop" id="deleteTierConfirm" style="display: none;"> | 484 | <div class="customConfirmPopBackdrop" id="deleteTierConfirm" style="display: none;"> |
485 | <div class="customModalInner"> | 485 | <div class="customModalInner"> |
486 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 486 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
487 | <table> | 487 | <table> |
488 | <tr> | 488 | <tr> |
489 | <td> | 489 | <td> |
490 | <img src="img/info.png" style="width: 50px;"> | 490 | <img src="img/info.png" style="width: 50px;"> |
491 | </td> | 491 | </td> |
492 | <td> | 492 | <td> |
493 | <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Tier ?</p> | 493 | <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Tier ?</p> |
494 | </td> | 494 | </td> |
495 | </tr> | 495 | </tr> |
496 | </table> | 496 | </table> |
497 | </div> | 497 | </div> |
498 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 498 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
499 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmDeleteTier()">Yes</button> | 499 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmDeleteTier()">Yes</button> |
500 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelTierDelete()">Cancel</button> | 500 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelTierDelete()">Cancel</button> |
501 | </div> | 501 | </div> |
502 | </div> | 502 | </div> |
503 | </div> | 503 | </div> |
504 | 504 | ||
505 | <div class="customConfirmPopBackdrop" id="deleteVtypeTierConfirm" style="display: none;"> | 505 | <div class="customConfirmPopBackdrop" id="deleteVtypeTierConfirm" style="display: none;"> |
506 | <div class="customModalInner"> | 506 | <div class="customModalInner"> |
507 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 507 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
508 | <table> | 508 | <table> |
509 | <tr> | 509 | <tr> |
510 | <td> | 510 | <td> |
511 | <img src="img/info.png" style="width: 50px;"> | 511 | <img src="img/info.png" style="width: 50px;"> |
512 | </td> | 512 | </td> |
513 | <td> | 513 | <td> |
514 | <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Tier ?</p> | 514 | <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Tier ?</p> |
515 | </td> | 515 | </td> |
516 | </tr> | 516 | </tr> |
517 | </table> | 517 | </table> |
518 | </div> | 518 | </div> |
519 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 519 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
520 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmDeleteVtypeTier()">Yes</button> | 520 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmDeleteVtypeTier()">Yes</button> |
521 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelVtypeTierDelete()">Cancel</button> | 521 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelVtypeTierDelete()">Cancel</button> |
522 | </div> | 522 | </div> |
523 | </div> | 523 | </div> |
524 | </div> | 524 | </div> |
525 | 525 | ||
526 | <div class="customConfirmPopBackdrop" id="deleteMargin" style="display: none;"> | 526 | <div class="customConfirmPopBackdrop" id="deleteMargin" style="display: none;"> |
527 | <div class="customModalInner"> | 527 | <div class="customModalInner"> |
528 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 528 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
529 | <table> | 529 | <table> |
530 | <tr> | 530 | <tr> |
531 | <td> | 531 | <td> |
532 | <img src="img/info.png" style="width: 50px;"> | 532 | <img src="img/info.png" style="width: 50px;"> |
533 | </td> | 533 | </td> |
534 | <td> | 534 | <td> |
535 | <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Margin Template ?</p> | 535 | <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Margin Template ?</p> |
536 | </td> | 536 | </td> |
537 | </tr> | 537 | </tr> |
538 | </table> | 538 | </table> |
539 | </div> | 539 | </div> |
540 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 540 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
541 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmDeleteMargin()">Yes</button> | 541 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmDeleteMargin()">Yes</button> |
542 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelMarginDelete()">Cancel</button> | 542 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelMarginDelete()">Cancel</button> |
543 | </div> | 543 | </div> |
544 | </div> | 544 | </div> |
545 | </div> | 545 | </div> |
546 | 546 | ||
547 | <div class="customConfirmPopBackdrop" id="deleteVtypeMargin" style="display: none;"> | 547 | <div class="customConfirmPopBackdrop" id="deleteVtypeMargin" style="display: none;"> |
548 | <div class="customModalInner"> | 548 | <div class="customModalInner"> |
549 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> | 549 | <div class="customModelBody" style="border-radius: 5px 5px 0 0;"> |
550 | <table> | 550 | <table> |
551 | <tr> | 551 | <tr> |
552 | <td> | 552 | <td> |
553 | <img src="img/info.png" style="width: 50px;"> | 553 | <img src="img/info.png" style="width: 50px;"> |
554 | </td> | 554 | </td> |
555 | <td> | 555 | <td> |
556 | <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Margin Template ?</p> | 556 | <p style="padding: 5px 10px; margin-bottom: 0;">Are you sure that you want to delete this Margin Template ?</p> |
557 | </td> | 557 | </td> |
558 | </tr> | 558 | </tr> |
559 | </table> | 559 | </table> |
560 | </div> | 560 | </div> |
561 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> | 561 | <div class="customModelFooter text-right" style="border-radius: 0 0 5px 5px;"> |
562 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmDeletVtypeMargin()">Yes</button> | 562 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="confirmDeletVtypeMargin()">Yes</button> |
563 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelVtypeMarginDelete()">Cancel</button> | 563 | <button class="btn" style="padding: 4px 0; width: 80px;" ng-click="cancelVtypeMarginDelete()">Cancel</button> |
564 | </div> | 564 | </div> |
565 | </div> | 565 | </div> |
566 | </div> | 566 | </div> |
567 | 567 | ||
568 | <!-- Le javascript | 568 | <!-- Le javascript |
569 | ================================================== --> | 569 | ================================================== --> |
570 | <!-- Placed at the end of the document so the pages load faster --> | 570 | <!-- Placed at the end of the document so the pages load faster --> |
571 | <!-- <script> | 571 | <!-- <script> |
572 | CKEDITOR.replace( 'editor2', { | 572 | CKEDITOR.replace( 'editor2', { |
573 | height: 250, | 573 | height: 250, |
574 | extraPlugins: 'divarea' | 574 | extraPlugins: 'divarea' |
575 | } ); | 575 | } ); |
576 | </script> --> | 576 | </script> --> |