Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | 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>
22
                    </tr>
23
                </thead>
24
                <tbody >
25
                    #foreach($invoice in $action.getInvoices())
26
                        <tr >
27
                            <td >$action.convertDate($invoice.getDate())</td>
28
                            <td >$action.getSuppliers().get($invoice.getSupplierId()).getName()</td>
29
                            <td >$invoice.getInvoiceNumber()</td>
30
                            <td >$invoice.getNumItems()</td>
31
                            <td >$invoice.getReceivedFrom()</td>
32
                        </tr>
33
                    #end
34
                </tbody>
35
            </table>
36
        </div>
37
    </body>
38
</html>