Subversion Repositories SmartDukaan

Rev

Rev 23419 | Rev 24087 | 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>
49
	    					<th>Active</th>
50
	    					<th>Expire</th>
51
	    				</tr>
52
	    				#if(!$prebookingListings.isEmpty())
53
			    			#foreach( $prebookingListing in $prebookingListings )
54
			    				<tr class="prebooking-listing-details" data="$prebookingListing.getId()">
55
			    					<td>$prebookingListing.getItemId()</td>
24072 amit.gupta 56
			    					<td>$catalogIdDescriptionMap.get($prebookingListing.getCatalogId())</td>
23419 ashik.ali 57
			    					<td>$prebookingListing.getAdvanceAmount()</td>
58
			    					<td>$prebookingListing.getTentativeAmount()</td>
24072 amit.gupta 59
			    					<td>$prebookingListing.getCreateTimestamp().format($dateFormatter)</td>
23419 ashik.ali 60
			    					#if(($prebookingListing.getActiveTimestamp()) && (!$prebookingListing.getExpireTimestamp()))
61
			    						<td><i class="fa fa-check" aria-hidden="true"></i></td>
62
			    					#else
63
			    						<td><i class="fa fa-times" aria-hidden="true"></i></td>
64
			    					#end
65
			    					#if($prebookingListing.getExpireTimestamp())
66
			    						<td><i class="fa fa-check" aria-hidden="true"></i></td>
67
			    					#else
68
			    						<td><i class="fa fa-times" aria-hidden="true"></i></td>
69
			    					#end
70
			    				</tr>
71
			    			#end
72
		    			#else
73
		    				<tr>
74
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
75
		    				</tr>
76
		    			#end
77
	    			</tbody>
78
	    		</table>
79
	    	</div>
80
	    </div>
81
    </div>
82
    #if(!$prebookingListings.isEmpty())
83
	    	<div class="row" id="prebooking-listings-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%">
89
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
90
				</div>
91
				<div class="btn-group" style="width:40%">
92
					#if($end >= $size)
93
						<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
94
					#else
95
						<button class="btn btn-primary next" style="width:100%">Next</button>
96
					#end
97
				</div>
98
		    	</div>
99
		</div>
100
    #end
101
</section>
102
<div id="prebooking-listing-details-container" style="background:white;background-color:white;">
103
</div>