| 30164 |
manish |
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>COLLECTION REPORT</h3>
|
|
|
5 |
<ol class="breadcrumb">
|
| 32771 |
raveendra. |
6 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">#springMessage("reportdailycollection.home")</a></li>
|
|
|
7 |
<li><i class="icon_document_alt"></i>#springMessage("reportdailycollection.reports")</li>
|
| 30164 |
manish |
8 |
</ol>
|
|
|
9 |
</div>
|
|
|
10 |
</div>
|
| 33092 |
tejus.loha |
11 |
<br>
|
|
|
12 |
#if($isAdmin)
|
|
|
13 |
<div class="row col-lg-12" style="float: right;">
|
|
|
14 |
<div class="col-lg-2">
|
|
|
15 |
<div class="input-group">
|
|
|
16 |
<input placeholder="Enter Partner Name" type="text" class="typeahead form-control"
|
|
|
17 |
id="typeaheadpartner"
|
|
|
18 |
name="Item" data-provide="typeahead" autocomplete="off"
|
|
|
19 |
style="margin-bottom: 10px;margin-left: 22px"> <input id="partnerId"
|
|
|
20 |
type="hidden">
|
|
|
21 |
<br>
|
|
|
22 |
</div>
|
|
|
23 |
</div>
|
|
|
24 |
</div>
|
|
|
25 |
#end
|
| 30164 |
manish |
26 |
<div class="row col-lg-12" style="float: right;">
|
|
|
27 |
|
| 33092 |
tejus.loha |
28 |
|
| 32771 |
raveendra. |
29 |
#springMessage("reportdailycollection.from") <input type="date" id="startDate-collection-summary" placeholder="" name="" value="$startDate" >
|
| 30164 |
manish |
30 |
|
| 32771 |
raveendra. |
31 |
#springMessage("reportdailycollection.to") <input type="date" id="endDate-collection-summary" placeholder="" value="$endDate">
|
| 33067 |
shampa |
32 |
|
|
|
33 |
<button type="submit" class="collection-summary-fetch-report">Fetch Report</button>
|
|
|
34 |
|
| 30164 |
manish |
35 |
<button type="submit" class="download-collection-summary">Download Report </button>
|
| 33067 |
shampa |
36 |
|
| 30164 |
manish |
37 |
</div>
|
|
|
38 |
|
|
|
39 |
<div class="col-lg-12">
|
|
|
40 |
<table class="table table-border table-condensed table-bordered" id="collectionSummaryTable" style="width:100%">
|
|
|
41 |
|
|
|
42 |
<thead class="row htable" style="background:#F5F5F5;">
|
|
|
43 |
|
|
|
44 |
<tr style="color:black;">
|
| 32771 |
raveendra. |
45 |
<th>#springMessage("reportdailycollection.date")</th>
|
| 32779 |
shampa |
46 |
<th>#springMessage("reportdailycollection.referencetype")</th>
|
| 32771 |
raveendra. |
47 |
<th>#springMessage("reportdailycollection.cash")</th>
|
|
|
48 |
<th>#springMessage("reportdailycollection.pinelabs")</th>
|
| 32779 |
shampa |
49 |
<th>#springMessage("reportdailycollection.bajajfinserv")</th>
|
|
|
50 |
<th>#springMessage("reportdailycollection.homecredit")</th>
|
| 32771 |
raveendra. |
51 |
<th>#springMessage("reportdailycollection.paymt")</th>
|
|
|
52 |
<th>#springMessage("reportdailycollection.capitalfirst")</th>
|
|
|
53 |
<th>#springMessage("reportdailycollection.zestmoney")</th>
|
| 32779 |
shampa |
54 |
<th>#springMessage("reportdailycollection.samsungsure")</th>
|
| 32771 |
raveendra. |
55 |
<th>#springMessage("reportdailycollection.totalamount")</th>
|
| 30164 |
manish |
56 |
|
|
|
57 |
|
|
|
58 |
</tr>
|
|
|
59 |
</thead>
|
|
|
60 |
<tbody>
|
|
|
61 |
#foreach($collectionSummary in $collectionSummaryList )
|
|
|
62 |
<tr>
|
|
|
63 |
<td>$collectionSummary.getDate().format($datehiphenFormatter)</td>
|
|
|
64 |
<td>$collectionSummary.getReferenceType()</td>
|
|
|
65 |
<td>$collectionSummary.getCash()</td>
|
|
|
66 |
<td>$collectionSummary.getPinelabs()</td>
|
|
|
67 |
<td>$collectionSummary.getBajajFinserv()</td>
|
|
|
68 |
<td>$collectionSummary.getHomeCredit()</td>
|
|
|
69 |
<td>$collectionSummary.getPaytm()</td>
|
|
|
70 |
|
|
|
71 |
<td>$collectionSummary.getCapitalFirst()</td>
|
|
|
72 |
<td>$collectionSummary.getZestMoney()</td>
|
|
|
73 |
<td>$collectionSummary.getSamsungSure()</td>
|
|
|
74 |
<td>$collectionSummary.getTotalAmount()</td>
|
|
|
75 |
|
|
|
76 |
</tr>
|
|
|
77 |
#end
|
|
|
78 |
|
|
|
79 |
</tbody>
|
|
|
80 |
|
|
|
81 |
</table>
|
|
|
82 |
</div>
|
|
|
83 |
|
|
|
84 |
</section>
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
<script>
|
|
|
89 |
|
|
|
90 |
var dtable = $('#collectionSummaryTable').DataTable(
|
|
|
91 |
{
|
|
|
92 |
|
|
|
93 |
"bPaginate": true,
|
|
|
94 |
"bLengthChange": true,
|
|
|
95 |
"bFilter": true,
|
|
|
96 |
"bInfo": false,
|
|
|
97 |
"bAutoWidth": false,
|
|
|
98 |
"pageLength": 20,
|
|
|
99 |
|
|
|
100 |
});
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
</script>
|
| 33092 |
tejus.loha |
105 |
#if($isAdmin)
|
|
|
106 |
<script type="text/javascript">
|
|
|
107 |
$(function () {
|
|
|
108 |
getPartnerAheadOptions($("#typeaheadpartner"), function (selectedPartner) {
|
|
|
109 |
partnerId = selectedPartner.partnerId;
|
|
|
110 |
|
|
|
111 |
console.log(partnerId);
|
|
|
112 |
});
|
|
|
113 |
});
|
|
|
114 |
</script>
|
|
|
115 |
+#end
|
| 30164 |
manish |
116 |
|