Rev 26817 | Rev 28339 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<style>.btn:hover,.btn:focus {color: grey;text-decoration: none;}.modal-dialog.modal-lg{left:10%;right:auto;width:80%;}.modal-content{background : white;}.border-highlight{border : 3px solid red;}td.highlight{background-color: yellowgreen !important;}</style><section class="wrapper"><div class="row"><div class="col-lg-12"><h3 class="page-header"><i class="icon_document_alt"></i>FOfo Pending Order</h3><ol class="breadcrumb"><li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li><li><i class="icon_document_alt"></i>Pending Order</li></ol></div></div><div id="pending-order-table"><div class="row"><div class="col-lg-6"><table class="table table-border table-condensed table-bordered" id="pending-order"><thead><tr><th>Id</th><th>First Name</th><th>Last Name</th><th>Mobile</th><th>Order Status</th>#if($customRetailersMap)<th>Partner</th>#end<th>Created on </th><th>Actions</th></tr></thead><tbody>#if(!$pendingOrder.isEmpty())#foreach( $request in $pendingOrder )<tr class="pendingOrder" data="$request.getId()"><td>$request.getId()</td><td>$request.getCustomer().getFirstName()</td><td>$request.getCustomer().getLastName()</td><td>$request.getCustomer().getMobileNumber()</td><td>$request.getStatus()</td>#if($customRetailersMap.get($request.getFofoId()).getBusinessName())<td>$customRetailersMap.get($request.getFofoId()).getBusinessName()</td>#else<td> </td>#end<td>$request.getCreateTimestamp().format($dateTimeFormatter)</td><td><button class="btn btn-primary pendingOrderDetail" data-orderid="$request.getId()"type="button" style="width:100%; border-radius:0px;">View</button>#if($isAdmin)<button class="btn btn-primary pendingOrderCancel" data-orderid="$request.getId()" type="button" style="width:100%; border-radius:0px;">Cancel</button>#end</td></tr>#end<script type="text/javascript">$(document).ready(function() {$('#pending-order').dataTable({"bPaginate": true,"bLengthChange": true,"bFilter": true,"bInfo": false,"bAutoWidth": false});});</script>#else<tr><td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td></tr>#end</tbody></table></div><div class="col-lg-6"><div class="pending-order-container"></div></div></div></div></section>