Changeset 965 for trunk/grails-app
- Timestamp:
- Jul 19, 2012, 5:10:21 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/InventoryItemPurchaseDetailedController.groovy
r913 r965 154 154 response.contentType = ConfigurationHolder.config.grails.mime.types[params.format] 155 155 response.setHeader("Content-disposition", "attachment; filename=Purchases.${params.extension}") 156 List fields = ["purchaseOrderNumber", "date", "costCode", "quantity", "orderValueAmount", "invoiceNumber", 156 List fields = ["quantity", "inventoryItem.description", "inventoryItem.name", "orderValueAmount", 157 "orderValueCurrency", "purchaseOrderNumber", "date", "costCode", "invoiceNumber", 157 158 "inventoryItemPurchaseType"] 158 Map labels = ["purchaseOrderNumber": "Order Number", "date": "Date", "costCode": "Cost Code", 159 "quantity": "Quantity", "orderValueAmount": "Order \$", "invoiceNumber": "Invoice Number", 160 "inventoryItemPurchaseType": "Type"] 159 Map labels = ["quantity": "Quantity", "inventoryItem.description": "Description", 160 "inventoryItem.name": "Name", "orderValueAmount": "Order Value", 161 "orderValueCurrency": "Currency", 162 "purchaseOrderNumber": "P/Order Number", "date": "Date", "costCode": "Cost Code", 163 "invoiceNumber": "Invoice Number", 164 "inventoryItemPurchaseType": "Type"] 161 165 Map formatters = [ date: dateFmt] 162 166 Map parameters = [title: title, separator: ","]
Note: See TracChangeset
for help on using the changeset viewer.