Subversion Repositories SmartDukaan

Rev

Rev 24658 | Rev 24739 | Go to most recent revision | Details | Compare with Previous | 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>	
24660 tejbeer 86
                                        #if($pendingorderDetail.getRefundTimestamp())
87
                                         <td>$pendingorderDetail.getRefundTimestamp()</td>	
88
                                        #else
89
                                        <td>null</td>
90
                                        #end
91
 
24658 tejbeer 92
	    					</tr>
93
	    					#end
94
	    					#end
95
	    				</tbody>
96
	    			</table>
97
	    		</div>
98
	    		</div>
99
 
100
 
101
	<div class = "row">
102
	<h4 class="modelHeaderCustom" style="font-size:22px;">In Process Order</h4>
103
 
104
 
105
	    		<div class="col-lg-12" id="catalog-container">
106
 
107
	    			<table class="table table-border table-condensed table-bordered" id="pending-order-table">
108
 
109
		    			<thead>
110
				            <tr>
111
 
112
								<th>Item Id</th>
113
	    						<th>OrderId</th>
114
	    						<th>Description</th>
115
	    						<th>Customer Name </th>
116
	    						<th>Mobile</th>
117
	    						<th>Cancel Order</th>
118
	    						<th>Keep a Tap </th>
119
 
120
	    					</tr>	
121
 
122
				        </thead>
123
	    				<tbody>
124
 
125
	    				#if(!$order.isEmpty())
126
		    					 #foreach($orderDetail in $inProcessorder )
127
		    					 	<tr>
128
 
129
		    					       	<td>$orderDetail.getLineItem().getItemId()</td>
130
		    					       	<td>$orderDetail.getId()</td>
131
		    					 		<td>$orderDetail.getLineItem().getItem().getItemDescription()</td>
132
		    					 		<td>$orderDetail.getRetailerName()</td>
133
                                        <td>$orderDetail.getRetailerMobileNumber()</td>
134
                                        <td><button class="btn btn-primary cancellation"  data-requestid="$request.getId()" type="button" >Cancel</button>
135
								     </td>
136
 
137
								     <td><button class="btn btn-primary keepatap" data-requestid="$request.getId()"  type="button" >Keep A Tap</button>
138
								     </td>
139
 
140
 
141
	    					</tr>
142
	    					#end
143
	    					#end
144
	    				</tbody>
145
	    			</table>
146
	    		</div>
147
	    		</div>
148
 
149
 
150
 
151
 
152
	    		</section>
153
 
154
 <script type="text/javascript">
155
 
156
 
157
 	$(document).ready(function() {
158
 var dtable=  $('#pending-order-table').DataTable(
159
  {
160
    "bPaginate": true,
161
    "bLengthChange": true,
162
    "bFilter": true,
163
    "bInfo": false,
164
    "bAutoWidth": false ,
165
 
166
 
167
    }
168
 
169
  );
170
 
171
 
172
   $('#pending-payment-order-table').DataTable(
173
  {
174
    "bPaginate": true,
175
    "bLengthChange": true,
176
    "bFilter": true,
177
    "bInfo": false,
178
    "bAutoWidth": false 
179
    }
180
  );
181
} );
182
</script>
183
 
184
 
185