| 23584 |
ashik.ali |
1 |
<style>
|
|
|
2 |
.table-striped > tbody > tr:nth-child(odd) > td{
|
|
|
3 |
background: white;
|
|
|
4 |
background-color: white;
|
|
|
5 |
}
|
|
|
6 |
.table-striped > tbody > tr:nth-child(even) > td{
|
|
|
7 |
background: white;
|
|
|
8 |
background-color:white;
|
|
|
9 |
}
|
|
|
10 |
.table-striped > tbody > tr:hover > td,
|
|
|
11 |
.table-striped > tbody > tr:hover {
|
|
|
12 |
background-color: #e98c8f;
|
|
|
13 |
color:white;
|
|
|
14 |
}
|
|
|
15 |
.btn:hover{
|
|
|
16 |
color: grey;
|
|
|
17 |
text-decoration: none;
|
|
|
18 |
}
|
|
|
19 |
.btn-primary:hover{
|
|
|
20 |
color: grey;
|
|
|
21 |
text-decoration: none;
|
|
|
22 |
}
|
|
|
23 |
.sale-details{
|
|
|
24 |
cursor:pointer;
|
|
|
25 |
}
|
|
|
26 |
</style>
|
|
|
27 |
|
|
|
28 |
<section class="wrapper">
|
|
|
29 |
<div class="row">
|
|
|
30 |
<div class="col-lg-12">
|
|
|
31 |
<h3 class="page-header"><i class="icon_document_alt"></i>SALE</h3>
|
|
|
32 |
<ol class="breadcrumb">
|
|
|
33 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
34 |
<li><i class="icon_document_alt"></i>SEARCH ORDER</li>
|
|
|
35 |
</ol>
|
|
|
36 |
</div>
|
|
|
37 |
</div>
|
|
|
38 |
|
|
|
39 |
<div>
|
|
|
40 |
<div class="row">
|
|
|
41 |
|
|
|
42 |
<div class="col-lg-3">
|
|
|
43 |
<input type="text" class="form-control" id="search-order-text"" placeholder="Invoice Number" value="" />
|
|
|
44 |
</div>
|
| 24845 |
amit.gupta |
45 |
<div class="col-lg-1">
|
| 23584 |
ashik.ali |
46 |
<button class="btn btn-primary submit" id="search-order-button" type="button">Search</button>
|
|
|
47 |
</div>
|
| 24845 |
amit.gupta |
48 |
</div>
|
|
|
49 |
<div class="row">
|
|
|
50 |
<div class="col-lg-3">
|
|
|
51 |
<div class="input-group">
|
|
|
52 |
<input placeholder="Partner Name" type="text" class="typeahead form-control input-sm" id="typeaheadpartner" name="Item" data-provide="typeahead" autocomplete="off">
|
|
|
53 |
</div>
|
|
|
54 |
</div>
|
|
|
55 |
<div class="col-lg-2">
|
|
|
56 |
<input id="saleBetween" name="dateRange" type="text" value="" class="form-control input-sm">
|
|
|
57 |
</div>
|
|
|
58 |
<div class="col-lg-1">
|
|
|
59 |
<span class="input-group-btn">
|
|
|
60 |
<button class="btn btn-primary submit" id="download-invoice-button" type="button">Download Invoices</button>
|
|
|
61 |
</span>
|
|
|
62 |
</div>
|
| 23584 |
ashik.ali |
63 |
|
|
|
64 |
</div>
|
|
|
65 |
</div>
|
|
|
66 |
|
|
|
67 |
</section>
|
|
|
68 |
<div id="search-order-details-container" style="background:white;background-color:white;">
|
| 24845 |
amit.gupta |
69 |
</div>
|
|
|
70 |
<script type="text/javascript">
|
|
|
71 |
$(function(){
|
|
|
72 |
getPartnerAheadOptions($("#typeaheadpartner"),function(selectedPartner){
|
|
|
73 |
$("#download-invoice-button").off("click").one("click", function(){
|
| 24849 |
amit.gupta |
74 |
doAjaxGetDownload(context + "/order/download-invoices?startDate="+startDate+"&endDate=" + endDate + "&retailerId=" +
|
| 24850 |
amit.gupta |
75 |
selectedPartner.partnerId, "invoices-" + selectedPartner.partnerId, selectedPartner.displayName.toLowerCase() + ".pdf");
|
| 24845 |
amit.gupta |
76 |
});
|
|
|
77 |
$("#download-invoice-button").val(selectedPartner.email);
|
|
|
78 |
});
|
|
|
79 |
$('input[name="dateRange"]').daterangepicker(getRangedDatePicker(), dateRangeCallback);
|
|
|
80 |
|
|
|
81 |
});
|
|
|
82 |
</script>
|