Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
24880 govind 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
<section class="wrapper">
28
	<div class="row">
29
		<div class="col-lg-12">
30
			<h3 class="page-header"><i class="icon_document_alt"></i>SALE</h3>
31
			<ol class="breadcrumb">
32
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
33
				<li><i class="icon_document_alt"></i>INSURANCE</li>						  	
34
			</ol>
35
		</div>
36
	</div>
37
  	<div id="insurance-details-table">
38
		<div class="row">
39
	    	<div class="col-lg-12">
40
	    		<table class="table table-striped table-advance table-hover">
41
	    			<tbody>
42
	    				<tr>
43
	    					<th>Brand</th>
44
	    					<th>Model Name</th>
45
	    					<th>Invoice Number</th>
46
	    					<th>Serial Number</th>
47
	    					<th>Product Name</th>
48
	    					<th>Provider</th>
49
	    					<th>Amount</th>
50
	    					<th>Create Date</th>
51
	    				</tr>
52
	    				#if(!$insurancePolicies.isEmpty())
53
			    			#foreach( $insurancePolicy in $insurancePolicies )
54
			    				<tr>
55
			    					<td>$insurancePolicy.getBrand()</td>
56
			    					<td>$insurancePolicy.getModelName()</td>
57
			    					<td>$insurancePolicy.getInvoiceNumber()</td>
58
			    					<td>$insurancePolicy.getSerialNumber()</td>
59
			    					<td>$insurancePolicy.getProductName()</td>
60
			    					<td>$providerPolicyNameAndIdMap.get($insurancePolicy.getProviderId())</td>
61
			    					<td>$insurancePolicy.getSaleAmount()</td>
62
			    					<td>$insurancePolicy.getFormattedCreateTimestamp()</td>
63
			    				</tr>
64
			    			#end
65
		    			#else
66
		    				<tr>
67
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
68
		    				</tr>
69
		    			#end
70
	    			</tbody>
71
	    		</table>
72
	    	</div>
73
	    </div>
74
    </div>
75
    #if(!$insurancePolicies.isEmpty())
76
    	<div class="row" id="insurance-paginated">
77
    		<div class="col-lg-9">
78
    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
79
    		</div>
80
    		<div class="col-lg-3" style="text-align:right;">
81
				<div class="btn-group" style="width:40%">
82
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
83
				</div>
84
				<div class="btn-group" style="width:40%">
85
					#if($end >= $size)
86
						<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
87
					#else
88
						<button class="btn btn-primary next" style="width:100%">Next</button>
89
					#end
90
				</div>
91
	    	</div>
92
	    </div>
93
    #end
94
</section>
95
<div id="insurance-policy-details-container" style="background:white;background-color:white;">
96
</div>