Rev 27541 | Rev 27599 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<div class="col-lg-12"><table id="warehouseBrandItemStock" class="table table-striped table-advance table-hover"><thead><tr><th>W/H Name</th><th>Item</th><th>Unit Price</th><th>Stock Qty</th><th>Stock Value</th><th>Pending Indent</th><th>Tertiary</th><th><10</th><th><20</th><th><30</th><th>>30</th></tr></thead><tbody>#foreach($key in $warehouseWiseItemStock)<tr><td>$key.getWarehouseName()</td><td>$key.getBrand() $key.getModelName() $key.getModelNumber() $key.getColor()</td><td>$key.getUnitPrice()</td><td>$key.getStockQty()</td><td class="currency">$key.getStockValue()</td><td>$key.getPendingIndent()</td><td>$key.getTertiary()</td><td>$key.getDlt10()</td><td>$key.getD10to20()</td><td>$key.getD20to30()</td><td>$key.getDgt30()</td></tr>#end</tbody></table></div><script type="text/javascript">$(document).ready(function() {$('#warehouseBrandItemStock thead tr').clone(true).appendTo( '#warehouseBrandItemStock thead' );$('#warehouseBrandItemStock thead tr:eq(1) th').each( function (i) {var title = $(this).text();$(this).html( '<input type="text" style = "width:60%;" placeholder="Search '+title+'" />' );$( 'input', this ).on( 'keyup change', function () {if ( table.column(i).search() !== this.value ) {table.column(i).search( this.value ).draw();}} );} )var table = $('#warehouseBrandItemStock').DataTable( {orderCellsTop: true,fixedHeader: true} );});</script>