Subversion Repositories SmartDukaan

Rev

Rev 32735 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
32439 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">
32897 shampa 32
			<h3 class="page-header"><i class="icon_document_alt"></i>Unhold Order</h3>
32439 tejbeer 33
			<ol class="breadcrumb">
34
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
32897 shampa 35
				<li><i class="icon_document_alt"></i>Unhold Order</li>
32439 tejbeer 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>Utilized Amount</th>           
54
                <th>Pending Amount</th>
55
                <th>Unhold</th>     
56
 
57
                </tr>
58
            </thead>
59
            <tbody>
60
                #foreach($sanctionRequest in $sanctionRequests)
61
 
62
 
32442 tejbeer 63
               <td>$sanctionRequest.getId()</td>
64
				<td>$customRetailerMap.get($sanctionRequest.getFofoId()).getPartnerId()</td>
32735 shampa 65
				<td>$customRetailerMap.get($sanctionRequest.getFofoId()).getBusinessName() ($customRetailerMap.get($sanctionRequest.getFofoId()).getCode()-$customRetailerMap.get($sanctionRequest.getFofoId()).getAddress().getCity())</td>
66
 
32439 tejbeer 67
				<td>$sanctionRequest.getTransactionId()</td>
32442 tejbeer 68
				#if($transactionAmountMap.get($sanctionRequest.getTransactionId()))
32439 tejbeer 69
				<td>$transactionAmountMap.get($sanctionRequest.getTransactionId())</td>
32442 tejbeer 70
				#else
71
				 <td>-</td>
72
				#end
73
 
32439 tejbeer 74
				<td>$sanctionRequest.getApprovalAmount()</td>
75
				<td>$sanctionRequest.getUtilizationAmount()</td>
76
				<td>$sanctionRequest.getPendingAmount()</td>
77
 
78
				<td>       <button type="button"  data-id="$sanctionRequest.getTransactionId()" 
79
				                                class="btn btn-primary sanction-request-unhold">
80
				                          Submit</button></td>
81
                </tr>
82
 
83
                #end
84
 
85
            </tbody>
86
 
87
        </table>
88
    </div>
89
</section>