| Line 15... |
Line 15... |
| 15 |
<div class="col-lg-12">
|
15 |
<div class="col-lg-12">
|
| 16 |
<h3 class="page-header"><i class="icon_document_alt"></i>PriceDrop</h3>
|
16 |
<h3 class="page-header"><i class="icon_document_alt"></i>PriceDrop</h3>
|
| 17 |
<ol class="breadcrumb">
|
17 |
<ol class="breadcrumb">
|
| 18 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
18 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
| 19 |
<li><i class="icon_document_alt"></i>PriceDrop</li>
|
19 |
<li><i class="icon_document_alt"></i>PriceDrop</li>
|
| 20 |
<li><button type="button" data-toggle="modal" class="btn btn-sm btn-primary mk_new_price_drop" data-target="#newPriceDropModal">Add new</li>
|
20 |
<li><button type="button" data-toggle="modal" class="btn btn-sm btn-primary" data-target="#newPriceDropModal">Add new Price Drop</li>
|
| - |
|
21 |
<li><button type="button" data-toggle="modal" class="btn btn-sm btn-primary" data-target="#addPriceModal">Add Pricing</li>
|
| 21 |
<li><button type="button" data-toggle="modal" class="btn btn-sm btn-primary mk_download_pricing" data-target="#addPricing">Download Pricing</li>
|
22 |
<li><button type="button" data-toggle="modal" class="btn btn-sm btn-primary mk_download_pricing" data-target="#addPricing">Download Pricing</li>
|
| 22 |
<div id="addPriceModal" class="modal fade" role="dialog">
|
23 |
<div id="addPriceModal" class="modal fade" role="dialog">
|
| 23 |
<div class="modal-dialog">
|
24 |
<div class="modal-dialog">
|
| 24 |
|
25 |
|
| 25 |
<!-- Modal content-->
|
26 |
<!-- Modal content-->
|
| Line 29... |
Line 30... |
| 29 |
<h4 class="modal-title">Add Pricing</h4>
|
30 |
<h4 class="modal-title">Add Pricing</h4>
|
| 30 |
</div>
|
31 |
</div>
|
| 31 |
<div class="modal-body">
|
32 |
<div class="modal-body">
|
| 32 |
<form id="pdForm1">
|
33 |
<form id="pdForm1">
|
| 33 |
<div class="form-group row">
|
34 |
<div class="form-group row">
|
| 34 |
<div class="col-lg-6">
|
35 |
<div class="col-lg-5">
|
| 35 |
<input placeholder="Search Item" type="text" class="form-control typeahead" id="typeaheaditem1" name="Item" data-provide="typeahead" autocomplete="off">
|
36 |
<input placeholder="Search Item" type="text" class="form-control typeahead" id="typeaheaditem1" name="Item" data-provide="typeahead" autocomplete="off">
|
| 36 |
</div>
|
37 |
</div>
|
| 37 |
<div class="col-lg-3">
|
38 |
<div class="col-lg-3">
|
| 38 |
<input type="text" class="form-control" id="dp" placeholder="DP" type="text"/>
|
39 |
<input type="text" class="form-control" id="dp" placeholder="DP" type="text"/>
|
| 39 |
</div>
|
40 |
</div>
|
| 40 |
<div class="col-lg-3">
|
41 |
<div class="col-lg-2">
|
| - |
|
42 |
<input type="text" class="form-control" id="mop" placeholder="MOP" type="text"/>
|
| - |
|
43 |
</div>
|
| - |
|
44 |
<div class="col-lg-2">
|
| 41 |
<input type="text" class="form-control" id="mop" placeholder="MOP" type="text"/>
|
45 |
<input type="text" class="form-control" id="mop" placeholder="MOP" type="text"/>
|
| 42 |
</div>
|
46 |
</div>
|
| 43 |
</div>
|
47 |
</div>
|
| 44 |
<div class="form-group row">
|
48 |
<div class="form-group row">
|
| 45 |
<div class="col-lg-3">
|
49 |
<div class="col-lg-5 pull-right">
|
| - |
|
50 |
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
|
| 46 |
<button type="button" class="btn btn-primary add-pricing">Add Pricing</button>
|
51 |
<button type="button" class="btn btn-primary add-pricing">Add Pricing</button>
|
| 47 |
</div>
|
52 |
</div>
|
| 48 |
</div>
|
53 |
</div>
|
| 49 |
|
54 |
|
| 50 |
</form>
|
55 |
</form>
|
| 51 |
</div>
|
56 |
</div>
|
| 52 |
</div>
|
57 |
</div>
|
| 53 |
|
58 |
</div>
|
| - |
|
59 |
</div>
|
| 54 |
|
60 |
|
| 55 |
|
61 |
|
| 56 |
<!-- Modal -->
|
62 |
<!-- Modal -->
|
| 57 |
<div id="newPriceDropModal" class="modal fade" role="dialog">
|
63 |
<div id="newPriceDropModal" class="modal fade" role="dialog">
|
| 58 |
<div class="modal-dialog">
|
64 |
<div class="modal-dialog">
|
| Line 204... |
Line 210... |
| 204 |
$('#oldTp').html(response.tp);
|
210 |
$('#oldTp').html(response.tp);
|
| 205 |
$('#oldNlc').html(response.nlc);
|
211 |
$('#oldNlc').html(response.nlc);
|
| 206 |
});
|
212 |
});
|
| 207 |
}
|
213 |
}
|
| 208 |
});
|
214 |
});
|
| - |
|
215 |
|
| - |
|
216 |
newCustomItems = $newCustomItems;
|
| 209 |
itemAhead1 = $("#typeaheaditem1").typeahead({
|
217 |
itemAhead1 = $("#typeaheaditem1").typeahead({
|
| 210 |
source: newCustomItems,
|
218 |
source: newCustomItems,
|
| 211 |
autoSelect: false,
|
219 |
autoSelect: false,
|
| 212 |
displayText:function(item){return item.itemDescription;},
|
220 |
displayText:function(item){return item.itemDescription;},
|
| 213 |
afterSelect: function(selectedItem){
|
221 |
afterSelect: function(selectedItem){
|