Ignore:
Timestamp:
Nov 23, 2010, 1:53:29 PM (13 years ago)
Author:
gav
Message:

Define inventory item properties and help messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/inventoryItemDetailed/create.gsp

    r616 r716  
    3030                                <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'name','errors')}">
    3131                                    <input type="text" class="description" maxlength="50" id="name" name="name" value="${fieldValue(bean:inventoryItemInstance,field:'name')}"/>
     32                                    <g:helpBalloon class="helpballoon" code="inventory.item.name" />
    3233                                </td>
    3334                            </tr>
     
    3940                                <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'description','errors')}">
    4041                                    <textarea rows="5" cols="40" name="description">${fieldValue(bean:inventoryItemInstance, field:'description')}</textarea>
     42                                    <g:helpBalloon class="helpballoon" code="inventory.item.description" />
    4143                                </td>
    4244                            </tr>
     
    4850                                <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'comment','errors')}">
    4951                                    <textarea rows="5" cols="40" name="comment">${fieldValue(bean:inventoryItemInstance, field:'comment')}</textarea>
     52                                    <g:helpBalloon class="helpballoon" code="inventory.item.comment" />
    5053                                </td>
    5154                            </tr>
     
    6164                                                        optionValue="${{it.name+ ' in ' + it.inventoryStore}}">
    6265                                    </g:select>
     66                                    <g:helpBalloon class="helpballoon" code="inventory.item.inventory.location" />
    6367
    6468                                <p><g:link controller="inventoryLocationDetailed" action="create">+Add Location</g:link></p>
     
    7478                                                    type="text" id="reorderPoint" name="reorderPoint"
    7579                                                    value="${fieldValue(bean:inventoryItemInstance,field:'reorderPoint')}" />
     80                                    <g:helpBalloon class="helpballoon" code="inventory.item.reorder.point" />
    7681                                    <g:select optionKey="id"
    7782                                                        from="${UnitOfMeasure.list()}"
     
    7984                                                        value="${inventoryItemInstance?.unitOfMeasure?.id}" >
    8085                                    </g:select>
     86                                    <g:helpBalloon class="helpballoon" code="inventory.item.unit.of.measure" />
    8187                                </td>
    8288                            </tr>
     
    8894                                <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'enableReorderListing','errors')}">
    8995                                    <g:checkBox name="enableReorderListing" value="${inventoryItemInstance?.enableReorderListing}" ></g:checkBox>
     96                                    <g:helpBalloon class="helpballoon" code="inventory.item.enable.reorder.listing" />
    9097                                </td>
    9198                            </tr>
     
    97104                                <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'inventoryGroup','errors')}">
    98105                                    <g:select optionKey="id" from="${InventoryGroup.list()}" name="inventoryGroup.id" value="${inventoryItemInstance?.inventoryGroup?.id}" ></g:select>
    99 
     106                                    <g:helpBalloon class="helpballoon" code="inventory.item.inventory.group" />
    100107                                <p><g:link controller="inventoryGroupDetailed" action="create">+Add Group</g:link></p>
    101108                                </td>
     
    108115                                <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'inventoryType','errors')}">
    109116                                    <g:select optionKey="id" from="${InventoryType.list()}" name="inventoryType.id" value="${inventoryItemInstance?.inventoryType?.id}" ></g:select>
     117                                    <g:helpBalloon class="helpballoon" code="inventory.item.inventory.type" />
    110118                                </td>
    111119                            </tr>
     
    120128                                                    value="${fieldValue(bean:inventoryItemInstance,field:'averageDeliveryTime')}" />
    121129                                    <g:select optionKey="id" from="${Period.list()}" name="averageDeliveryPeriod.id" value="${inventoryItemInstance?.averageDeliveryPeriod?.id}" noSelection="['null':'--None--']"></g:select>
     130                                    <g:helpBalloon class="helpballoon" code="inventory.item.average.delivery.time" />
    122131                                </td>
    123132                            </tr>
     
    135144                                                                        from="${grailsApplication.config.currencyList}">
    136145                                    </g:currencySelect>
     146                                    <g:helpBalloon class="helpballoon" code="inventory.item.estimated.unit.price.amount" />
    137147                                </td>
    138148                            </tr>
     
    144154                                <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'suppliersPartNumber','errors')}">
    145155                                    <input type="text" id="suppliersPartNumber" name="suppliersPartNumber" value="${fieldValue(bean:inventoryItemInstance,field:'suppliersPartNumber')}"/>
     156                                    <g:helpBalloon class="helpballoon" code="inventory.item.suppliers.part.number" />
    146157                                </td>
    147158                            </tr>
     
    153164                                <td valign="top">
    154165                                    <g:select optionKey="id" from="${suppliers}" name="preferredSupplier.id" value="${inventoryItemInstance.preferredSupplier?.id}" noSelection="['null':'--None--']"></g:select>
    155 
     166                                    <g:helpBalloon class="helpballoon" code="inventory.item.preferred.supplier" />
    156167                                    <p><g:link controller="supplierDetailed" action="create">+Add Supplier</g:link></p>
    157168                                </td>
     
    167178                                                        size="5" multiple="yes" optionKey="id"
    168179                                                        value="${inventoryItemInstance.alternateSuppliers?.id}" noSelection="['':'--None--']"/>
     180                                    <g:helpBalloon class="helpballoon" code="inventory.item.alternate.suppliers" />
    169181                                </td>
    170182                            </tr>
Note: See TracChangeset for help on using the changeset viewer.