Subversion Repositories SmartDukaan

Rev

Rev 27738 | Blame | Compare with Previous | Last modification | View Log | RSS feed

 <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">Our Purchase
                </h4>
       </div>
  <div class="modal-body" style="height:400px;overflow:auto;">
    <div class = "row">
  
                        <div class="col-lg-12">
                                 <table id="warehousePurchaseBrandItem" class="table table-striped table-advance table-hover">
                                 <thead>
                                <tr>
                                        <th>Item</th>
                                        <th>Warehouse</th>
                                        <th>Unit Price</th>
                                        <th>Stock Qty</th>
                                
                                 </tr>
                                 </thead>
                                <tbody>
                                    #foreach($key in $ourPurchaseItem)
                                        <tr>
                                     <td>$key.getBrand() $key.getModelName() $key.getModelNumber() $key.getColor()</td>
                                     <td>$warehouseMap.get($key.getWarehouseId())</td>
                                     <td>$key.getValue()</td>
                                     <td>$key.getQty()</td>
                                   </tr>
                                         #end
                                        
                            </tbody>
                        </table>
                        </div>
                        </div>
        </div>

                <div class="modal-footer">
                        <button type="button" data-dismiss="modal" class="btn btn-default view-close">Close</button>
        
           </div>


<script type="text/javascript">

$(document).ready(function() {
  var table = $('#warehousePurchaseBrandItem').DataTable( {
        "pageLength": 100
    });
});
</script>