Rev 24761 | Rev 24798 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<style>.table-striped > tbody > tr:nth-child(odd) > td{background: white;background-color: white;}.table-striped > tbody > tr:nth-child(even) > td{background: white;background-color:white;}.table-striped > tbody > tr:hover > td,.table-striped > tbody > tr:hover {background-color: #e98c8f;color:white;}.btn:hover{color: grey;text-decoration: none;}.btn-primary:hover{color: grey;text-decoration: none;}.add-to-bag{cursor:pointer;}modal-dialog.modal-lg{left:10%;right:auto;width:80%;}.modal-content{background : white;}.modelHeaderCustom{font-size:14px;font-weight:bold;}hr{background-color:#007aff;border:none;height:1px;background:#007aff;}tr.selected{background-color:#B0BED9}</style><section class="wrapper"><div class="row"><div class="col-lg-12"><h3 class="page-header"><i class="icon_genius"></i>REVIEW ORDER</h3><ol class="breadcrumb"><li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li><li><i class="icon_genius"></i>Review Order</li></ol></div></div><div class="row"><h4 class="modelHeaderCustom" style="font-size:22px;">Pending Payment Order</h4><div class="col-lg-12" id="catalog-container"><table class="table table-border table-condensed table-bordered" id="pending-payment-order-table"><thead><tr><th>Item Id</th><th>OrderId</th><th>Description</th><th>Customer Name </th><th>Mobile</th><th>Amount</th><th>Quantity</th><th>Created Timestamp</th></tr></thead><tbody>#if(!$order.isEmpty())#foreach($pendingorderDetail in $pendingPaymentorder )#if(!($pendingorderDetail.getRefundTimestamp()) && $pendingorderDetail.getWalletAmount()>0)<tr><td>$pendingorderDetail.getLineItem().getItemId()</td><td>$pendingorderDetail.getId()</td><td>$pendingorderDetail.getLineItem().getItem().getItemDescription()</td><td>$pendingorderDetail.getRetailerName()</td><td>$pendingorderDetail.getRetailerMobileNumber()</td><td>$pendingorderDetail.getTotalAmount()</td><td>$pendingorderDetail.getLineItem().getQuantity()</td><td>$pendingorderDetail.getCreateTimestamp().format($dateTimeFormatter)</td></tr>#end#end#end</tbody></table></div></div><div class = "row"><h4 class="modelHeaderCustom" style="font-size:22px;">In Process Order</h4><div class="col-lg-12" id="catalog-container"><button class="btn btn-primary bulkCancellation" type="button" style = "display:none">Cancel</button><table class="table table-border table-condensed table-bordered" id="pending-order-table"><thead><tr><th>Item Id</th><th>OrderId</th><th>Description</th><th>Customer Name </th><th>Mobile</th><th>Cancel Order</th><th>Keep a Tab </th></tr></thead><tbody>#if(!$order.isEmpty())#foreach($orderDetail in $inProcessorder )<tr><td>$orderDetail.getLineItem().getItemId()</td><td>$orderDetail.getId()</td><td>$orderDetail.getLineItem().getItem().getItemDescription()</td><td>$orderDetail.getRetailerName()</td><td>$orderDetail.getRetailerMobileNumber()</td><td><button class="btn btn-primary cancellation" data-orderid="$orderDetail.getId()" type="button" >Cancel</button></td><td><button class="btn btn-primary keepatab" data-orderid="$orderDetail.getId()" type="button" >Keep A Tab</button></td></tr>#end#end</tbody></table></div></div></section><script type="text/javascript">var editor;$(document).ready(function() {var dtable = $('#pending-order-table').DataTable({"bPaginate": true,"bLengthChange": true,"bFilter": true,"bInfo": false,"bAutoWidth": false ,});$('#pending-payment-order-table').DataTable({"bPaginate": true,"bLengthChange": true,"bFilter": true,"bInfo": false,"bAutoWidth": false});} );</script>