Subversion Repositories SmartDukaan

Rev

Rev 5443 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5443 mandeep.dh 1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
    <head>
4
        <title>
5
            Invoices
6
        </title>
7
    </head>
8
    <body>
9
        <div >
10
            <a href="/inventory">Go to Home page</a>
11
            <br />
12
            <label >Invoices</label>
13
            <br />
14
            <table border="1">
15
                <thead >
16
                    <tr >
17
                        <th >Date</th>
18
                        <th >Supplier</th>
19
                        <th >Invoice Number</th>
20
                        <th >NumItems</th>
21
                        <th >Received From</th>
11219 manish.sha 22
                        <th >Invoice Date</th>
5443 mandeep.dh 23
                    </tr>
24
                </thead>
25
                <tbody >
26
                    #foreach($invoice in $action.getInvoices())
27
                        <tr >
28
                            <td >$action.convertDate($invoice.getDate())</td>
29
                            <td >$action.getSuppliers().get($invoice.getSupplierId()).getName()</td>
30
                            <td >$invoice.getInvoiceNumber()</td>
31
                            <td >$invoice.getNumItems()</td>
32
                            <td >$invoice.getReceivedFrom()</td>
11219 manish.sha 33
							<td >#if($invoice.getInvoiceDate()>0) $action.convertDate($invoice.getInvoiceDate()) #else NA #end</td>
5443 mandeep.dh 34
                        </tr>
35
                    #end
36
                </tbody>
37
            </table>
38
        </div>
39
    </body>
40
</html>