- Timestamp:
- Jul 19, 2012, 5:52:36 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/InventoryItemPurchaseDetailedController.groovy
r965 r966 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 = ["quantity", "inventoryItem.description", "inventoryItem.name", "orderValueAmount", 157 "orderValueCurrency", "purchaseOrderNumber", "date", "costCode", "invoiceNumber", 158 "inventoryItemPurchaseType"] 159 Map labels = ["quantity": "Quantity", "inventoryItem.description": "Description", 160 "inventoryItem.name": "Name", "orderValueAmount": "Order Value", 156 List fields = ["quantity", 157 "inventoryItem.unitOfMeasure", 158 "inventoryItem.description", 159 "inventoryItem.name", 160 "orderValueAmount", 161 "orderValueCurrency", 162 "purchaseOrderNumber", 163 "date", 164 "costCode", 165 "invoiceNumber", 166 "inventoryItemPurchaseType"] 167 Map labels = ["quantity": "Quantity", 168 "inventoryItem.unitOfMeasure": "UOM", 169 "inventoryItem.description": "Description", 170 "inventoryItem.name": "Name", 171 "orderValueAmount": "Order Value", 161 172 "orderValueCurrency": "Currency", 162 "purchaseOrderNumber": "P/Order Number", "date": "Date", "costCode": "Cost Code", 173 "purchaseOrderNumber": "P/Order Number", 174 "date": "Date", 175 "costCode": "Cost Code", 163 176 "invoiceNumber": "Invoice Number", 164 177 "inventoryItemPurchaseType": "Type"]
Note: See TracChangeset
for help on using the changeset viewer.