Ignore:
Timestamp:
Nov 19, 2009, 9:16:21 PM (15 years ago)
Author:
gav
Message:

Improve entry creation so that entryType is passed in with the associated submitButton.
Refactor InventoryMovementService and prevent create/delete of invenotryMovements on complete task.

File:
1 edited

Legend:

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

    r177 r191  
    5959                                    </td>
    6060                                    <td valign="top" name="inventoryMovementInstance.task" class="value">
    61                                         <input type="hidden" id="task.id" name="task.id" value="${inventoryMovementInstance.task.id}" />
    62                                         ${inventoryMovementInstance.task}
     61                                        <g:hiddenField name="task.id" value="${inventoryMovementInstance.task.id}" />
     62                                        <g:link controller="taskDetailed" action="show" id="${inventoryMovementInstance.task.id}" >
     63                                            ${inventoryMovementInstance.task}
     64                                        </g:link>
    6365                                    </td>
    6466                                </tr>
Note: See TracChangeset for help on using the changeset viewer.