Subversion Repositories SmartDukaan

Rev

Rev 28339 | Rev 28350 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28339 Rev 28344
Line 54... Line 54...
54
							<th>Mobile</th>
54
							<th>Mobile</th>
55
							<th>Order Status</th> #if($customRetailersMap)
55
							<th>Order Status</th> #if($customRetailersMap)
56
							<th>Partner</th> #end
56
							<th>Partner</th> #end
57
							<th>Pay Method</th>
57
							<th>Pay Method</th>
58
							<th>Pay Mode</th>
58
							<th>Pay Mode</th>
59
							<th>Order ItemId</th>
59
							<th>Order Item Id</th>
60
							<th>Item Id</th>
60
							<th>Item Id</th>
61
							<th>item Details</th>
61
							<th>Item Details</th>
62
							<th>Selling Price</th>
62
							<th>Selling Price</th>
63
							<th>Order Item Status</th>
63
							<th>Order Item Status</th>
64
							<th>Created on</th>
64
							<th>Created on</th> #if($isAdmin)
65
							<th>Actions</th>
65
							<th>Actions</th>
-
 
66
							<th></th>#else
-
 
67
							<th>Actions</th> #end
66
						</tr>
68
						</tr>
67
					</thead>
69
					</thead>
68
					<tbody>
70
					<tbody>
69
						#if(!$pendingOrder.isEmpty()) #foreach( $request in
71
						#if(!$pendingOrder.isEmpty()) #foreach( $request in
70
						$pendingOrderItem)
72
						$pendingOrderItem)
Line 79... Line 81...
79
							#if($customRetailersMap)
81
							#if($customRetailersMap)
80
							#if($customRetailersMap.get($request.getPendingOrder().getFofoId()))
82
							#if($customRetailersMap.get($request.getPendingOrder().getFofoId()))
81
							<td>$customRetailersMap.get($request.getPendingOrder().getFofoId()).getBusinessName()</td>
83
							<td>$customRetailersMap.get($request.getPendingOrder().getFofoId()).getBusinessName()</td>
82
							#else
84
							#else
83
							<td></td> #end #end
85
							<td></td> #end #end
84
							<td>$request.getPendingOrder().getPayMethod()</td>
86
							<td>$request.getPendingOrder().getPayMethodDescription()</td>
85
							#if($request.getPendingOrder().getTotalAmount() ==
87
							#if($request.getPendingOrder().getTotalAmount() ==
86
							$request.getPendingOrder().getPaidAmount())
88
							$request.getPendingOrder().getPaidAmount())
87
							<td>ONLINE</td> #else
89
							<td>ONLINE</td> #else
88
							<td>OFFLINE</td> #end
90
							<td>OFFLINE</td> #end
89
 
91
 
Line 100... Line 102...
100
								<button class="btn btn-primary add-bag-submit"
102
								<button class="btn btn-primary add-bag-submit"
101
									data-toggle="modal" data-target="#bagModel" type="button"
103
									data-toggle="modal" data-target="#bagModel" type="button"
102
									style="width: 100%; border-radius: 0px;">Add To Bag</button>
104
									style="width: 100%; border-radius: 0px;">Add To Bag</button>
103
							</td> #else
105
							</td> #else
104
							<td style="font-color: red">Out of Stock</td> #end #else
106
							<td style="font-color: red">Out of Stock</td> #end #else
-
 
107
							<td>
-
 
108
								<button class="btn btn-primary verify-order-item"
-
 
109
									data-toggle="modal" type="button"
-
 
110
									style="width: 100%; border-radius: 0px;">Mark Verify</button>
-
 
111
							</td>
-
 
112
							<td>
-
 
113
								<button class="btn btn-primary cancel-order-item"
-
 
114
									data-toggle="modal" type="button"
-
 
115
									style="width: 100%; border-radius: 0px;">Cancel</button>
105
							<td></td> #end
116
							</td> #end
106
 
-
 
107
						</tr>
117
						</tr>
108
						#end
118
						#end
109
						<script type="text/javascript">
119
						<script type="text/javascript">
110
							$(document).ready(function() {
120
							$(document).ready(function() {
111
								$('#pending-order-item').dataTable({
121
								$('#pending-order-item').dataTable({