Rev 31306 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<section class="wrapper"><div class="row"><div class="col-lg-12"><h3 class="page-header"><i class="icon_document_alt"></i>Purchase</h3><ol class="breadcrumb"><li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li><li><i class="icon_document_alt"></i>Purchase</li></ol></div></div><div class="row"><div class="col-lg-12"><table id="purchaseDetail" class="table table-striped table-advance table-hover" style="width:100%"><thead><tr><th>Name</th><th>Code</th>#foreach($ym in $yearMonth)<th>$ym.format($dateYearMonthFormatter)</th>#end</tr></thead><tbody>#foreach($name in $customRetailerMap.entrySet())<tr><td>$name.getValue().getBusinessName()</td><td>$name.getValue().getCode()</td>#foreach($ym in $yearMonth)#if($partnerMonthPurchaseMap.get($name.getValue().getPartnerId()).get($ym))<td class="currency">$partnerMonthPurchaseMap.get($name.getValue().getPartnerId()).get($ym)</td>#else<td>0</td>#end#end</tr>#end</tbody></table></div></div></section><script type="text/javascript">var table = $('#purchaseDetail').DataTable({"lengthMenu": [10, 25, 50, 75, 100, 250, 1000],"scrollX": true,orderCellsTop: true,fixedHeader: true});</script>