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