Subversion Repositories SmartDukaan

Rev

Rev 5443 | Rev 9282 | Go to most recent revision | 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 >Receive Invoice</label>
13
            <br />
7410 amar.kumar 14
            #set($messages = $action.getActionErrors())
15
            #if($messages && $messages.size() != 0)
16
                #foreach($message in $messages)
17
                    $message <br/>
18
                #end
19
            #end
20
            <br />
5443 mandeep.dh 21
            <form action="/inventory/invoice" method="post" >
22
                <table border="1">
23
                    <tr >
24
                        <td ><label >Date (DD-MM-YYYY)</label></td>
25
                        <td ><input type="text" name="date"/></td>
26
                    </tr>
27
                    <tr >
28
                        <td ><label >Supplier</label></td>
29
                        <td >
30
                            <select name="supplierId">
31
                                <option value="-1">Select Supplier</option>
32
                                #foreach ($supplier in $action.getSuppliers())
33
                                    <option value="$supplier.getId()">$supplier.getName()</option>
34
                                #end
35
                            </select>
36
                        </td>
37
                    </tr>
38
                    <tr >
39
                        <td ><label >Invoice Number</label></td>
40
                        <td ><input type="text" name="invoiceNumber"/></td>
41
                    </tr>
7410 amar.kumar 42
 
43
					<tr >
44
						<td ><label >Warehouse</label></td>
45
						<td><input type="text" name="warehouseId"/></td>
46
                    </tr>
5443 mandeep.dh 47
                    <tr >
48
                        <td ><label >Number of items</label></td>
49
                        <td ><input type="text" name="numItems"/></td>
50
                    </tr>
51
                    <tr >
52
                        <td ><label >Received From</label></td>
53
                        <td >
54
                            <select name="receivedFrom">
55
                                <option value="Manish">Manish</option>
56
                                <option value="Kunal">Kunal</option>
57
                                <option value="Supplier-Runner">Supplier-Runner</option>
58
                            </select>
59
                        </td>
60
                    </tr>
61
                    <tr >
62
                        <td colspan="2">
63
                            <input type="submit" value="Receive"/>
64
                        </td>
65
                    </tr>
66
                </table>
67
            </form>
68
        </div>
69
    </body>
70
</html>
71