Rev 32349 | 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> Supplier</th><th> Warehouse</th><th> Invoice Id</th><th> Invoice Number</th><th> Invoice Value</th><th> Num Items</th><th> Invoice Date</th><th> Receive Date</th><th> Received By</th><th> Status </th><th> Document</th></tr></thead><tbody>#foreach($supplierInvoice in $supplierInvoices)<tr><td>$supplierMap.get($supplierInvoice.getSupplierId()).getName()</td><td>$warehouseMap.get($supplierInvoice.getWarehouseId()) </td><td> $supplierInvoice.getId() </td><td> $supplierInvoice.getInvoiceNumber() </td><td> $supplierInvoice.getTotalValue() </td><td>$supplierInvoice.getNumItems()</td><td>$supplierInvoice.getInvoiceDate().format($dateTimeFormatter)</td><td>$supplierInvoice.getCreateDate().format($dateTimeFormatter)</td><td>$supplierInvoice.getReceivedFrom()</td><td>$supplierInvoice.getStatus() </td><td> <a href="${rc.contextPath}/download-attachment?documentId=$supplierInvoice.getInvoiceDocId()" target="_blank" class="download">Download Doc</a></td></tr>#end</tbody></table></div></div>