Ignore:
Timestamp:
Dec 4, 2009, 2:08:20 PM (10 years ago)
Author:
gav
Message:

Record person performing the inventory movement as per ticket #24.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/InventoryMovementService.groovy

    r191 r217  
    22
    33    boolean transactional = false
     4
     5    def personService
    46
    57    def reverseMove(params) {
     
    6668            result.inventoryMovementInstance = new InventoryMovement(params)
    6769
     70            result.inventoryMovementInstance.person = personService.currentUser
     71
    6872            if(result.inventoryMovementInstance.validate()) {
    6973                def inventoryItem = InventoryItem.lock(result.inventoryMovementInstance.inventoryItem.id)
Note: See TracChangeset for help on using the changeset viewer.