Ignore:
Timestamp:
Nov 2, 2009, 1:17:03 PM (14 years ago)
Author:
gav
Message:

Inventory movement quantity adjustments now done in a service.
InventoryMovementType now has an incrementsInventory flag, so not dependant on the text name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/inventoryMovementType/create.gsp

    r151 r177  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>Create InventoryMovementType</title>         
     7        <title>Create InventoryMovementType</title>
    88    </head>
    99    <body>
    1010        <div class="nav">
    11             <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
    1211            <span class="menuButton"><g:link class="list" action="list">InventoryMovementType List</g:link></span>
    1312        </div>
     
    3332                                <td valign="top" class="value ${hasErrors(bean:inventoryMovementTypeInstance,field:'description','errors')}">
    3433                                    <input type="text" id="description" name="description" value="${fieldValue(bean:inventoryMovementTypeInstance,field:'description')}"/>
     34                                </td>
     35                            </tr>
     36                       
     37                            <tr class="prop">
     38                                <td valign="top" class="name">
     39                                    <label for="incrementsInventory">Increments Inventory:</label>
     40                                </td>
     41                                <td valign="top" class="value ${hasErrors(bean:inventoryMovementTypeInstance,field:'incrementsInventory','errors')}">
     42                                    <g:checkBox name="incrementsInventory" value="${inventoryMovementTypeInstance?.incrementsInventory}" ></g:checkBox>
    3543                                </td>
    3644                            </tr>
Note: See TracChangeset for help on using the changeset viewer.