Subversion Repositories SmartDukaan

Rev

Rev 5437 | Rev 5459 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5437 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
            Supplier Inventory
6
        </title>
7
        <link rel="stylesheet" href="/inventory/css/common.css" type="text/css" />
8
    </head>
9
    <body>
10
        <div >
11
            <a href="/inventory">Go to Home page</a>
12
            <br />
13
                <label >Supplier Inventory</label>
14
            <br />
15
            #set($messages = $action.getActionErrors())
16
            #if($messages && $messages.size() != 0)
17
                #foreach($message in $messages)
18
                    $message <br/>
19
                #end
20
            #end
21
            <br />
22
            <table >
23
                <thead >
24
                    <tr >
25
                        <th >Supplier Warehouse</th>
5458 mandeep.dh 26
                        <th >Last successful update</th>
5437 mandeep.dh 27
                        <th ></th>
28
                </thead>
29
                <tbody >
30
                    #foreach($warehouseId in $action.getConfig().keySet())
31
                        <tr >
32
                            <td >$action.getWarehouse($warehouseId).getDisplayName()</td>
5458 mandeep.dh 33
                            <td >$action.getWarehouse($warehouseId).getVendorString()</td>
5437 mandeep.dh 34
                            <td >
35
                                <form enctype="multipart/form-data" method="post" action="/inventory/supplier-inventory">
36
                                    <div >
37
                                        <input type="hidden" name="warehouseId" value="$warehouseId"/>
38
                                        <input type="radio" name="uploadVendorItemMapping" value="true"/>Item mapping
39
                                        <input type="radio" name="uploadVendorItemMapping" value="false" checked />Inventory
40
                                        <input type="file"  name="file"/>
41
                                        <input type="submit" value="Upload"/>
42
                                    </div>
43
                                </form>
44
                            </td>
45
                        </tr>
46
                    #end
47
                </tbody>
48
            </table>
49
        </div>
50
    </body>
51
</html>