Subversion Repositories SmartDukaan

Rev

Rev 5185 | Rev 10489 | 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="/inventory/css/demo_table.css" type="text/css" />
        <link rel="stylesheet" href="/inventory/css/demo_table_jui.css" type="text/css" />
        <link rel="stylesheet" href="/inventory/css/demo_page.css" type="text/css" />        
        <title>
            DOA OUT Items awaiting replacement
        </title>
        <script type="text/javascript" src="/inventory/js/jquery-1.4.2.js"></script>
        <script type="text/javascript" src="/inventory/js/jquery.dataTables.min.js"></script>
        <script type="text/javascript" src="/inventory/js/doa.js"></script>
        <link rel="stylesheet" href="/inventory/css/common.css" type="text/css" />
    </head>
    <body>
        <div >
            <a href="/inventory">Go to Home page</a>
            <br />
            <label >DOA OUT for replacement items</label>
            <br />
            <table id="doa-items" border="1">
                <thead >
                    <tr >
                        <th >WarehouseId</th>
                        <th >Warehouse</th>
                        <th >ItemId</th>
                        <th >Product</th>
                        <th >Serial Number</th>
                        <th >Purchase Order</th>
                        <th ></th>
                    </tr>
                </thead>
                <tbody >
                    #foreach($inventoryItem in $action.getInventoryItems())
                        <tr >
                            <td >$inventoryItem.getCurrentWarehouseId()</td>
                            <td >$action.getWarehouseDisplayName($inventoryItem.getCurrentWarehouseId())</td>
                            <td >$inventoryItem.getItemId()</td>
                            <td >$action.getModelName($inventoryItem.getItemId())</td>
                            <td >$inventoryItem.getSerialNumber()</td>
                            <td >$action.getPONumber($inventoryItem.getPurchaseId())</td>
                            <td >
                                <form id="doa-out" inventoryItemId="$inventoryItem.getId()">
                                    <div >
                                        <input type="hidden" name="id" value="$inventoryItem.getId()"/>
                                        <input type="submit" value="Open PO for retrieval"/>
                                    </div>
                                </form>
                            </td>
                        </tr>
                    #end
                </tbody>
            </table>
        </div>
    </body>
</html>