Rev 34384 | Rev 34397 | 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;"><div class="row"><div class="col-md-12">#if($brand != "undefined")<div class="row"><div class="col-md-12"><ul class="nav nav-pills">#foreach($bnd in $brands)<li class="brandFocusedStockDetail" data-brand="$bnd"data-fofoid="$fofoId"><a href="#tab_$bnd">$bnd</a></li>#end</ul><hr><div>#foreach($bnd in $brands)<div id="tab_$bnd" class="clearfix"></div>#set($statusModelMap = $brandStatusWiseStockListMap.get($bnd))<h4>$bnd</h4><table class="table table-striped table-advance table-hover" style="width:100%"><thead><tr><th>Item</th><th>Status</th><th>Our Stock</th><th>P-Fullfilled</th><th>P-Shortage</th><th>P-CurrentQty</th><th>Aging</th>## <th>Action</th></tr></thead><tbody>#foreach($statusKey in $statusModelMap.keySet())#foreach($stocklist in $statusModelMap.get($statusKey))<tr><td>$stocklist.getModelNumber()</td><td>$stocklist.getStatus()</td><td>$stocklist.getNetAvailability()</td><td>$stocklist.getPartnerStockAvailability()</td><td>$stocklist.getPartnerShortageStock()</td><td>$stocklist.getPartnerCurrentAvailability()</td>#if($stocklist.getExceedDays() >= 15)<td style="color: red;">$stocklist.getExceedDays()</td>#else<td>$stocklist.getExceedDays()</td>#end## <td>## <button class="btn btn-sm btn-success add-to-cart-btn"## data-catalogid="$stocklist.getCatalogId()"## data-model="$stocklist.getModelNumber()">## Add## </button>## </td></tr>#end#end</tbody></table>#end</div></div></div>#end<div id="itemWiseBrandStockDetail"></div></div>## <div class="col-md-3">## <div id="cart-sidebar" style=" width:100%; background:#f8f9fa; border:1px solid #ccc; padding:5px; border-radius:6px;">## <h5>Cart</h5>## <div id="custom-cart-section" class="well" style="padding: 4px;"></div>## </div>#### </div></div></div><div class="modal-footer"><button type="button" data-dismiss="modal" class="btn btn-default view-close">Close</button></div>