Changeset 600 for trunk/grails-app
- Timestamp:
- Jun 18, 2010, 4:58:19 PM (15 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 3 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 -
trunk/grails-app/views/inventoryItemPurchaseDetailed/edit.gsp
r581 r600 86 86 </tr> 87 87 88 <g:if test="${inventoryItemPurchaseInstance?.inventoryItemPurchaseType?.id == 1}">88 <g:if test="${inventoryItemPurchaseInstance?.inventoryItemPurchaseType?.id > 0}"> 89 89 <tr class="prop"> 90 90 <td valign="top" class="name"> -
trunk/grails-app/views/inventoryItemPurchaseDetailed/receive.gsp
r595 r600 37 37 ${inventoryItemPurchaseInstance.inventoryItem.encodeAsHTML()} 38 38 </g:link> 39 <br /> 40 Description: ${inventoryItemPurchaseInstance.inventoryItem.description.encodeAsHTML()} 41 <br /> 42 Location: ${inventoryItemPurchaseInstance.inventoryItem.inventoryLocation.encodeAsHTML()} 43 <br /> 44 Suppliers Part Number: ${inventoryItemPurchaseInstance.inventoryItem.suppliersPartNumber.encodeAsHTML()} 39 45 </td> 40 46 </tr>
Note: See TracChangeset
for help on using the changeset viewer.