Ignore:
Timestamp:
Jun 11, 2010, 2:00:04 PM (15 years ago)
Author:
gav
Message:

Improvements to purchasing, calculate remaining value amounts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/InventoryItemPurchaseDetailedController.groovy

    r595 r596  
    285285        def calcQuantities = inventoryPurchaseService.calcQuantities(inventoryItemPurchaseInstance)
    286286        inventoryItemPurchaseInstance.quantity = calcQuantities.thisOrderRemaining
     287        inventoryItemPurchaseInstance.orderValueAmount = calcQuantities.thisOrderRemainingAmount
    287288        return ['inventoryItemPurchaseInstance':inventoryItemPurchaseInstance,
    288289                        'orderId': inventoryItemPurchaseInstance.id]
Note: See TracChangeset for help on using the changeset viewer.