Subversion Repositories SmartDukaan

Rev

Rev 5443 | Rev 10524 | 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>
            Invoices
        </title>
    </head>
    <body>
        <div >
            <a href="/inventory">Go to Home page</a>
            <br />
            <label >Receive Invoice</label>
            <br />
            #set($messages = $action.getActionErrors())
            #if($messages && $messages.size() != 0)
                #foreach($message in $messages)
                    $message <br/>
                #end
            #end
            <br />
            <form action="/inventory/invoice" method="post" >
                <table border="1">
                    <tr >
                        <td ><label >Date (DD-MM-YYYY)</label></td>
                        <td ><input type="text" name="date"/></td>
                    </tr>
                    <tr >
                        <td ><label >Supplier</label></td>
                        <td >
                            <select name="supplierId">
                                <option value="-1">Select Supplier</option>
                                #foreach ($supplier in $action.getSuppliers())
                                    <option value="$supplier.getId()">$supplier.getName()</option>
                                #end
                            </select>
                        </td>
                    </tr>
                    <tr >
                        <td ><label >Invoice Number</label></td>
                        <td ><input type="text" name="invoiceNumber"/></td>
                    </tr>
                                                
                                        <tr >
                                                <td ><label >Warehouse</label></td>
                                                <td><input type="text" name="warehouseId"/></td>
                    </tr>
                    <tr >
                        <td ><label >Number of items</label></td>
                        <td ><input type="text" name="numItems"/></td>
                    </tr>
                    <tr >
                        <td ><label >Received From</label></td>
                        <td >
                            <select name="receivedFrom">
                                <option value="Manish">Manish</option>
                                <option value="Kunal">Kunal</option>
                                <option value="Supplier-Runner">Supplier-Runner</option>
                            </select>
                        </td>
                    </tr>
                    <tr >
                        <td colspan="2">
                            <input type="submit" value="Receive"/>
                        </td>
                    </tr>
                </table>
            </form>
        </div>
    </body>
</html>