Ignore:
Timestamp:
Jul 19, 2012, 1:35:38 PM (12 years ago)
Author:
gav
Message:

Fix for ticket #105 - InventoryItemPurchase?'s can't be deleted when order quantity = 0 and allows the order to be deleted.

File:
1 edited

Legend:

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

    r631 r964  
    99        InventoryMovement.withTransaction { status ->
    1010            def result = [:]
     11            params =  params ?: [:]
    1112
    1213            def fail = { Map m ->
     
    2021            result.inventoryMovementInstance = InventoryMovement.lock(params.id)
    2122
    22              if(!result.inventoryMovementInstance)
     23            if(!result.inventoryMovementInstance)
    2324                fail(code:"default.not.found")
    2425
Note: See TracChangeset for help on using the changeset viewer.