Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
24658 tejbeer 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
	.add-to-bag{
24
		cursor:pointer;
25
	}
26
	modal-dialog.modal-lg{
27
		left:10%;
28
		right:auto;
29
		width:80%;
30
	}
31
	.modal-content{
32
		background : white;
33
	}
34
	.modelHeaderCustom{
35
		font-size:14px;
36
		font-weight:bold;
37
	}
38
	hr{
39
		background-color:#007aff;
40
		border:none;
41
		height:1px;
42
		background:#007aff;
43
	}
44
	tr.selected{background-color:#B0BED9}
45
</style>
46
<section class="wrapper">
47
	<div class="row">
48
		<div class="col-lg-12">
49
			<h3 class="page-header"><i class="icon_genius"></i>CATALOG</h3>
50
			<ol class="breadcrumb">
51
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
52
				<li><i class="icon_genius"></i>CATALOG</li>
53
			</ol>
54
		</div>
55
	</div>
56
 
57
 
58
 <div class="row">
59
	<h4 class="modelHeaderCustom" style="font-size:22px;">Pending Payment Order</h4>
60
	    		<div class="col-lg-12" id="catalog-container">
61
	    			<table class="table table-border table-condensed table-bordered" id="pending-payment-order-table">
62
		    			<thead>
63
				            <tr>
64
								<th>Item Id</th>
65
	    						<th>OrderId</th>
66
	    						<th>Description</th>
67
	    						<th>Customer Name </th>
68
	    						<th>Mobile</th>
69
	    						<th>Amount</th>
70
	    						<th>Refund Timestamp</th>
71
	    					</tr>
72
 
73
				        </thead>
74
	    				<tbody>
75
 
76
	    				#if(!$order.isEmpty())
77
		    					 #foreach($pendingorderDetail in $pendingPaymentorder )
78
		    					 	<tr>
79
 
80
	    							     <td>$pendingorderDetail.getLineItem().getItemId()</td>
81
		    					       	<td>$pendingorderDetail.getId()</td>
82
		    					 		<td>$pendingorderDetail.getLineItem().getItem().getItemDescription()</td>
83
		    					 		<td>$pendingorderDetail.getRetailerName()</td>
84
                                        <td>$pendingorderDetail.getRetailerMobileNumber()</td>		
85
                                        <td>$pendingorderDetail.getTotalAmount()</td>	
86
                                         <td>$pendingorderDetail.getRefundTimestamp()</td>					 
87
	    					</tr>
88
	    					#end
89
	    					#end
90
	    				</tbody>
91
	    			</table>
92
	    		</div>
93
	    		</div>
94
 
95
 
96
	<div class = "row">
97
	<h4 class="modelHeaderCustom" style="font-size:22px;">In Process Order</h4>
98
 
99
 
100
	    		<div class="col-lg-12" id="catalog-container">
101
 
102
	    			<table class="table table-border table-condensed table-bordered" id="pending-order-table">
103
 
104
		    			<thead>
105
				            <tr>
106
 
107
								<th>Item Id</th>
108
	    						<th>OrderId</th>
109
	    						<th>Description</th>
110
	    						<th>Customer Name </th>
111
	    						<th>Mobile</th>
112
	    						<th>Cancel Order</th>
113
	    						<th>Keep a Tap </th>
114
 
115
	    					</tr>	
116
 
117
				        </thead>
118
	    				<tbody>
119
 
120
	    				#if(!$order.isEmpty())
121
		    					 #foreach($orderDetail in $inProcessorder )
122
		    					 	<tr>
123
 
124
		    					       	<td>$orderDetail.getLineItem().getItemId()</td>
125
		    					       	<td>$orderDetail.getId()</td>
126
		    					 		<td>$orderDetail.getLineItem().getItem().getItemDescription()</td>
127
		    					 		<td>$orderDetail.getRetailerName()</td>
128
                                        <td>$orderDetail.getRetailerMobileNumber()</td>
129
                                        <td><button class="btn btn-primary cancellation"  data-requestid="$request.getId()" type="button" >Cancel</button>
130
								     </td>
131
 
132
								     <td><button class="btn btn-primary keepatap" data-requestid="$request.getId()"  type="button" >Keep A Tap</button>
133
								     </td>
134
 
135
 
136
	    					</tr>
137
	    					#end
138
	    					#end
139
	    				</tbody>
140
	    			</table>
141
	    		</div>
142
	    		</div>
143
 
144
 
145
 
146
 
147
	    		</section>
148
 
149
 <script type="text/javascript">
150
 
151
 
152
 	$(document).ready(function() {
153
 var dtable=  $('#pending-order-table').DataTable(
154
  {
155
    "bPaginate": true,
156
    "bLengthChange": true,
157
    "bFilter": true,
158
    "bInfo": false,
159
    "bAutoWidth": false ,
160
 
161
 
162
    }
163
 
164
  );
165
 
166
 
167
   $('#pending-payment-order-table').DataTable(
168
  {
169
    "bPaginate": true,
170
    "bLengthChange": true,
171
    "bFilter": true,
172
    "bInfo": false,
173
    "bAutoWidth": false 
174
    }
175
  );
176
} );
177
</script>
178
 
179
 
180