Subversion Repositories SmartDukaan

Rev

Rev 7410 | Rev 10339 | 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>
                        Add new Supplier
                </title>
        </head>
        <body>
        <script>
            $(document).ready(function() {
                $("form#newSupplier").validate();
            });
        </script>
        <a href="/inventory">Go to Home page</a>
        <br />                
                <h2>Add new Supplier</h2>
                <form id = "newSupplier" action="/inventory/supplier" method="post">
            <table >
                <tr >
                    <td >Name</td>
                    <td ><input name="name" type="text" class="required" size="30"/></td>
                </tr>
                <tr >
                    <td >Phone (Max. 12 digits)</td>
                    <td ><input name="phone" type="text" class="required digits"/></td>
                </tr>
                <tr >
                    <td >TIN (Max. 10 digits)</td>
                    <td ><input name="tin" type="text" class="required digits"/></td>                    
                </tr>
                <tr >
                    <td >PAN</td>
                    <td ><input name="pan" type="text" class="required"/></td>
                </tr>
                <tr >
                    <td >Fax</td>
                    <td ><input name="fax" type="text" class="required"/></td>
                </tr>
                <tr >
                    <td >Head Name</td>
                    <td ><input name="headName" type="text" class="required" size="30"/></td>
                </tr>
                <tr >
                    <td >Head Designation</td>
                    <td ><input name="headDesignation" type="text"/></td>
                </tr>
                <tr >
                    <td >Head Email</td>
                    <td ><input name="headEmail" type="text" class="email required" size="30"/></td>
                </tr>
                <tr >
                    <td >Contact Person</td>
                    <td ><input name="contactName" type="text" class="required" size="30"/></td>
                </tr>
                <tr >
                    <td >Contact Email(; separated email ids)</td>
                    <td ><input name="contactEmail" type="text" class="required" size="70"/></td>
                </tr>
                <tr >
                    <td >Contact Phone (Max. 12 digits)</td>
                    <td ><input name="contactPhone" type="text" class="required digits"/></td>
                </tr>
                <tr >
                    <td >Contact Fax (Max. 12 digits)</td>
                    <td ><input name="contactFax" type="text" class="required digits"/></td>
                </tr>
                <tr >
                    <td >Registered Address</td>
                    <td ><input name="registeredAddress" type="text" class="required" size="70"/></td>
                </tr>
                <tr >
                    <td >Communication Address</td>
                    <td ><input name="communicationAddress" type="text" class="required" size="70"/></td>
                </tr>
                                <tr >
                    <td >Physical(Billing) Warehouse Location</td>
                    <td >
                                                <select name = "billingWarehouseIds" multiple = "multiple" style = "height:55px" class="required">
                            <option value = "7">Mahipalpur</option>
                                                        <option value = "12">Goregaon</option>
                                                        <option value = "13">Bhiwandi</option>
                        </select>
                                        </td>
                </tr>
                <tr>
                    <td colspan="2"><input type="submit" value="Create" /></td>
                </tr>
            </table>
                </form>
    </body>
</html>