| 33092 |
tejus.loha |
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>#springMessage(
|
|
|
5 |
"reportorderstatus.orderstatussummaryreport")</h3>
|
|
|
6 |
<ol class="breadcrumb">
|
|
|
7 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">#springMessage(
|
|
|
8 |
"reportorderstatus.home")</a></li>
|
|
|
9 |
<li><i class="icon_document_alt"></i>#springMessage("reportorderstatus.orderstatussummaryreport")</li>
|
|
|
10 |
</ol>
|
|
|
11 |
</div>
|
|
|
12 |
</div>
|
|
|
13 |
<br>
|
|
|
14 |
#if($isAdmin)
|
| 34066 |
aman.kumar |
15 |
#if($isRBM)
|
|
|
16 |
<div style="padding: 5px 10px; margin-top: 2px"
|
|
|
17 |
class="col-lg-2 form-group">
|
|
|
18 |
<select class="form-control input-sm" id="fofo-users" name="Item" placeholder="Partners">
|
|
|
19 |
<option value="" disabled selected>Partners</option>
|
|
|
20 |
#foreach($fofoId in $customRetailersMap.keySet())
|
|
|
21 |
<option value="$fofoId"
|
|
|
22 |
data-email="$customRetailersMap.get($fofoId).getEmail()">$customRetailersMap.get($fofoId).getBusinessName()</option>
|
|
|
23 |
#end
|
|
|
24 |
</select>
|
|
|
25 |
</div>
|
|
|
26 |
#else
|
| 33092 |
tejus.loha |
27 |
<div class="row col-lg-12" style="float: right;">
|
|
|
28 |
<div class="col-lg-2">
|
|
|
29 |
<div class="input-group">
|
|
|
30 |
<input placeholder="Enter Partner Name" type="text" class="typeahead form-control"
|
|
|
31 |
id="typeaheadpartner"
|
|
|
32 |
name="Item" data-provide="typeahead" autocomplete="off"
|
|
|
33 |
style="margin-bottom: 10px;margin-left: 22px"> <input id="partnerId"
|
|
|
34 |
type="hidden">
|
|
|
35 |
<br>
|
|
|
36 |
</div>
|
|
|
37 |
</div>
|
|
|
38 |
</div>
|
|
|
39 |
#end
|
| 34066 |
aman.kumar |
40 |
#end
|
| 33092 |
tejus.loha |
41 |
<div class="row col-lg-12" style="float: right;">
|
|
|
42 |
#springMessage("reportsofferpayoutdump.from") <input type="date" id="startDate-pending-indent-report"
|
|
|
43 |
placeholder="" name="" value="$startDate">
|
| 33067 |
shampa |
44 |
|
| 33092 |
tejus.loha |
45 |
#springMessage("reportsofferpayoutdump.to") <input type="date" id="endDate-pending-indent-report" placeholder=""
|
|
|
46 |
value="$endDate">
|
|
|
47 |
<button type="submit" class="pending-indent-fetch-report">Fetch Report</button>
|
|
|
48 |
<button type="submit" class="download-pending-indent-report">#springMessage(
|
|
|
49 |
"reportorderstatus.downloadreport") </button>
|
|
|
50 |
|
|
|
51 |
</div>
|
|
|
52 |
|
| 30164 |
manish |
53 |
<div class="col-lg-12">
|
|
|
54 |
<table class="table table-border table-condensed table-bordered" id="pendingIndentReport" style="width:100%">
|
|
|
55 |
|
|
|
56 |
<thead class="row htable" style="background:#F5F5F5;">
|
|
|
57 |
|
|
|
58 |
<tr style="color:black;">
|
| 33092 |
tejus.loha |
59 |
<th>#springMessage("reportorderstatus.transactionid")</th>
|
|
|
60 |
<th> #springMessage("reportorderstatus.orderid")</th>
|
|
|
61 |
<th>#springMessage("reportorderstatus.createdat")</th>
|
|
|
62 |
<th>#springMessage("reportorderstatus.itemid")</th>
|
|
|
63 |
<th> #springMessage("reportorderstatus.brand")</th>
|
|
|
64 |
<th> #springMessage("reportorderstatus.modelname")</th>
|
|
|
65 |
<th>#springMessage("reportorderstatus.modelnumber")</th>
|
|
|
66 |
<th>#springMessage("reportorderstatus.color")</th>
|
|
|
67 |
<th> #springMessage("reportorderstatus.quantity")</th>
|
|
|
68 |
<th>#springMessage("reportorderstatus.unitprice")</th>
|
|
|
69 |
<th> #springMessage("reportorderstatus.walletdeduction")</th>
|
|
|
70 |
<th>#springMessage("reportorderstatus.status") </th>
|
|
|
71 |
<th>#springMessage("reportorderstatus.invoicenumber")</th>
|
|
|
72 |
<th>#springMessage("reportorderstatus.billingtimestamp")</th>
|
|
|
73 |
</tr>
|
| 30164 |
manish |
74 |
</thead>
|
|
|
75 |
<tbody>
|
|
|
76 |
#foreach($pendingIndentReport in $pendingIndentReports )
|
| 33092 |
tejus.loha |
77 |
<tr>
|
| 30164 |
manish |
78 |
<td>$pendingIndentReport.getTransactionId()</td>
|
|
|
79 |
<td>$pendingIndentReport.getOrderId()</td>
|
| 33092 |
tejus.loha |
80 |
|
| 30164 |
manish |
81 |
#if($pendingIndentReport.getCreatTimestamp())
|
| 33092 |
tejus.loha |
82 |
<td>$pendingIndentReport.getCreatTimestamp().format($datehiphenFormatter)</td>
|
| 30164 |
manish |
83 |
#else
|
| 33092 |
tejus.loha |
84 |
<td>--</td>
|
| 30164 |
manish |
85 |
#end
|
| 33092 |
tejus.loha |
86 |
|
| 30164 |
manish |
87 |
<td>$pendingIndentReport.getItemId()</td>
|
|
|
88 |
<td>$pendingIndentReport.getBrand()</td>
|
|
|
89 |
#if($pendingIndentReport.getModelName())
|
| 33092 |
tejus.loha |
90 |
<td>$pendingIndentReport.getModelName()</td>
|
| 30164 |
manish |
91 |
#else
|
| 33092 |
tejus.loha |
92 |
<td>--</td>
|
| 30164 |
manish |
93 |
#end
|
|
|
94 |
<td>$pendingIndentReport.getModelNumber()</td>
|
|
|
95 |
<td>$pendingIndentReport.getColor()</td>
|
| 33092 |
tejus.loha |
96 |
|
| 30164 |
manish |
97 |
<td>$pendingIndentReport.getQuantity()</td>
|
|
|
98 |
<td>$pendingIndentReport.getUnitPrice()</td>
|
| 33092 |
tejus.loha |
99 |
<td>$pendingIndentReport.getWalletAmount()</td>
|
| 30164 |
manish |
100 |
<td>$pendingIndentReport.getStatus()</td>
|
| 33092 |
tejus.loha |
101 |
|
|
|
102 |
#if($pendingIndentReport.getInvoiceNumber())
|
|
|
103 |
<td>$pendingIndentReport.getInvoiceNumber()</td>
|
| 30164 |
manish |
104 |
#else
|
| 33092 |
tejus.loha |
105 |
<td>--</td>
|
| 30164 |
manish |
106 |
#end
|
| 33092 |
tejus.loha |
107 |
#if($pendingIndentReport.getBillingTimestamp())
|
|
|
108 |
<td>$pendingIndentReport.getBillingTimestamp().format($datehiphenFormatter)</td>
|
| 30164 |
manish |
109 |
#else
|
| 33092 |
tejus.loha |
110 |
<td>--</td>
|
| 30164 |
manish |
111 |
#end
|
| 33092 |
tejus.loha |
112 |
|
|
|
113 |
</tr>
|
| 30164 |
manish |
114 |
#end
|
|
|
115 |
|
|
|
116 |
</tbody>
|
|
|
117 |
|
|
|
118 |
</table>
|
|
|
119 |
</div>
|
| 33092 |
tejus.loha |
120 |
|
| 30164 |
manish |
121 |
</section>
|
|
|
122 |
|
|
|
123 |
|
|
|
124 |
<script>
|
|
|
125 |
|
| 33092 |
tejus.loha |
126 |
var dtable = $('#pendingIndentReport').DataTable(
|
|
|
127 |
{
|
|
|
128 |
"scrollX": true,
|
|
|
129 |
"bPaginate": true,
|
|
|
130 |
"bLengthChange": true,
|
|
|
131 |
"bFilter": true,
|
|
|
132 |
"bInfo": false,
|
|
|
133 |
"bAutoWidth": false,
|
|
|
134 |
|
|
|
135 |
|
|
|
136 |
});
|
|
|
137 |
|
|
|
138 |
|
|
|
139 |
</script>
|
|
|
140 |
</script>
|
|
|
141 |
#if($isAdmin)
|
|
|
142 |
<script type="text/javascript">
|
|
|
143 |
$(function () {
|
|
|
144 |
getPartnerAheadOptions($("#typeaheadpartner"), function (selectedPartner) {
|
|
|
145 |
partnerId = selectedPartner.partnerId;
|
|
|
146 |
|
|
|
147 |
console.log(partnerId);
|
|
|
148 |
});
|
|
|
149 |
});
|
| 34066 |
aman.kumar |
150 |
$(function () {
|
|
|
151 |
$('#fofo-users').on('change', function () {
|
|
|
152 |
var selectedFofoId = $(this).val();
|
|
|
153 |
if (selectedFofoId) {
|
|
|
154 |
partnerId = selectedFofoId;
|
|
|
155 |
console.log("Partner ID set to:", partnerId);
|
|
|
156 |
} else {
|
| 36080 |
aman |
157 |
alert("Please select a valid Partner ID.");
|
| 34066 |
aman.kumar |
158 |
}
|
|
|
159 |
});
|
|
|
160 |
});
|
| 33092 |
tejus.loha |
161 |
</script>
|
|
|
162 |
+#end
|
| 30164 |
manish |
163 |
|