Ignore:
Timestamp:
Apr 21, 2011, 3:29:47 PM (14 years ago)
Author:
gav
Message:

Purchase Order first draft as per ticket #30, by John Yesberg.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/features/purchaseOrders/grails-app/controllers/InventoryItemPurchaseDetailedController.groovy

    r717 r891  
    1111    def dateUtilService
    1212    def inventoryPurchaseService
     13    def purchaseOrderService
    1314
    1415    def index = {
     
    280281        def costCodes = inventoryPurchaseService.getCostCodesByPerson()
    281282
     283        def purchaseOrderNumbers = [purchaseOrderService.findNextUnusedPurchaseOrderNumber()]
     284        purchaseOrderNumbers += purchaseOrderService.findDraftPurchaseOrderNumbers()
     285
    282286        return ['inventoryItemPurchaseInstance': inventoryItemPurchaseInstance,
    283                         'costCodes': costCodes]
     287                        'costCodes': costCodes, purchaseOrderNumbers:purchaseOrderNumbers]
    284288    }
    285289
Note: See TracChangeset for help on using the changeset viewer.