Subversion Repositories SmartDukaan

Rev

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