Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
23528 ashik.ali 1
<style>
2
	.table-striped > tbody > tr:nth-child(odd) > td{
3
  		background: white;
4
  		background-color: white;
5
	}
6
	.table-striped > tbody > tr:nth-child(even) > td{
7
  		background: white;
8
  		background-color:white;
9
	}
10
	.table-striped > tbody > tr:hover > td,
11
	.table-striped > tbody > tr:hover {
12
		background-color: #e98c8f;
13
	  	color:white;
14
	}
15
	.btn:hover{
16
  		color: grey;
17
  		text-decoration: none;
18
	}
19
	.btn-primary:hover{
20
  		color: grey;
21
  		text-decoration: none;
22
	}
23
	.sale-details{
24
		cursor:pointer;
25
	}
26
</style>
27
 
28
<section class="wrapper">
29
	<div class="row">
30
		<div class="col-lg-12">
31
			<h3 class="page-header"><i class="icon_document_alt"></i>RECHARGE</h3>
32
			<ol class="breadcrumb">
33
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
34
				<li><i class="icon_document_alt"></i>COMMISSIONS</li>				  	
35
			</ol>
36
		</div>
37
	</div>
38
  	<div id="recharge-commissions-table">
39
		<div class="row">
40
	    	<div class="col-lg-12">
41
	    		<table class="table table-striped table-advance table-hover">
42
	    			<tbody>
43
	    				<tr>
23577 ashik.ali 44
	    					<th>Recharge Provider</th>
23528 ashik.ali 45
	    					<th>Recharge Type</th>
46
	    					<th>Operator</th>
47
	    					<th>Operator Type</th>
48
	    					<th>Amount Type</th>
49
	    					<th>Amount</th>
50
	    					<th>Created On</th>
51
	    					<th>Updated On</th>
52
	    				</tr>
53
	    				#if(!$rechargeCommissions.isEmpty())
54
			    			#foreach( $rechargeCommission in $rechargeCommissions )
23577 ashik.ali 55
			    				<tr class="recharge-commission-details" data="$rechargeCommission.getOperatorId(),$rechargeCommission.getProviderId()">
23528 ashik.ali 56
			    					#set($rechargeOperator = $rechargeOperatorIdRechargeOperatorMap.get($rechargeCommission.getOperatorId()))
23577 ashik.ali 57
			    					<td>$rechargeProviderIdNameMap.get($rechargeCommission.getProviderId())</td>
23528 ashik.ali 58
			    					<td>$rechargeOperator.getRechargeType()</td>
59
			    					<td>$rechargeOperator.getName()</td>
60
			    					#if($rechargeOperator.getRechargeType() == "MOBILE")
61
			    						<td>$rechargeOperator.getOperatorType()</td>
62
			    					#else
63
			    						<td></td>
64
			    					#end
65
			    					<td>$rechargeCommission.getAmountType()</td>
23556 amit.gupta 66
			    					<td>$rechargeCommission.getFormattedAmount()</td>
23528 ashik.ali 67
			    					<td>$rechargeCommission.getFormattedCreateTimestamp()</td>
68
			    					<td>$rechargeCommission.getFormattedUpdateTimestamp()</td>
69
			    				</tr>
70
			    			#end
71
		    			#else
72
		    				<tr>
73
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
74
		    				</tr>
75
		    			#end
76
	    			</tbody>
77
	    		</table>
78
	    	</div>
79
	    </div>
80
    </div>
81
    #if(!$rechargeCommissions.isEmpty())
82
    	<div class="row" id="recharge-commissions-paginated">
83
    		<div class="col-lg-9">
84
    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
85
    		</div>
86
    		<div class="col-lg-3" style="text-align:right;">
87
				<div class="btn-group" style="width:40%">
88
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
89
				</div>
90
				<div class="btn-group" style="width:40%">
91
					#if($end >= $size)
92
						<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
93
					#else
94
						<button class="btn btn-primary next" style="width:100%">Next</button>
95
					#end
96
				</div>
97
	    	</div>
98
	    </div>
99
    #end
100
</section>
101
<div id="recharge-commission-details-container" style="background:white;background-color:white;">
102
</div>