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