Changeset 716 for trunk/grails-app/views/inventoryItemDetailed/edit.gsp
- Timestamp:
- Nov 23, 2010, 1:53:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/inventoryItemDetailed/edit.gsp
r715 r716 50 50 type="text" maxlength="50" id="name" name="name" 51 51 value="${fieldValue(bean:inventoryItemInstance,field:'name')}"/> 52 <g:helpBalloon class="helpballoon" code="inventory.item.name" /> 52 53 </td> 53 54 </tr> … … 59 60 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'description','errors')}"> 60 61 <textarea rows="5" cols="40" name="description">${fieldValue(bean:inventoryItemInstance, field:'description')}</textarea> 62 <g:helpBalloon class="helpballoon" code="inventory.item.description" /> 61 63 </td> 62 64 </tr> … … 68 70 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'comment','errors')}"> 69 71 <textarea rows="5" cols="40" name="comment">${fieldValue(bean:inventoryItemInstance, field:'comment')}</textarea> 72 <g:helpBalloon class="helpballoon" code="inventory.item.comment" /> 70 73 </td> 71 74 </tr> … … 77 80 <td valign="top" class="value"> 78 81 ${inventoryItemInstance.unitsInStock} ${inventoryItemInstance.unitOfMeasure.encodeAsHTML()} 82 <g:helpBalloon class="helpballoon" code="inventory.item.units.in.stock" /> 79 83 </td> 80 84 </tr> … … 91 95 optionValue="${{it.name+ ' in ' + it.inventoryStore}}"> 92 96 </g:select> 97 <g:helpBalloon class="helpballoon" code="inventory.item.inventory.location" /> 93 98 </td> 94 99 </tr> … … 100 105 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'isActive','errors')}"> 101 106 <g:checkBox name="isActive" value="${inventoryItemInstance?.isActive}" ></g:checkBox> 107 <g:helpBalloon class="helpballoon" code="inventory.item.is.active" /> 102 108 </td> 103 109 </tr> … … 111 117 type="text" id="reorderPoint" name="reorderPoint" 112 118 value="${fieldValue(bean:inventoryItemInstance,field:'reorderPoint')}" /> 113 ${inventoryItemInstance.unitOfMeasure.encodeAsHTML()} 119 ${inventoryItemInstance.unitOfMeasure.encodeAsHTML()} 120 <g:helpBalloon class="helpballoon" code="inventory.item.reorder.point" /> 114 121 </td> 115 122 </tr> … … 124 131 value="${fieldValue(bean:inventoryItemInstance,field:'reorderQuantity')}" /> 125 132 ${inventoryItemInstance.unitOfMeasure.encodeAsHTML()} 133 <g:helpBalloon class="helpballoon" code="inventory.item.reorder.quantity" /> 126 134 </td> 127 135 </tr> … … 133 141 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'enableReorderListing','errors')}"> 134 142 <g:checkBox name="enableReorderListing" value="${inventoryItemInstance?.enableReorderListing}" ></g:checkBox> 143 <g:helpBalloon class="helpballoon" code="inventory.item.enable.reorder.listing" /> 135 144 </td> 136 145 </tr> … … 142 151 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'isObsolete','errors')}"> 143 152 <g:checkBox name="isObsolete" value="${inventoryItemInstance?.isObsolete}" ></g:checkBox> 153 <g:helpBalloon class="helpballoon" code="inventory.item.is.obsolete" /> 144 154 </td> 145 155 </tr> … … 157 167 noSelection="['null':'--None--']"> 158 168 </g:select> 169 <g:helpBalloon class="helpballoon" code="inventory.item.average.delivery.time" /> 159 170 </td> 160 171 </tr> … … 172 183 from="${grailsApplication.config.currencyList}"> 173 184 </g:currencySelect> 185 <g:helpBalloon class="helpballoon" code="inventory.item.estimated.unit.price.amount" /> 174 186 </td> 175 187 </tr> … … 181 193 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'suppliersPartNumber','errors')}"> 182 194 <input type="text" id="suppliersPartNumber" name="suppliersPartNumber" value="${fieldValue(bean:inventoryItemInstance,field:'suppliersPartNumber')}"/> 195 <g:helpBalloon class="helpballoon" code="inventory.item.suppliers.part.number" /> 183 196 </td> 184 197 </tr> … … 190 203 <td valign="top"> 191 204 <g:select optionKey="id" from="${suppliers}" name="preferredSupplier.id" value="${inventoryItemInstance.preferredSupplier?.id}" noSelection="['null':'--None--']"></g:select> 192 205 <g:helpBalloon class="helpballoon" code="inventory.item.preferred.supplier" /> 193 206 <p><g:link controller="supplierDetailed" action="create">+Add Supplier</g:link></p> 194 207 </td> … … 204 217 size="5" multiple="yes" optionKey="id" 205 218 value="${inventoryItemInstance.alternateSuppliers?.id}" noSelection="['':'--None--']"/> 219 <g:helpBalloon class="helpballoon" code="inventory.item.alternate.suppliers" /> 206 220 </td> 207 221 </tr> … … 271 285 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'inventoryGroup','errors')}"> 272 286 <g:select optionKey="id" from="${InventoryGroup.list()}" name="inventoryGroup.id" value="${inventoryItemInstance?.inventoryGroup?.id}" ></g:select> 287 <g:helpBalloon class="helpballoon" code="inventory.item.inventory.group" /> 273 288 </td> 274 289 </tr> … … 280 295 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'inventoryType','errors')}"> 281 296 <g:select optionKey="id" from="${InventoryType.list()}" name="inventoryType.id" value="${inventoryItemInstance?.inventoryType?.id}" ></g:select> 297 <g:helpBalloon class="helpballoon" code="inventory.item.inventory.type" /> 282 298 </td> 283 299 </tr>
Note: See TracChangeset
for help on using the changeset viewer.