Subversion Repositories SmartDukaan

Rev

Rev 26039 | 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>     NOTIFIED CANCEL 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>Notified Cancel Order</li>
                        </ol>
                </div>
        </div>
        
                
 <div class="row">
                        <div class="col-lg-12" id="catalog-container">
                                <table class="table table-border table-condensed table-bordered" id="notify-cancel-status-table">
                                        <thead>
                                            <tr>
                                                                <th>itemId</th>
                                                        <th>OrderId</th>
                                                        <th>ItemDescription</th>
                                                        <th>Customer Name </th>
                                                        <th>Created Timestamp </th>
                                                        <th>Updated Timestamp </th>
                                                        <th>change </th>
                                                
                                                        
                                                        
                                                </tr>
                                                        
                                        </thead>
                                        <tbody>
                                                
                                        #if(!$notifyCancels.isEmpty())
                                                         #foreach($taborder in $notifyCancels)
                                                                <tr>
                                                                        
                                                                    <td>$taborder.getItemId()</td>
                                                                <td>$taborder.getOrderId()</td>
                                                                        <td>$itemdescription.get($taborder.getItemId())</td>
                                                                        <td>$fofoIdsAndRetailerName.get($taborder.getFofoId()).getBusinessName()</td>   
                                        <td>$taborder.getCreatedTimestamp().format($dateTimeFormatter)</td>     
                                        <td>$taborder.getUpdatedTimestamp().format($dateTimeFormatter)</td>
                                       <td><button class="btn btn-primary notifyCancelList"  onclick="getNotifyCancelItems($taborder.getItemId(),$taborder.getOrderId())" data-toggle="modal" data-target="#notifyCancelOrderList" type="button" >Update </button>
                                        
                                       
                                                                    
                                                                         
                                                </tr>
                                                #end
                                                #end
                                        </tbody>
                                </table>
                        </div>
                        </div>
                        
                        
        <div class="notify-cancel-order-Items-container">
    <div  class="modal text-center" id="notifyCancelOrderList">
        <div class="modal-dialog">
    <div class="modal-content" style="width:900px;">
    
    
    </div>
    </div>
    </div>
    </div>
</section>      
                

 <script type="text/javascript">
  $(document).ready(function() { 
 var dtable =  $('#notify-cancel-status-table').DataTable(
  {
 
    "bPaginate": true,
    "bLengthChange": true,
    "bFilter": true,
    "bInfo": false,
    "bAutoWidth": false ,
     
    }
     
  );
  });
  </script>