Changeset 600 for trunk/grails-app/services
- Timestamp:
- Jun 18, 2010, 4:58:19 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/InventoryPurchaseService.groovy
r597 r600 233 233 234 234 result.inventoryItemPurchaseInstance.properties = params 235 result.inventoryItemPurchaseInstance.purchaseOrderNumber = result.inventoryItemPurchaseInstance.purchaseOrderNumber.trim() 235 236 236 237 if(result.inventoryItemPurchaseInstance.hasErrors() || !result.inventoryItemPurchaseInstance.save()) … … 255 256 256 257 result.inventoryItemPurchaseInstance = new InventoryItemPurchase(params) 258 result.inventoryItemPurchaseInstance.purchaseOrderNumber = result.inventoryItemPurchaseInstance.purchaseOrderNumber.trim() 257 259 result.inventoryItemPurchaseInstance.enteredBy = authService.currentUser 258 260 result.inventoryItemPurchaseInstance.inventoryItemPurchaseType = InventoryItemPurchaseType.read(1) // Order
Note: See TracChangeset
for help on using the changeset viewer.