Subversion Repositories SmartDukaan

Rev

Rev 13997 | 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 >
13997 manish.sha 24
                        <td ><label >Invoice Receive Date: </label></td>
25
                        <td ><input type="date" name="date"/></td>
5443 mandeep.dh 26
                    </tr>
11219 manish.sha 27
					<tr> 
13997 manish.sha 28
                        <td><label >Actual Invoice Date: </label></td>
29
						<td ><input type="date" name="invoiceDate"/></td>
11219 manish.sha 30
					</tr>
5443 mandeep.dh 31
                    <tr >
32
                        <td ><label >Supplier</label></td>
33
                        <td >
34
                            <select name="supplierId">
35
                                <option value="-1">Select Supplier</option>
36
                                #foreach ($supplier in $action.getSuppliers())
37
                                    <option value="$supplier.getId()">$supplier.getName()</option>
38
                                #end
39
                            </select>
40
                        </td>
41
                    </tr>
42
                    <tr >
43
                        <td ><label >Invoice Number</label></td>
44
                        <td ><input type="text" name="invoiceNumber"/></td>
45
                    </tr>
7410 amar.kumar 46
 
47
					<tr >
48
						<td ><label >Warehouse</label></td>
49
						<td><input type="text" name="warehouseId"/></td>
50
                    </tr>
5443 mandeep.dh 51
                    <tr >
52
                        <td ><label >Number of items</label></td>
53
                        <td ><input type="text" name="numItems"/></td>
54
                    </tr>
55
                    <tr >
56
                        <td ><label >Received From</label></td>
57
                        <td >
58
                            <select name="receivedFrom">
12238 manish.sha 59
								<option value="Kunal">Kunal</option>
14029 manish.sha 60
								<option value="Arun">Arun</option>
5443 mandeep.dh 61
                                <option value="Supplier-Runner">Supplier-Runner</option>
12798 manish.sha 62
                                <option value="MeharbanSingh">Meharban Singh</option>
5443 mandeep.dh 63
                            </select>
64
                        </td>
65
                    </tr>
66
                    <tr >
67
                        <td colspan="2">
68
                            <input type="submit" value="Receive"/>
69
                        </td>
70
                    </tr>
71
                </table>
72
            </form>
73
        </div>
74
    </body>
75
</html>
76