Subversion Repositories SmartDukaan

Rev

Rev 23547 | 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">
32771 raveendra. 33
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">#springMessage("dthhistory.home")</a></li>
34
				<li><i class="icon_document_alt"></i>#springMessage("dthhistory.dthrecharges")</li>
23505 ashik.ali 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>
32771 raveendra. 44
	    					<th>#springMessage("dthhistory.requestid")</th>
45
	    					<th>#springMessage("dthhistory.operator")</th>
46
	    					<th>#springMessage("dthhistory.number")</th>
47
	    					<th>#springMessage("dthhistory.amount")</th>
48
	    					<th>#springMessage("dthhistory.commission")</th>
49
	    					<th>#springMessage("dthhistory.status")</th>
50
	    					<th>#springMessage("dthhistory.statusmessage")</th>
51
	    					<th>#springMessage("dthhistory.createdon")</th>
52
	    					<th>#springMessage("dthhistory.updatedon")</th>
23505 ashik.ali 53
	    				</tr>
54
	    				#if(!$rechargeTransactions.isEmpty())
55
			    			#foreach( $rechargeTransaction in $rechargeTransactions )
56
			    				<tr class="dth-recharge-details" data="$rechargeTransaction.getId()">
57
			    					<td>$rechargeTransaction.getRequestId()</td>
58
			    					<td>$rechargeOperatorIdRechargeOperatorNameMap.get($rechargeTransaction.getOperatorId())</td>
59
			    					<td>$rechargeTransaction.getReferenceNumber()</td>
60
			    					<td>$rechargeTransaction.getAmount()</td>
23528 ashik.ali 61
			    					<td>$rechargeTransaction.getCommission()</td>
23547 ashik.ali 62
			    					#if($rechargeTransaction.getStatus() == "PENDING" || $rechargeTransaction.getStatus() == "CONNECTION_TIMEOUT")
63
			    						<td>$rechargeTransaction.getStatus() &nbsp;&nbsp;<a class="dth-recharge-check-status" href="javascript:void(0);" data="$rechargeTransaction.getRequestId()">Check Status</a></td>
64
			    					#else
65
			    						<td>$rechargeTransaction.getStatus()</td>
66
			    					#end
23505 ashik.ali 67
			    					<td>$rechargeTransaction.getStatusMessage()</td>
68
			    					<td>$rechargeTransaction.getFormattedCreateTimestamp()</td>
69
			    					<td>$rechargeTransaction.getFormattedUpdateTimestamp()</td>
70
			    				</tr>
71
			    			#end
72
		    			#else
73
		    				<tr>
32771 raveendra. 74
		    					<td colspan="12" style="text-align:center;">#springMessage("dthhistory.nomatchingdatafoundforcriteria")</td>
23505 ashik.ali 75
		    				</tr>
76
		    			#end
77
	    			</tbody>
78
	    		</table>
79
	    	</div>
80
	    </div>
81
    </div>
82
    #if(!$rechargeTransaction.isEmpty())
83
    	<div class="row" id="dth-recharges-paginated">
84
    		<div class="col-lg-9">
85
    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
86
    		</div>
87
    		<div class="col-lg-3" style="text-align:right;">
88
				<div class="btn-group" style="width:40%">
32771 raveendra. 89
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">#springMessage("dthhistory.previous")</button>
23505 ashik.ali 90
				</div>
91
				<div class="btn-group" style="width:40%">
92
					#if($end >= $size)
32771 raveendra. 93
						<button class="btn btn-primary next" style="width:100%" disabled="disabled">#springMessage("dthhistory.next")</button>
23505 ashik.ali 94
					#else
32771 raveendra. 95
						<button class="btn btn-primary next" style="width:100%">#springMessage("dthhistory.next")</button>
23505 ashik.ali 96
					#end
97
				</div>
98
	    	</div>
99
	    </div>
100
    #end
101
</section>
102
<div id="dth-recharge-details-container" style="background:white;background-color:white;">
103
</div>