Rev 5443 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Invoices</title></head><body><div ><a href="/inventory">Go to Home page</a><br /><label >Invoices</label><br /><table border="1"><thead ><tr ><th >Date</th><th >Supplier</th><th >Invoice Number</th><th >NumItems</th><th >Received From</th><th >Invoice Date</th></tr></thead><tbody >#foreach($invoice in $action.getInvoices())<tr ><td >$action.convertDate($invoice.getDate())</td><td >$action.getSuppliers().get($invoice.getSupplierId()).getName()</td><td >$invoice.getInvoiceNumber()</td><td >$invoice.getNumItems()</td><td >$invoice.getReceivedFrom()</td><td >#if($invoice.getInvoiceDate()>0) $action.convertDate($invoice.getInvoiceDate()) #else NA #end</td></tr>#end</tbody></table></div></body></html>