Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
28339 tejbeer 1
<style>
2
.btn:hover, .btn:focus {
3
	color: grey;
4
	text-decoration: none;
5
}
6
 
7
.modal-dialog.modal-lg {
8
	left: 10%;
9
	right: auto;
10
	width: 80%;
11
}
12
 
13
.modal-content {
14
	background: white;
15
}
16
 
17
.border-highlight {
18
	border: 3px solid red;
19
}
20
 
21
td.highlight {
22
	background-color: yellowgreen !important;
23
}
24
</style>
25
 
26
 
27
<section class="wrapper">
28
	<div class="row">
29
		<div class="col-lg-12">
30
			<h3 class="page-header">
31
				<i class="icon_document_alt"></i>SETTLED ORDER
32
			</h3>
33
			<ol class="breadcrumb">
34
				<li><i class="fa fa-home"></i><a
35
					href="${rc.contextPath}/dashboard">Home</a></li>
36
				<li><i class="icon_document_alt"></i>SETTLED ORDER</li>
37
			</ol>
38
		</div>
39
	</div>
40
 
41
 
42
	<div class="col-lg-12">
43
 
44
		<table class="table table-border table-condensed table-bordered"
45
			id="pending-order-item">
46
			<thead>
47
				<tr>
48
					<th>OrderId</th>
49
					<th>First Name</th>
50
					<th>Last Name</th>
51
					<th>Mobile</th>
52
					<th>Order Status</th>
53
					<th>Pay Mode</th>
54
					<th>Pay Method</th>
55
 
56
					<th>Order ItemId</th>
57
					<th>Item Id</th>
58
					<th>item details</th>
59
					<th>Selling Price</th>
60
					<th>Order Item Status</th>
61
					<th>Created on</th>
62
				</tr>
63
			</thead>
64
			<tbody>
65
				#if(!$pendingOrder.isEmpty()) #foreach( $request in
66
				$pendingOrderItem)
67
				<tr class="pendingOrder" data="$request.getItemId()">
68
					<td>$request.getOrderId()</td>
69
					<td>$request.getPendingOrder().getCustomer().getFirstName()</td>
70
					<td>$request.getPendingOrder().getCustomer().getLastName()</td>
71
					<td>$request.getPendingOrder().getCustomer().getMobileNumber()</td>
72
					<td>$request.getPendingOrder().getStatus()</td>
73
					<td>$request.getPendingOrder().getPayMethod()</td>
74
					#if($request.getPendingOrder().getTotalAmount() ==
75
					$request.getPendingOrder().getPaidAmount())
76
					<td>ONLINE</td> #else
77
					<td>OFFLINE</td> #end
78
					<td>$request.getId()</td>
79
					<td>$request.getItemId()</td>
80
					<td>$request.getItemName()</td>
81
					<td>$request.getSellingPrice()</td>
82
					<td>$request.getStatus()</td>
83
					<td>$request.getCreateTimestamp().format($dateTimeFormatter)</td>
84
 
85
				</tr>
86
				#end
87
				<script type="text/javascript">
88
					$(document).ready(function() {
89
						$('#pending-order-item').dataTable({
90
							"bPaginate" : true,
91
							"bLengthChange" : true,
92
							"bFilter" : true,
93
							"bInfo" : false,
94
							"bAutoWidth" : false
95
						});
96
					});
97
				</script>
98
				#else
99
				<tr>
100
					<td colspan="12" style="text-align: center;">NO MATCHING DATA
101
						FOUND FOR CRITERIA</td>
102
				</tr>
103
				#end
104
			</tbody>
105
		</table>
106
	</div>
107
 
108
 
109
 
110
 
111
	</div>
112
	</div>
113
</section>
114