Rev 34397 | Rev 34403 | 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><style>.well {background-color: #f9f9f9;border: 1px solid #ddd;border-radius: 12px;padding: 5px 20px;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);}.well h4 {margin-bottom: 10px;font-weight: 500;border-bottom: 1px solid #ccc;padding-bottom: 6px;}.well ul li {padding: 4px 0;font-weight: 400;font-size: 16px;border-bottom: 1px dashed #eee;}</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"><div class="well row" style="margin: 0;"><h4>Summary </h4><div class="col-md-6"><ul><li>Short Investment -#if($shortInvest > 0)<span class="currency">$shortInvest</span></li>#else-#end<li>Purchase FTD Target / Purchased FTD - <span class="currency"> $purchaseTargetFtd </span> /#if($purchasedFtd < $purchaseTargetFtd)<span style="color: red;"> <span class="currency"> $purchasedFtd</span> </span>#else<span style="color: green;"> <span class="currency"> $purchasedFtd</span> </span>#end</li><li>Total Available Funds - <span class="currency">$totalAvailableFunds</span></li></ul></div><div class="col-md-6"><ul>#if($isLoanPending && $recoverableAmount > 0)<li>Recoverable Amount - $recoverableAmount<ul><li>Purchase Mtd - <span class="currency">$purchaseMtd</span></li><li>Sale Mtd - <span class="currency">$saleMtd</span></li></ul></li>#end</ul></div></div></div><div class="clearfix"></div><div class="col-md-12">#if($brand != "undefined")<hr style="margin-top:25px; margin-bottom: 10px;"><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 style="margin: 7px;"><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 style="width: 25%;">Item</th><th style="width: 9%;">Status</th><th style="width: 13%;">Our Stock</th><th style="width: 15%;">P-Fullfilled</th><th style="width: 15%;">P-Shortage</th><th style="width: 15%;">P-CurrentQty</th><th style="width: 8%;">Aging</th>## <th>Action</th></tr></thead><tbody>#foreach($statusKey in $statusModelMap.keySet())#foreach($stocklist in $statusModelMap.get($statusKey))<tr>#if($stocklist.getPartnerCurrentAvailability() < 1)<td style="color: red;">$stocklist.getModelNumber()</td>#else<td>$stocklist.getModelNumber()</td>#end<td>$stocklist.getStatus()</td><td>$stocklist.getNetAvailability()</td><td>$stocklist.getPartnerStockAvailability()</td><td>$stocklist.getPartnerShortageStock()</td><td>$stocklist.getPartnerCurrentAvailability()</td><td>$stocklist.getExceedDays()</td>## <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>