Subversion Repositories SmartDukaan

Rev

Rev 23505 | Rev 23547 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23505 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>MOBILE RECHARGES</li>						  	
35
			</ol>
36
		</div>
37
	</div>
38
  	<div id="mobile-recharge-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>
44
	    					<th>Request Id</th>
45
	    					<th>Operator</th>
46
	    					<th>Operator Type</th>
47
	    					<th>Number</th>
48
	    					<th>Amount</th>
23528 ashik.ali 49
	    					<th>Commission</th>
23505 ashik.ali 50
	    					<th>Status</th>
51
	    					<th>Status Message</th>
52
	    					<th>Created On</th>
53
	    					<th>Updated On</th>
54
	    				</tr>
55
	    				#if(!$rechargeTransactions.isEmpty())
56
			    			#foreach( $rechargeTransaction in $rechargeTransactions )
57
			    				<tr class="mobile-recharge-details" data="$rechargeTransaction.getId()">
58
			    					<td>$rechargeTransaction.getRequestId()</td>
59
			    					<td>$rechargeOperatorIdRechargeOperatorNameMap.get($rechargeTransaction.getOperatorId())</td>
60
			    					<td>$rechargeTransaction.getOperatorType()</td>
61
			    					<td>$rechargeTransaction.getReferenceNumber()</td>
62
			    					<td>$rechargeTransaction.getAmount()</td>
23528 ashik.ali 63
			    					<td>$rechargeTransaction.getCommission()</td>
23505 ashik.ali 64
			    					<td>$rechargeTransaction.getStatus()</td>
65
			    					<td>$rechargeTransaction.getStatusMessage()</td>
66
			    					<td>$rechargeTransaction.getFormattedCreateTimestamp()</td>
67
			    					<td>$rechargeTransaction.getFormattedUpdateTimestamp()</td>
68
			    				</tr>
69
			    			#end
70
		    			#else
71
		    				<tr>
72
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
73
		    				</tr>
74
		    			#end
75
	    			</tbody>
76
	    		</table>
77
	    	</div>
78
	    </div>
79
    </div>
23528 ashik.ali 80
    #if(!$rechargeTransactions.isEmpty())
23505 ashik.ali 81
    	<div class="row" id="mobile-recharges-paginated">
82
    		<div class="col-lg-9">
83
    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
84
    		</div>
85
    		<div class="col-lg-3" style="text-align:right;">
86
				<div class="btn-group" style="width:40%">
87
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
88
				</div>
89
				<div class="btn-group" style="width:40%">
90
					#if($end >= $size)
91
						<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
92
					#else
93
						<button class="btn btn-primary next" style="width:100%">Next</button>
94
					#end
95
				</div>
96
	    	</div>
97
	    </div>
98
    #end
99
</section>
100
<div id="mobile-recharge-details-container" style="background:white;background-color:white;">
101
</div>