Subversion Repositories SmartDukaan

Rev

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>
            Supplier Inventory
        </title>
        <link rel="stylesheet" href="/inventory/css/common.css" type="text/css" />
    </head>
    <body>
        <div >
            <a href="/inventory">Go to Home page</a>
            <br />
                <label >Supplier Inventory</label>
            <br />
            #set($messages = $action.getActionErrors())
            #if($messages && $messages.size() != 0)
                #foreach($message in $messages)
                    $message <br/>
                #end
            #end
            <br />
            <table >
                <thead >
                    <tr >
                        <th >Supplier Warehouse</th>
                        <th >Format</th>
                        <th >Last successful inventory update</th>
                        <th ></th>
                </thead>
                <tbody >
                    #foreach($warehouseId in $action.getConfig().keySet())
                        <tr >
                            <td >$action.getWarehouse($warehouseId).getDisplayName()</td>
                            <td >$action.getFormat($warehouseId)</td>
                            <td >$action.getWarehouse($warehouseId).getVendorString()</td>
                            <td >
                                <form enctype="multipart/form-data" method="post" action="/inventory/supplier-inventory">
                                    <div >
                                        <input type="hidden" name="warehouseId" value="$warehouseId"/>
                                        <input type="radio" name="uploadVendorItemMapping" value="true"/>Item mapping
                                        <input type="radio" name="uploadVendorItemMapping" value="false" checked />Inventory
                                        <input type="file"  name="file"/>
                                        <input type="submit" value="Upload"/>
                                    </div>
                                </form>
                            </td>
                        </tr>
                    #end
                </tbody>
            </table>
        </div>
    </body>
</html>