Rev 34198 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<div class="col-lg-12"><ul class="nav nav-pills">#foreach($brand in $brands)<li class="#if($foreach.index == 0) in active #end"><a data-toggle="pill" href="#$brand">$brand</a></li>#end</ul><hr style="border-top: 1px solid #000;"><div class="tab-content">#foreach($brand in $brands)<div id="$brand" class="tab-pane fade in #if($foreach.index == 0) in active #end"><table class="table table-bordered table-condensed hidCatalogAllocationList" style="width:100%"><thead class="row htable" style="background:#F5F5F5;"><tr style="color:black;"><th>Catalog Id</th><th>Model Number</th><th>Brand</th><th>Po Qty</th><th>Stock Qty</th><th>Total Availability</th><th>Allocation</th><th>Purchase Limit</th><th>Action</th></tr></thead><tbody>#if($hidAllocationModelBrandMap.containsKey($brand) && !$hidAllocationModelBrandMap.get($brand).isEmpty())#foreach($model in $hidAllocationModelBrandMap.get($brand))<tr><td> $model.getCatalogId() </td><td> $model.getModelNumber() </td><td> $model.getBrand() </td><td> $model.getOrderedStock() </td><td> $model.getCurrentSnapshotStock() </td><td> $model.getAvailableStock() </td><td><input value="$model.getHidAllocation()" disabled name="allocation-limit"></td><td> $model.getPurchaseLimit() </td><td>#if($isAdmin)<button class="btn btn-sm btn-info generate-allocation-request"data-catalogid="$model.getCatalogId()">Generate Request</button>#else-#end</td></tr>#end#else<tr><td colspan="7"> No Data Available</td></tr>#end</tbody></table></div>#end</div></div></div>