Changeset 967 for trunk


Ignore:
Timestamp:
Jul 23, 2012, 2:00:40 PM (12 years ago)
Author:
gav
Message:

Arrange and add some fields to the InventoryItem Reorder page export function.

File:
1 edited

Legend:

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

    r913 r967  
    658658            response.contentType = ConfigurationHolder.config.grails.mime.types[params.format]
    659659            response.setHeader("Content-disposition", "attachment; filename=Inventory.${params.extension}")
    660             List fields = ["name",
     660            List fields = ["reorderQuantity",
     661                                "unitOfMeasure",
    661662                                "description",
    662                                 "inventoryGroup",
     663                                "name",
     664                                "estimatedUnitPriceAmount",
     665                                "estimatedUnitPriceCurrency",
    663666                                "unitsInStock",
    664667                                "reorderPoint",
    665668                                "unitOfMeasure",
     669                                "inventoryGroup",
    666670                                "inventoryLocation",
    667671                                "inventoryLocation.inventoryStore"]
    668             Map labels = ["name": "Name",
     672            Map labels = ["reorderQuantity": "Reorder Quantity",
     673                                "unitOfMeasure": "UOM",
    669674                                "description": "Description",
    670                                 "inventoryGroup": "Group",
     675                                "name": "Name",
     676                                "estimatedUnitPriceAmount": "Estimated Unit Price",
     677                                "estimatedUnitPriceCurrency": "Currency",
    671678                                "unitsInStock":"In Stock",
    672679                                "reorderPoint":"Reorder Point",
    673                                 "unitOfMeasure": "UOM",
     680                                "inventoryGroup": "Group",
    674681                                "inventoryLocation": "Location",
    675682                                "inventoryLocation.inventoryStore": "Store"]
Note: See TracChangeset for help on using the changeset viewer.