Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
23419 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>PREBOOKING</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>LISTINGS</li>						  	
35
			</ol>
36
		</div>
37
	</div>
38
  	<div id="prebooking-listings-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>
24072 amit.gupta 44
	    					<th>Catalog Id</th>
23419 ashik.ali 45
	    					<th>Description</th>
46
	    					<th>Advance Amount</th>
47
	    					<th>Tentative Amount</th>
48
	    					<th>Created On</th>
26218 tejbeer 49
	    					<th>Status</th>
50
 
23419 ashik.ali 51
	    				</tr>
52
	    				#if(!$prebookingListings.isEmpty())
53
			    			#foreach( $prebookingListing in $prebookingListings )
54
			    				<tr class="prebooking-listing-details" data="$prebookingListing.getId()">
24087 amit.gupta 55
			    					<td>$prebookingListing.getCatalogId()</td>
24072 amit.gupta 56
			    					<td>$catalogIdDescriptionMap.get($prebookingListing.getCatalogId())</td>
24992 tejbeer 57
			    					<td class="currency">$prebookingListing.getAdvanceAmount()</td>
58
			    					<td class="currency">$prebookingListing.getTentativeAmount()</td>
24072 amit.gupta 59
			    					<td>$prebookingListing.getCreateTimestamp().format($dateFormatter)</td>
26218 tejbeer 60
			    					<td>$statusMap.get($prebookingListing.getId())</td>
23419 ashik.ali 61
			    				</tr>
62
			    			#end
63
		    			#else
64
		    				<tr>
65
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
66
		    				</tr>
67
		    			#end
68
	    			</tbody>
69
	    		</table>
70
	    	</div>
71
	    </div>
72
    </div>
73
    #if(!$prebookingListings.isEmpty())
74
	    	<div class="row" id="prebooking-listings-paginated">
75
	    		<div class="col-lg-9">
76
	    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
77
	    		</div>
78
	    		<div class="col-lg-3" style="text-align:right;">
79
				<div class="btn-group" style="width:40%">
80
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
81
				</div>
82
				<div class="btn-group" style="width:40%">
83
					#if($end >= $size)
84
						<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
85
					#else
86
						<button class="btn btn-primary next" style="width:100%">Next</button>
87
					#end
88
				</div>
89
		    	</div>
90
		</div>
91
    #end
92
</section>
93
<div id="prebooking-listing-details-container" style="background:white;background-color:white;">
94
</div>