Subversion Repositories SmartDukaan

Rev

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>
        <script type="text/javascript" src="/js/jquery-1.4.2.js"></script>
        <script type="text/javascript" src="/js/jquery.validate.js"></script>        
                <title>
                        Warehouse Management::New Transfer-Lot
                </title>
        </head>
        <body>
        <script>
            $(document).ready(function() {
                $("form#newPurchase").validate();
            });
        </script>
        <a href="/inventory">Go to Home page</a>
        <br />                
                <h2>New Transfer</h2>
                <span style="color:red">
                        $action.getErrorMessage()
                </span>
                <form id = "newTransfer" name="newTransfer" action="/inventory/transfer-lot" method="post">
                        <table>
                                <tr id = "origin-warehouse-for-transfer">
                                        <td>Origin Warehouse:</td>
                                        <td>
                        <select name="originWarehouseId" class="required"> 
                            #foreach($warehouseId in $action.getAuthorizedWarehousesForCurrentUser())
                                <option value="$warehouseId" >$warehouseId</option>
                            #end
                        </select>
                                        </td>
                                </tr>
                                
                                <tr id = "destination warehouse-for-transfer" class="required">
                                        <td>Destination Warehouse:</td>
                                        <td><input type = "text" name = "destinationWarehouseId" class="required"/>
                                                ##Update this list based on selection of origin Warehouse
                                                <!--select name = "destinationWarehouseId" class="required">
                                                        #foreach($warehouse in $action.getAuthorizedWarehousesForCurrentUser())
                                <option value="$warehouse.getId()" >$warehouse.getId()</option>
                            #end
                        </select-->
                                        </td>
                                </tr>
                                <tr>
                                        <td colspan="2" align="right">
                                                <input name="submit" type="submit" value="Start Transfer Lot Scans"/>
                                        </td>
                                </tr>
                </form>
    </body>
</html>