Rev 26767 | Rev 26817 | 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-4"><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>Status</th>#if($customRetailersMap)<th>Partner</th>#end<th>created on </th><th>View</th>#if($isAdmin)<th>Cancel</th>#end</tr></thead><tbody>#if(!$pendingOrder.isEmpty())#foreach( $request in $pendingOrder )<tr class="pendingOrder" data="$request.getId()"><td>$request.getId()</td><td>$request.getCustomerFirstName()</td><td>$request.getCustomerLastName()</td><td>$request.getMobileNumber()</td><td>$request.getStatus()</td>#if($customRetailersMap)<td>$customRetailersMap.get($request.getFofoId()).getBusinessName()</td>#end<td>$request.getCreateTimestamp().format($dateTimeFormatter)</td><td><button class="btn btn-primary pendingOrderDetail" data-orderid="$request.getId()" data-gst="$request.getCustomerGstNumber()" data-emailid="$request.getEmailId()" data-line1="$request.getLine1()"data-line2="$request.getLine2()" data-city="$request.getCity()" data-state="$request.getState()"data-pincode="$request.getPinCode()"type="button" style="width:100%; border-radius:0px;">View</button></td>#if($isAdmin)<td><button class="btn btn-primary pendingOrderCancel" data-orderid="$request.getId()"type="button" style="width:100%; border-radius:0px;">Cancel</button></td>#end</tr><script type="text/javascript">$(document).ready(function() {$('#pending-order').dataTable({"bPaginate": true,"bLengthChange": true,"bFilter": true,"bInfo": false,"bAutoWidth": false});});</script>#end#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" style="float:right";><div class="pending-order-container"></div></div></div></div></section>