Rev 34095 | Rev 34389 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<style>h5 { text-align: center;background-color: lightgray;padding: 5px;font-size: 16px;}#brand-instock tr.hide-table-padding td {padding: 0;}.expand-button {position: relative;}.accordion-toggle .expand-button:after{position: absolute;left:.75rem;top: 50%;transform: translate(0, -50%);content: '-';}.accordion-toggle.collapsed .expand-button:after{content: '+';}.tab-inactive {background-color: #cccccc47;border-radius: 4px;}</style><div class="modal-header"><button type="button" class="close" style="margin:-10px" data-dismiss="modal">×</button><h4 class="modal-title"> Stock Info ($customRetailer.getBusinessName())</h4></div><div class="modal-body" style="max-height:70vh;overflow:auto;">#if($brand != "undefined")<div class = "row"><div class="col-md-12"><ul class="nav nav-pills">#foreach($bnd in $brands)<li class="tab-inactive #if($bnd == $brand) active #end brandFocusedStockDetail" data-brand="$bnd"data-fofoid="$fofoId"><a data-toggle="pill" href="#tab_$bnd">$bnd</a></li>#end</ul><hr><div class="tab-content">#foreach($bnd in $brands)#set($statusModelMap = $brandStatusWiseStockListMap.get($bnd))<div id="tab_$bnd" class="tab-pane fade #if($bnd == $brand) in active #end"><!-- Subtabs -->#foreach($statusKey in $statusModelMap.keySet())<h4 style="margin-bottom: 7px;">$statusKey</h4><table class="table table-striped table-advance table-hover" style="width:100%"><thead><tr><th>Item</th><th>Our Stock</th><th>P-Fullfilled</th><th>P-Shortage</th><th>P-CurrentQty</th><th>7 Days Sold Qty</th><th>14 Days Sold Qty</th><th>21 Days Sold Qty</th><th>28 Days Sold Qty</th><th>Aging</th></tr></thead><tbody>#foreach($stocklist in $statusModelMap.get($statusKey))<tr>#if($stocklist.getExceedDays() >= 15)<td style="color: red;">$stocklist.getModelNumber()</td>#else<td>$stocklist.getModelNumber()</td>#end<td>$stocklist.getNetAvailability()</td><td>$stocklist.getPartnerStockAvailability()</td><td>$stocklist.getPartnerShortageStock()</td><td>$stocklist.getPartnerCurrentAvailability()</td>#if($sevenDayAboveSoldsCatalogsMap.get($stocklist.getCatalogId()).getSoldQty())<td>$sevenDayAboveSoldsCatalogsMap.get($stocklist.getCatalogId()).getSoldQty()</td>#else<td>-</td>#end#if($fourteenDayAboveSoldsCatalogsMap.get($stocklist.getCatalogId()).getSoldQty())<td>$fourteenDayAboveSoldsCatalogsMap.get($stocklist.getCatalogId()).getSoldQty()</td>#else<td>-</td>#end#if($twentyOneDayAboveSoldsCatalogsMap.get($stocklist.getCatalogId()).getSoldQty())<td>$twentyOneDayAboveSoldsCatalogsMap.get($stocklist.getCatalogId()).getSoldQty()</td>#else<td>-</td>#end#if($twentyEightDayAboveSoldsCatalogsMap.get($stocklist.getCatalogId()).getSoldQty())<td>$twentyEightDayAboveSoldsCatalogsMap.get($stocklist.getCatalogId()).getSoldQty()</td>#else<td>-</td>#end<td>$stocklist.getExceedDays()</td></tr>#end</tbody></table>#end</div>#end</div></div></div>#end<div id="itemWiseBrandStockDetail"></div></div><div class="modal-footer"><button type="button" data-dismiss="modal" class="btn btn-default view-close">Close</button></div>