Rev 32349 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<script type="text/javascript">$(function () {$(document).ready(function () {var dtable = $('#open-invoices').DataTable({});});});</script><div class="row"><div class="col-lg-12"><table id="open-invoices" class="table table-striped table-advance table-hover" ><thead><tr><th> Date</th><th> Supplier</th><th> Warehouse</th><th> Invoice Number</th><th> Num Items</th><th> Invoice Date</th><th> Received By</th><th> Status </th><th> Invoice </th></tr></thead><tbody>#foreach($supplierInvoice in $supplierInvoices)<tr><td>$supplierInvoice.getCreateDate().format($dateTimeFormatter)</td><td>$supplierMap.get($supplierInvoice.getSupplierId()).getName()</td><td>$warehouseMap.get($supplierInvoice.getWarehouseId()) </td><td> $supplierInvoice.getInvoiceNumber() </td><td>$supplierInvoice.getNumItems()</td><td>$supplierInvoice.getInvoiceDate().format($dateTimeFormatter)</td><td>$supplierInvoice.getReceivedFrom()</td>#if($grnRequestMap.get($supplierInvoice.getId()))<td>$grnRequestMap.get($supplierInvoice.getId()).getStatus() </td>#else<td> - </td>#end<td> <a href="${rc.contextPath}/download-attachment?documentId=$supplierInvoice.getInvoiceDocId()" target="_blank" class="download">Download Doc</a></td></tr>#end</tbody></table></div></div>