Rev 23539 | Rev 29635 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<style>.btn:hover{color: grey;text-decoration: none;}.btn-primary:hover{color: grey;text-decoration: none;}.retailer-details{cursor:pointer;}tr.highlight{background-color:"#f59ca0";cursor:auto;}</style><section class="wrapper"><div class="row"><div class="col-lg-12"><h3 class="page-header"><i class="icon_document_alt"></i>Recent Debit Notes</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>Recent Debit Notes</li></ol></div></div><div class="row"><!--<div class="col-lg-12"><a href="javascript:void(0)" onclick="">View Debit Note</a> | <a href="javascript:void(0)" onclick="">Generate Debit Note(once generated it can't be changed)</a></div>--></div><div><div class="row"><div class="col-lg-5"><table class="table table-striped table-condensed table-bordered" id="debit-notes"><thead><tr><th>Id</th><th>Raised by Party</th><th>Note Number</th><!--<th>For Warehouse</th>--><th>Invoice Number</th><th>Created On</th></tr></thead><tbody>#foreach( $debitNoteId in $debitNotesMap.keySet() )<tr data-id="$debitNoteId" ><td><a href="javascript:void(0)" class="debit-note">$debitNoteId</a></td><td>$customRetailers.get($debitNotesMap.get($debitNoteId).getFofoId()).getBusinessName()</td><!--<td>$customRetailers.get($debitNotesMap.get($debitNoteId).getFofoId()).getBusinessName()</td>--><td><a href="${rc.contextPath}/return/debit-note/$debitNoteId" target="_blank">$debitNotesMap.get($debitNoteId).getDebitNoteNumber()</td><td>$inventoryItemsMap.get($debitNoteInventoryItemsMap.get($debitNoteId).get(0)).getPurchase().getPurchaseReference()</td><td>$debitNotesMap.get($debitNoteId).getFormattedCreateTimestamp()</td></tr>#end</tbody></table></div><div class="col-lg-7" id="debit-note-items"><table class="table table-striped table-condensed table-bordered"><thead><tr><th>Item Id</th><th>Description</th><th>Serial Number</th></tr></thead><tbody>#foreach( $debitNoteId in $debitNoteInventoryItemsMap.keySet() )#foreach( $inventoryItemId in $debitNoteInventoryItemsMap.get($debitNoteId) )<tr class="filter" data-id="$debitNoteId"><td>$inventoryItemsMap.get($inventoryItemId).getItemId()</td><td>$inventoryItemsMap.get($inventoryItemId).getItemDescription()</td><td>#if($inventoryItemsMap.get($inventoryItemId).getSerialNumber())$inventoryItemsMap.get($inventoryItemId).getSerialNumber()#else-#end</td></tr>#end#end</tbody></table></div></div></section>