Changeset 405 for trunk/grails-app/views
- Timestamp:
- Feb 23, 2010, 10:14:19 PM (15 years ago)
- Location:
- trunk/grails-app/views/inventoryItemDetailed
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/inventoryItemDetailed/create.gsp
r392 r405 13 13 </div> 14 14 <div class="body"> 15 <g:if test="${flash.message}"> 16 <div class="message">${flash.message}</div> 17 </g:if> 15 <g:render template="/shared/messages" /> 18 16 <g:hasErrors bean="${inventoryItemInstance}"> 19 17 <div class="errors"> … … 118 116 <tr class="prop"> 119 117 <td valign="top" class="name"> 118 <label for="averageDeliveryTime">Estimated Unit Price:</label> 119 </td> 120 <td valign="top"> 121 <input class="medium ${hasErrors(bean:inventoryItemInstance,field:'estimatedUnitPriceAmount','errors')}" 122 type="text" id="estimatedUnitPriceAmount" name="estimatedUnitPriceAmount" 123 value="${fieldValue(bean:inventoryItemInstance,field:'estimatedUnitPriceAmount')}" /> 124 <g:currencySelect name="estimatedUnitPriceCurrency" 125 value="${inventoryItemInstance.estimatedUnitPriceCurrency}" /> 126 </td> 127 </tr> 128 129 <tr class="prop"> 130 <td valign="top" class="name"> 120 131 <label for="suppliersPartNumber">Suppliers Part Number:</label> 121 132 </td> -
trunk/grails-app/views/inventoryItemDetailed/edit.gsp
r392 r405 14 14 </div> 15 15 <div class="body"> 16 <g:if test="${flash.message}"> 17 <div class="message">${flash.message}</div> 18 </g:if> 16 <g:render template="/shared/messages" /> 19 17 <g:hasErrors bean="${inventoryItemInstance}"> 20 18 <div class="errors"> … … 152 150 noSelection="['null':'--None--']"> 153 151 </g:select> 152 </td> 153 </tr> 154 155 <tr class="prop"> 156 <td valign="top" class="name"> 157 <label for="averageDeliveryTime">Estimated Unit Price:</label> 158 </td> 159 <td valign="top"> 160 <input class="medium ${hasErrors(bean:inventoryItemInstance,field:'estimatedUnitPriceAmount','errors')}" 161 type="text" id="estimatedUnitPriceAmount" name="estimatedUnitPriceAmount" 162 value="${inventoryItemInstance.estimatedUnitPriceAmount}" /> 163 <g:currencySelect name="estimatedUnitPriceCurrency" 164 value="${inventoryItemInstance.estimatedUnitPriceCurrency}" /> 154 165 </td> 155 166 </tr> -
trunk/grails-app/views/inventoryItemDetailed/search.gsp
r392 r405 16 16 </div> 17 17 <div class="body"> 18 <g:if test="${flash.message}"> 19 <div class="message">${flash.message}</div> 20 </g:if> 18 <g:render template="/shared/messages" /> 21 19 <filterpane:currentCriteria domainBean="InventoryItem" 22 20 action="search" -
trunk/grails-app/views/inventoryItemDetailed/show.gsp
r392 r405 15 15 </div> 16 16 <div class="body"> 17 <g:render template="/shared/messages" /> 17 18 <g:hasErrors bean="${inventoryMovementInstance}"> 18 <div class="errors">19 <g:renderErrors bean="${inventoryMovementInstance}" as="list" />20 </div>19 <div class="errors"> 20 <g:renderErrors bean="${inventoryMovementInstance}" as="list" /> 21 </div> 21 22 </g:hasErrors> 22 <g:if test="${flash.message}">23 <div class="message">${flash.message}</div>24 </g:if>25 23 26 24 <g:hasErrors bean="${inventoryItemInstance}"> 27 <div class="errors">28 <g:renderErrors bean="${inventoryItemInstance}" as="list" />29 </div>25 <div class="errors"> 26 <g:renderErrors bean="${inventoryItemInstance}" as="list" /> 27 </div> 30 28 </g:hasErrors> 31 29 … … 223 221 <td valign="top" class="name">Recommended Reorder Point:</td> 224 222 <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'recommendedReorderPoint')}</td> 223 </tr> 224 225 <tr class="prop"> 226 <td valign="top" class="name">Estimated Unit Price:</td> 227 228 <td valign="top" class="value"> 229 <g:if test="${inventoryItemInstance.estimatedUnitPriceAmount}"> 230 ${inventoryItemInstance.estimatedUnitPriceAmount.encodeAsHTML()} 231 ${inventoryItemInstance.estimatedUnitPriceCurrency.encodeAsHTML()} 232 </g:if> 233 </td> 225 234 </tr> 226 235
Note: See TracChangeset
for help on using the changeset viewer.