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>UNSETTLED 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>UNSETTLED ORDER</li>
37
			</ol>
38
		</div>
39
	</div>
40
 
41
 
42
 
43
	<div class="col-lg-12">
44
 
45
		<table class="table table-border table-condensed table-bordered"
46
			id="pending-order-item">
47
			<thead>
48
				<tr>
49
					<th>OrderId</th>
50
					<th>First Name</th>
51
					<th>Last Name</th>
52
					<th>Mobile</th>
53
					<th>Order Status</th>
54
					<th>Pay Mode</th>
55
					<th>Pay Method</th>
56
 
57
					<th>Order ItemId</th>
58
					<th>Item Id</th>
59
					<th>item details</th>
60
					<th>Selling Price</th>
61
					<th>Order Item Status</th>
62
					<th>Created on</th>
63
					<th>Actions</th>
64
				</tr>
65
			</thead>
66
			<tbody>
67
				#if(!$pendingOrder.isEmpty()) #foreach( $request in
68
				$pendingOrderItem)
69
				<tr class="pendingOrder" data="$request.getItemId()">
70
					<td>$request.getOrderId()</td>
71
					<td>$request.getPendingOrder().getCustomer().getFirstName()</td>
72
					<td>$request.getPendingOrder().getCustomer().getLastName()</td>
73
					<td>$request.getPendingOrder().getCustomer().getMobileNumber()</td>
74
					<td>$request.getPendingOrder().getStatus()</td>
75
					<td>$request.getPendingOrder().getPayMethod()</td>
76
					#if($request.getPendingOrder().getTotalAmount() ==
77
					$request.getPendingOrder().getPaidAmount())
78
					<td>ONLINE</td> #else
79
					<td>OFFLINE</td> #end
80
					<td>$request.getId()</td>
81
					<td>$request.getItemId()</td>
82
					<td>$request.getItemName()</td>
83
					<td>$request.getSellingPrice()</td>
84
					<td>$request.getStatus()</td>
85
					<td>$request.getCreateTimestamp().format($dateTimeFormatter)</td>
86
					<td><button class="btn btn-primary raiseClaim"
87
							data-poid="$request.getOrderId()"
88
							data-poitemid="$request.getId()" type="button"
89
							style="width: 100%; border-radius: 0px;">Raise Claim</button></td>
90
 
91
				</tr>
92
				#end
93
				<script type="text/javascript">
94
					$(document).ready(function() {
95
						$('#pending-order-item').dataTable({
96
							"bPaginate" : true,
97
							"bLengthChange" : true,
98
							"bFilter" : true,
99
							"bInfo" : false,
100
							"bAutoWidth" : false
101
						});
102
					});
103
				</script>
104
				#else
105
				<tr>
106
					<td colspan="12" style="text-align: center;">NO MATCHING DATA
107
						FOUND FOR CRITERIA</td>
108
				</tr>
109
				#end
110
			</tbody>
111
		</table>
112
	</div>
113
 
114
 
115
 
116
	</div>
117
	</div>
118
</section>
119