Rev 34404 | Rev 34425 | 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 {list-style: decimal;padding: 4px 0;font-weight: 400;font-size: 16px;border-bottom: 1px dashed #eee;}.well .currency {font-weight: 500}</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-4"><h5>Fund Detail</h5><ul><li>Total Limit <span class="currency"> $sdCreditRequirement.getLimit()</span></li><li>Utilization <span class="currency"> $sdCreditRequirement.getUtilizedAmount()</span></li><li>Available Limit <span class="currency"> $sdCreditRequirement.getAvailableLimit()</span></li><li>Wallet Amount <span class="currency"> $userWallet.getAmount()</span></li></ul></div><div class="col-md-4"><h5>Investment Detail</h5><ul>#if($shortInvest > 0)<li>Short Investment -: <span class="currency">$shortInvest</span></li>#end<li>DRR / Today Purchase <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></ul><h5>Recoverable Amount </h5><ul><li>(Short Invest + Loan Over due) <br><span class="currency">$shortInvest</span> + <spanclass="currency">$totalPendingAmount</span></li></ul></div><div class="col-md-4"><h5>Target</h5><ul><li>Monthly Target -: <span class="currency">$monthlyTarget.purchaseTarget</span></li><li>Purchase Mtd -: <span class="currency">$purchaseMtd</span></li><li>Sale Mtd -: <span class="currency">$saleMtd</span></li></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">#if(!$brandToMtdMap.containsKey($bnd))<a style="color: red;" href="#tab_$bnd">$bnd</a>#else<a href="#tab_$bnd">$bnd</a>#end</li>#end<li><a href="#collapse1" data-toggle="collapse"style="background-color: #ccc;color: black;">In Stock </a></li><li><a href="#collapse2" data-toggle="collapse"style="background-color: #ccc;color: black;">Sales </a></li></ul><hr><div class="col-md-12 well panel-collapse collapse" id="collapse1"><h4>In Stock </h4><div id="itemWiseBrandStockDetail"></div></div><div id="collapse2" class="panel-collapse collapse col-md-12 well"><h4>Seven Days Sales</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%;">Brand</th><th style="width: 15%;">Sold Qty</th></tr></thead><tbody>#foreach($catalog in $sevenDayAboveSoldsCatalogs)<tr><td>$catalog.getModelNumber()</td><td>$catalog.getBrand()</td><td>$catalog.getSoldQty()</td></tr>#end</tbody></table><h4>14 Days Sales</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%;">Brand</th><th style="width: 15%;">Sold Qty</th></tr></thead><tbody>#foreach($catalog in $fourteenDayAboveSoldsCatalogs)<tr><td>$catalog.getModelNumber()</td><td>$catalog.getBrand()</td><td>$catalog.getSoldQty()</td></tr>#end</tbody></table><h4>21 Days Sales</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%;">Brand</th><th style="width: 15%;">Sold Qty</th></tr></thead><tbody>#foreach($catalog in $twentyOneDayAboveSoldsCatalogs)<tr><td>$catalog.getModelNumber()</td><td>$catalog.getBrand()</td><td>$catalog.getSoldQty()</td></tr>#end</tbody></table><h4>28 Days Sales</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%;">Brand</th><th style="width: 15%;">Sold Qty</th></tr></thead><tbody>#foreach($catalog in $twentyEightDayAboveSoldsCatalogs)<tr><td>$catalog.getModelNumber()</td><td>$catalog.getBrand()</td><td>$catalog.getSoldQty()</td></tr>#end</tbody></table></div><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>## <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>