Subversion Repositories SmartDukaan

Rev

Rev 7410 | 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 >Receive Invoice</label>
13
            <br />
14
            <form action="/inventory/invoice" method="post" >
15
                <table border="1">
16
                    <tr >
17
                        <td ><label >Date (DD-MM-YYYY)</label></td>
18
                        <td ><input type="text" name="date"/></td>
19
                    </tr>
20
                    <tr >
21
                        <td ><label >Supplier</label></td>
22
                        <td >
23
                            <select name="supplierId">
24
                                <option value="-1">Select Supplier</option>
25
                                #foreach ($supplier in $action.getSuppliers())
26
                                    <option value="$supplier.getId()">$supplier.getName()</option>
27
                                #end
28
                            </select>
29
                        </td>
30
                    </tr>
31
                    <tr >
32
                        <td ><label >Invoice Number</label></td>
33
                        <td ><input type="text" name="invoiceNumber"/></td>
34
                    </tr>
35
                    <tr >
36
                        <td ><label >Number of items</label></td>
37
                        <td ><input type="text" name="numItems"/></td>
38
                    </tr>
39
                    <tr >
40
                        <td ><label >Received From</label></td>
41
                        <td >
42
                            <select name="receivedFrom">
43
                                <option value="Manish">Manish</option>
44
                                <option value="Kunal">Kunal</option>
45
                                <option value="Supplier-Runner">Supplier-Runner</option>
46
                            </select>
47
                        </td>
48
                    </tr>
49
                    <tr >
50
                        <td colspan="2">
51
                            <input type="submit" value="Receive"/>
52
                        </td>
53
                    </tr>
54
                </table>
55
            </form>
56
        </div>
57
    </body>
58
</html>
59