Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
23629 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>DAILY RECHARGES</li>						  	
35
			</ol>
36
		</div>
37
	</div>
38
  	<div id="daily-recharges-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>Provider Name</th>
45
	    					<th>Opening Balance</th>
46
	    					<th>Closing Balance</th>
47
	    					<th>Total Amount</th>
48
	    					<th>Total Commission</th>
49
	    					<th>Created On</th>
50
	    				</tr>
51
	    				#if(!$dailyRecharges.isEmpty())
52
			    			#foreach( $dailyRecharge in $dailyRecharges )
53
			    				<tr>
54
			    					<td>$rechargeProviderIdNameMap.get($dailyRecharge.getProviderId())</td>
55
			    					<td>$dailyRecharge.getOpeningBalance()</td>
56
			    					<td>$dailyRecharge.getClosingBalance()</td>
57
			    					<td>$dailyRecharge.getTotalAmount()</td>
58
			    					<td>$dailyRecharge.getTotalCommission()</td>
59
			    					<td>$dailyRecharge.getFormattedCreateDate()</td>
60
			    				</tr>
61
			    			#end
62
		    			#else
63
		    				<tr>
64
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
65
		    				</tr>
66
		    			#end
67
	    			</tbody>
68
	    		</table>
69
	    	</div>
70
	    </div>
71
    </div>
72
    #if(!$dailyRecharges.isEmpty())
73
    	<div class="row" id="daily-recharges-paginated">
74
    		<div class="col-lg-9">
75
    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
76
    		</div>
77
    		<div class="col-lg-3" style="text-align:right;">
78
				<div class="btn-group" style="width:40%">
79
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
80
				</div>
81
				<div class="btn-group" style="width:40%">
82
					#if($end >= $size)
83
						<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
84
					#else
85
						<button class="btn btn-primary next" style="width:100%">Next</button>
86
					#end
87
				</div>
88
	    	</div>
89
	    </div>
90
    #end
91
</section>