Subversion Repositories SmartDukaan

Rev

Rev 5387 | Rev 9416 | 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>
        <link rel="stylesheet" href="/Support/css/bulk-order.css" type="text/css" />
        <title>
            Create new bulk order
        </title>
    </head>
    <body>
        <div >
            <a href="/Support/bulk-order">Go to all bulk orders</a>
        </div>

        <h2 >Create new bulk order</h2>
        <div id="error"></div>
        <form id="bulk-order">
            <table id="add-bulk-order-items">
                <tr >
                    <td >Customer Email Id: </td>
                    <td ><input type="text" name="customerEmailId" class="required email"/> </td>
                </tr>
                <tr >
                    <td >RTGS Id: </td>
                    <td ><input type="text" name="rtgsId" class="required digits"/> </td>
                </tr>
                <tr >
                    <td >RTGS Bank: </td>
                    <td ><input type="text" name="rtgsBank" class="required"/> </td>
                </tr>
                <tr >
                    <td >RTGS Branch: </td>
                    <td ><input type="text" name="rtgsBranch" class="required"/> </td>
                </tr>
                <tr >
                    <td >IFSC Code: </td>
                    <td ><input type="text" name="ifscCode" class="required"/> </td>
                </tr>
                <tr >
                                        <td >Pickup: </td>
                                        <td>
                                        <select name="pickUp" >
                                                <option value="SELF" selected="selected">SELF</option>
                            <option value="RUNNER">RUNNER</option>
                            <option value="COURIER">COURIER</option>
                        </select>
                                        </td>
                </tr>
                                <tr>
                                        <td>Order Type: </td>
                                        <td>
                                                <select id="orderType" name="orderType" >
                                                <option value="B2B" selected="selected">B2B</option>
                            <option value="B2Cbulk">B2C</option>
                        </select>
                                        </td>
                                </tr>
                                <tr id="tin">
                                        <td>TIN No:</td>
                                        <td><input type="text" name="tinNumber" /></td>
                                </tr>
                                <tr >
                    <td >Amount: </td>
                    <td ><input id="bulk-order-total-amount" type="text" readonly name="amount" value="0"/></td>
                </tr>
                <tr ></tr>
                <tr ></tr>
            </table>
            <table id="bulk-order-items">
                <thead >
                    <tr >
                        <th >Item Id</th>
                        <th >Model name</th>
                        <th >Price</th>
                        <th >Quantity</th>
                        <th >Amount</th>
                        <th >Remove</th>
                    </tr>
                </thead>
                <tbody >
                    <tr id="sample-item">
                        <td ><input type="text" class="required digits" name="item_id" disabled /> </td>
                        <td ><div id="model_name" /></td>
                        <td ><input type="text" class="required number" name="unit_price" disabled /> </td>
                        <td ><input type="text" class="required digits" name="quantity" disabled /> </td>
                        <td ><div id="item-amount">0</div></td>
                        <td ><a id="remove-item" href="#">delete</a></td>
                    </tr>
                </tbody>
            </table>
            <div >
                <input id="add-item" type="button" value="Add New Item"/> <br /> <br />
                <input type="submit" value="Create Bulk Order"/>
                <input id="cancel" type="button" value="Cancel"/>
            </div>
        </form>
        <script type="text/javascript" src="/Support/js/jquery-1.4.2.js"></script>
        <script type="text/javascript" src="/Support/js/jquery.validate.js"></script>
        <script type="text/javascript" src="/Support/js/jquery.dataTables.min.js"></script>
        <script type="text/javascript" src="/Support/js/bulk-order-common.js"></script>
        <script type="text/javascript" src="/Support/js/bulk-order-events.js"></script>
        <script type="text/javascript" charset="utf-8">
            $(function(){
                $('table#bulk-order-items tr#sample-item').hide();
                $("form#bulk-order").validate();
            });
        </script>
    </body>
</html>