- Timestamp:
- Nov 23, 2010, 8:18:01 AM (14 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/InventoryItem.groovy
r616 r715 17 17 Integer unitsInStock = 0 18 18 Integer reorderPoint 19 Integer re commendedReorderPoint19 Integer reorderQuantity 20 20 Integer averageDeliveryTime 21 21 boolean isActive = true … … 46 46 reorderPoint() 47 47 enableReorderListing() 48 re commendedReorderPoint(nullable:true)48 reorderQuantity(nullable:true) 49 49 isActive() 50 50 isObsolete() -
trunk/grails-app/services/InventoryCsvService.groovy
r616 r715 54 54 def maxNumberOfColumns = 25 55 55 def inventoryParams = [:] 56 def inventoryProperties = ["name", "description", "comment", "unitsInStock", "reorderPoint", "re commendedReorderPoint",56 def inventoryProperties = ["name", "description", "comment", "unitsInStock", "reorderPoint", "reorderQuantity", 57 57 "unitOfMeasure", "estimatedUnitPriceAmount", "estimatedUnitPriceCurrency", 58 58 "enableReorderListing", "inventoryLocation", "inventoryStore", "site", … … 574 574 row.add(inventoryItem.unitsInStock) 575 575 row.add(inventoryItem.reorderPoint) 576 row.add(inventoryItem.re commendedReorderPoint)576 row.add(inventoryItem.reorderQuantity) 577 577 row.add(inventoryItem.unitOfMeasure) 578 578 row.add(inventoryItem.estimatedUnitPriceAmount) … … 825 825 826 826 private getTemplateHeaderLine1() { 827 ["Name*", "Description", "Comment", "Units In Stock", "Reorder Point*", "Re commended Reorder Point", "Unit Of Measure*",827 ["Name*", "Description", "Comment", "Units In Stock", "Reorder Point*", "Reorder Quantity", "Unit Of Measure*", 828 828 "Estimated Unit Price", "Currency", "Enable Reorder", "Location*", "Store*", "Site*", "Group*", "Type*", 829 829 "Average Delivery Time", "Average Delivery Period", "Supplier's Part Number", "Preferred Supplier", "Alternate Suppliers", -
trunk/grails-app/views/inventoryItemDetailed/edit.gsp
r616 r715 117 117 <tr class="prop"> 118 118 <td valign="top" class="name"> 119 <label for="re commendedReorderPoint">Recommended Reorder Point:</label>120 </td> 121 <td valign="top"> 122 <input class="medium ${hasErrors(bean:inventoryItemInstance,field:'re commendedReorderPoint','errors')}"123 type="text" id="re commendedReorderPoint" name="recommendedReorderPoint"124 value="${fieldValue(bean:inventoryItemInstance,field:'re commendedReorderPoint')}" />119 <label for="reorderQuantity">Reorder Quantity:</label> 120 </td> 121 <td valign="top"> 122 <input class="medium ${hasErrors(bean:inventoryItemInstance,field:'reorderQuantity','errors')}" 123 type="text" id="reorderQuantity" name="reorderQuantity" 124 value="${fieldValue(bean:inventoryItemInstance,field:'reorderQuantity')}" /> 125 125 ${inventoryItemInstance.unitOfMeasure.encodeAsHTML()} 126 126 </td> -
trunk/grails-app/views/inventoryItemDetailed/show.gsp
r619 r715 257 257 258 258 <tr class="prop"> 259 <td valign="top" class="name">Re commended Reorder Point:</td>260 <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'re commendedReorderPoint')}</td>259 <td valign="top" class="name">Reorder Quantity:</td> 260 <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'reorderQuantity')}</td> 261 261 </tr> 262 262
Note: See TracChangeset
for help on using the changeset viewer.