Subversion Repositories SmartDukaan

Rev

Rev 24087 | Go to most recent revision | Details | 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>ORDERS</li>
35
			</ol>
36
		</div>
37
	</div>
38
  	<div id="prebooking-orders-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>Item Id</th>
45
	    					<th>Description</th>
46
	    					<th>Advance Amount</th>
47
	    					<th>Tentative Amount</th>
48
	    					<th>Quantity</th>
49
	    					<th>Customer Name</th>
50
	    					<th>Customer Mobile Number</th>
51
	    					<th>Customer Email Id</th>
52
	    					<th>Created On</th>
53
	    				</tr>
54
	    				#if(!$prebookingOrders.isEmpty())
55
			    			#foreach( $prebookingOrder in $prebookingOrders )
56
			    				#set($prebookingListing = $itemIdPrebookingListingMap.get($prebookingOrder.getItemId()))
57
			    				<tr class="prebooking-order-details" data="$prebookingOrder.getId()">
58
			    					<td>$prebookingOrder.getItemId()</td>
59
			    					<td>$itemIdDescriptionMap.get($prebookingOrder.getItemId())</td>
60
			    					<td>$prebookingListing.getAdvanceAmount()</td>
61
			    					<td>$prebookingListing.getTentativeAmount()</td>
62
			    					<td>$prebookingOrder.getQuantity()</td>
63
			    					<td>$prebookingOrder.getCustomerName()</td>
64
			    					<td>$prebookingOrder.getCustomerMobileNumber()</td>
65
			    					<td>$prebookingOrder.getCustomerEmailId()</td>
66
			    					<td>$prebookingOrder.getFormattedCreateTimestamp()</td>
67
			    				</tr>
68
			    			#end
69
		    			#else
70
		    				<tr>
71
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
72
		    				</tr>
73
		    			#end
74
	    			</tbody>
75
	    		</table>
76
	    	</div>
77
	    </div>
78
    </div>
79
    #if(!$prebookingOrders.isEmpty())
80
	    	<div class="row" id="prebooking-orders-paginated">
81
	    		<div class="col-lg-9">
82
	    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
83
	    		</div>
84
	    		<div class="col-lg-3" style="text-align:right;">
85
				<div class="btn-group" style="width:40%">
86
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
87
				</div>
88
				<div class="btn-group" style="width:40%">
89
					#if($end >= $size)
90
						<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
91
					#else
92
						<button class="btn btn-primary next" style="width:100%">Next</button>
93
					#end
94
				</div>
95
		    	</div>
96
		</div>
97
    #end
98
</section>
99
<div id="prebooking-order-details-container" style="background:white;background-color:white;">
100
</div>