Rev 28020 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<div class="row">#if(!$inStock.isEmpty())<div class="col-lg-6"><tableclass="table table-striped table-advance table-hover partner-planning-details"><thead><tr><th>Partner Name</th><th>Stock</th><th>Sale</th></tr></thead><tbody>#foreach($keyvalue in $inStock.entrySet())<tr><td>$customRetailers.get($keyvalue.getKey()).getBusinessName()</td><td>$keyvalue.getValue()</td>#if($fofoSale.get($keyvalue.getKey()))<td>$fofoSale.get($keyvalue.getKey())</td> #else<td>0</td> #end</tr>#end</tbody></table></div>#else<div class="col-lg-6"><tableclass="table table-striped table-advance table-hover partner-planning-details"><thead><tr><th>Partner Name</th><th>Item</th><th>Stock</th><th>Sale</th></tr></thead><tbody>#foreach($keyvalue in $inStockItemMap.entrySet())<tr><td>$customRetailers.get($keyvalue.getKey().getFofoId()).getBusinessName()</td><td>$keyvalue.getValue().getBrand()$keyvalue.getValue().getModelName()$keyvalue.getValue().getModelNumber()</td><td>$keyvalue.getValue().getQty()</td>#if($fofoSaleItem.get($keyvalue.getKey()))<td>$fofoSaleItem.get($keyvalue.getKey()).getQty()</td> #else<td>0</td> #end</tr>#end</tbody></table></div>#end</div><script type="text/javascript">$(document).ready(function() {var table = $('.partner-planning-details').DataTable({"pageLength" : 100});});</script>