Ignore:
Timestamp:
Nov 2, 2009, 1:17:03 PM (15 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.

Location:
trunk/grails-app/views/inventoryMovementDetailed
Files:
2 edited

Legend:

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

    r175 r177  
    4141                                <td valign="top" class="value ${hasErrors(bean:inventoryMovementInstance,field:'quantity','errors')}">
    4242                                    <input type="text" id="quantity" name="quantity" value="${fieldValue(bean:inventoryMovementInstance,field:'quantity')}"/>
    43                                     ${inventoryMovementInstance.inventoryItem}
    4443                                </td>
    4544                            </tr>
     
    4746                            <tr class="prop">
    4847                                <td valign="top" class="name">
    49                                     <label for="inventoryMovementType">Inventory Movement Type:</label>
     48                                    <label for="inventoryMovementType">Movement Type:</label>
    5049                                </td>
    5150                                <td valign="top" class="value ${hasErrors(bean:inventoryMovementInstance,field:'inventoryMovementType','errors')}">
  • trunk/grails-app/views/inventoryMovementDetailed/show.gsp

    r175 r177  
    1515            <div class="message">${flash.message}</div>
    1616            </g:if>
     17            <g:hasErrors bean="${inventoryMovementInstance}">
     18            <div class="errors">
     19                <g:renderErrors bean="${inventoryMovementInstance}" as="list" />
     20            </div>
     21            </g:hasErrors>
    1722            <div class="dialog">
    1823                <table>
Note: See TracChangeset for help on using the changeset viewer.