| 33775 |
ranu |
1 |
<section class="wrapper">
|
|
|
2 |
<div class="row">
|
|
|
3 |
<div class="col-lg-12">
|
|
|
4 |
<h3 class="page-header"><i class="icon_document_alt"></i>Account Statement</h3>
|
|
|
5 |
<ol class="breadcrumb">
|
|
|
6 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
7 |
<li><i class="icon_document_alt"></i>Account Statement</li>
|
|
|
8 |
</ol>
|
|
|
9 |
</div>
|
|
|
10 |
</div>
|
|
|
11 |
<div class="row col-lg-12" style="float: right;">
|
|
|
12 |
|
|
|
13 |
<div class="col-lg-12 form-group">
|
|
|
14 |
<table>
|
|
|
15 |
<tr>
|
|
|
16 |
#if($isAdmin)
|
|
|
17 |
<td style="padding: 5px 10px;">
|
|
|
18 |
<input placeholder="Enter Partner Name" type="text" class="typeahead form-control"
|
|
|
19 |
id="typeaheadpartner"
|
|
|
20 |
name="Item" data-provide="typeahead" autocomplete="off">
|
|
|
21 |
<input id="partnerId" type="hidden">
|
|
|
22 |
</td>
|
|
|
23 |
#end
|
|
|
24 |
<td style="padding: 5px 10px;"><input placeholder="Set Duration" name="accountStatementPeriod"
|
|
|
25 |
id="accountStatementPeriod"
|
|
|
26 |
type="text" value="" class="form-control input-sm"></td>
|
|
|
27 |
<td style="padding: 5px 10px;"><input class="btn btn-primary fetch-partner-account-statement-report"
|
|
|
28 |
type="button"
|
|
|
29 |
value="Submit"></td>
|
|
|
30 |
<td style="padding: 5px 10px;"><input
|
|
|
31 |
class="btn btn-primary download-partner-account-statement-report" type="button"
|
|
|
32 |
value="Download"></td>
|
|
|
33 |
</tr>
|
|
|
34 |
</table>
|
|
|
35 |
</div>
|
|
|
36 |
|
|
|
37 |
</div>
|
|
|
38 |
<div class="account-statement-conatiner">
|
|
|
39 |
|
|
|
40 |
</div>
|
|
|
41 |
|
|
|
42 |
</section>
|
|
|
43 |
|
|
|
44 |
<script type="text/javascript">
|
|
|
45 |
$('input[name="accountStatementPeriod"]').daterangepicker(getRangedDatePicker());
|
|
|
46 |
</script>
|
|
|
47 |
|
|
|
48 |
<script>
|
| 33809 |
ranu |
49 |
var dtable = $('#accountStatementSummaryReport').DataTable(
|
| 33775 |
ranu |
50 |
{
|
|
|
51 |
"scrollX": true,
|
|
|
52 |
"bPaginate": true,
|
|
|
53 |
"bLengthChange": true,
|
|
|
54 |
"bFilter": true,
|
|
|
55 |
"bInfo": false,
|
|
|
56 |
"bAutoWidth": false,
|
|
|
57 |
});
|
|
|
58 |
|
|
|
59 |
</script>
|
|
|
60 |
|
|
|
61 |
#if($isAdmin)
|
|
|
62 |
<script type="text/javascript">
|
|
|
63 |
$(function () {
|
|
|
64 |
getPartnerAheadOptions($("#typeaheadpartner"), function (selectedPartner) {
|
|
|
65 |
partnerId = selectedPartner.partnerId;
|
|
|
66 |
|
|
|
67 |
console.log(partnerId);
|
|
|
68 |
});
|
|
|
69 |
});
|
|
|
70 |
</script>
|
|
|
71 |
+#end
|