Subversion Repositories SmartDukaan

Rev

Rev 6693 | Rev 6783 | 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>
5545 mandeep.dh 26
                        <th >Format</th>
5459 mandeep.dh 27
                        <th >Last successful inventory update</th>
5437 mandeep.dh 28
                        <th ></th>
29
                </thead>
30
                <tbody >
31
                    #foreach($warehouseId in $action.getConfig().keySet())
32
                        <tr >
33
                            <td >$action.getWarehouse($warehouseId).getDisplayName()</td>
5545 mandeep.dh 34
                            <td >$action.getFormat($warehouseId)</td>
5458 mandeep.dh 35
                            <td >$action.getWarehouse($warehouseId).getVendorString()</td>
5437 mandeep.dh 36
                            <td >
37
                                <form enctype="multipart/form-data" method="post" action="/inventory/supplier-inventory">
38
                                    <div >
39
                                        <input type="hidden" name="warehouseId" value="$warehouseId"/>
40
                                        <input type="radio" name="uploadVendorItemMapping" value="true"/>Item mapping
41
                                        <input type="radio" name="uploadVendorItemMapping" value="false" checked />Inventory
42
                                        <input type="file"  name="file"/>
43
                                        <input type="submit" value="Upload"/>
44
                                    </div>
45
                                </form>
46
                            </td>
47
                        </tr>
48
                    #end
49
                </tbody>
50
            </table>
51
        </div>
6693 amar.kumar 52
 
53
		<br/>
54
		<br/>
55
		<div id = "generic-vendor-inventory-uploader">
56
            <h3>Upload Inventory/Vendor-Item Mapping for Any Vendor in A-B format</h3>
57
			<form id ="inventory-uploader" enctype="multipart/form-data" method="post" action="/inventory/supplier-inventory!genericUpload">
58
                <span>Select Vendor : </span>
59
				<select name = "warehouseId">
60
					#foreach($warehouse in $action.getThirdPartyWarehouses())
61
						<option value = $warehouse.getId()>$warehouse.getDisplayName()</option>
62
					#end
63
                </select>
6694 amar.kumar 64
				<br />
65
				<span>Upload Type :</span>
6693 amar.kumar 66
                <input type = "radio" name = "uploadVendorItemMapping" value = "true">Item Mapping</input>
67
				<input type = "radio" name = "uploadVendorItemMapping" value = "false">Inventory</input>
68
				<br />
69
                <input type = "file" name = "file"></input>
70
				<br/>
71
				<input type = "submit" value = "Upload">
72
            </form>
73
 
74
        </div>
5437 mandeep.dh 75
    </body>
76
</html>