| 31020 |
tejbeer |
1 |
|
|
|
2 |
<script type="text/javascript">
|
|
|
3 |
|
|
|
4 |
$(document).ready(function () {
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
var dtable = $('#sanctionholdtable').DataTable({
|
|
|
9 |
"scrollX": true,
|
|
|
10 |
"scrollY": "518px",
|
|
|
11 |
scrollCollapse: true,
|
|
|
12 |
"fixedHeader": true,
|
|
|
13 |
"order": [[ 0, "desc" ]],
|
|
|
14 |
fixedColumns: {
|
|
|
15 |
leftColumns: 3
|
|
|
16 |
},
|
|
|
17 |
});
|
|
|
18 |
|
|
|
19 |
});
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
</script>
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
<section class="wrapper">
|
|
|
30 |
<div class="row">
|
|
|
31 |
<div class="col-lg-12">
|
|
|
32 |
<h3 class="page-header"><i class="icon_document_alt"></i>Hold Order</h3>
|
|
|
33 |
<ol class="breadcrumb">
|
|
|
34 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
35 |
<li><i class="icon_document_alt"></i>Hold Order</li>
|
|
|
36 |
|
|
|
37 |
</ol>
|
|
|
38 |
</div>
|
|
|
39 |
</div>
|
|
|
40 |
|
|
|
41 |
<div class="col-lg-12">
|
|
|
42 |
<table class="table table-border table-condensed table-bordered" id="sanctionholdtable" style="width:100%">
|
|
|
43 |
|
|
|
44 |
<thead class="row htable" style="background:#F5F5F5;">
|
|
|
45 |
|
|
|
46 |
<tr style="color:black;">
|
|
|
47 |
<th>Id</th>
|
|
|
48 |
<th>Partner Id</th>
|
|
|
49 |
<th>Partner Name</th>
|
|
|
50 |
<th>Transaction Id</th>
|
|
|
51 |
<th>Order Amount</th>
|
|
|
52 |
<th>Sanction Amount</th>
|
|
|
53 |
<th>Credit Amount</th>
|
|
|
54 |
<th>Unhold</th>
|
|
|
55 |
|
|
|
56 |
</tr>
|
|
|
57 |
</thead>
|
|
|
58 |
<tbody>
|
|
|
59 |
#foreach($sanctionRequest in $sanctionRequests)
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
<tr>
|
|
|
63 |
<td>$sanctionRequest.getId()</td>
|
|
|
64 |
<td>$transactionOrdersMap.get($sanctionRequest.getTransactionId()).get(0).getRetailerId()</td>
|
|
|
65 |
<td>$transactionOrdersMap.get($sanctionRequest.getTransactionId()).get(0).getRetailerName()</td>
|
|
|
66 |
<td>$sanctionRequest.getTransactionId()</td>
|
|
|
67 |
<td>$transactionAmountMap.get($sanctionRequest.getTransactionId())</td>
|
|
|
68 |
|
|
|
69 |
<td>$sanctionRequest.getApprovalAmount()</td>
|
|
|
70 |
<td>$transactionCreditMap.get($sanctionRequest.getTransactionId())</td>
|
|
|
71 |
|
|
|
72 |
<td> <button type="button" data-id="$sanctionRequest.getTransactionId()"
|
|
|
73 |
class="btn btn-primary sanction-request-unhold">
|
|
|
74 |
Submit</button></td>
|
|
|
75 |
</tr>
|
|
|
76 |
|
|
|
77 |
#end
|
|
|
78 |
|
|
|
79 |
</tbody>
|
|
|
80 |
|
|
|
81 |
</table>
|
|
|
82 |
</div>
|
|
|
83 |
</section>
|