Changeset 716


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

Define inventory item properties and help messages.

Location:
trunk/grails-app
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/i18n/messages.properties

    r713 r716  
    224224task.associatedAssets.help=These assets are to be associated with this task, but costs will not be assigned.
    225225
     226# InventoryItem Properties.
     227inventory.item.name=Name
     228inventory.item.name.help=The inventory item's name as known on site. \
     229    Also called the part number but may contain letters and numbers.
     230inventory.item.description=Description
     231inventory.item.description.help=The inventory item description as it would appear on a reorder.
     232inventory.item.comment=Comment
     233inventory.item.comment.help=Additional on site comments.
     234inventory.item.estimated.unit.price.amount=Unit Price
     235inventory.item.estimated.unit.price.amount.help=Estimated reorder price of a single unit.
     236inventory.item.unit.of.measure=Unit Of Measure
     237inventory.item.unit.of.measure.help=The units that this item will be measured in. Set once during creation \
     238    and cannot be changed as changing would invalidate all movement, another item with the correct units must be created.
     239inventory.item.suppliers.part.number=Part Number
     240inventory.item.suppliers.part.number.help=The suppliers part number as it would appear on a reorder.
     241inventory.item.units.in.stock=In Stock
     242inventory.item.units.in.stock.help=Current units in stock.
     243inventory.item.reorder.point=Reorder Point
     244inventory.item.reorder.point.help=Point at which a reorder will be flagged.
     245inventory.item.reorder.quantity=Reorder Quantity
     246inventory.item.reorder.quantity.help=Typical or recommended quantity to reorder. \
     247    Infers the max holding quantity (Reorder Point + Reorder Quantity). \
     248    Often determined by a price break or minimum order quantity.
     249inventory.item.average.delivery.time=Delivery Time
     250inventory.item.average.delivery.time.help=The average or expected delivery time from the supplier to site.
     251inventory.item.is.active=Active
     252inventory.item.is.active.help=Disable to remove from searches.
     253inventory.item.is.obsolete=Obsolete
     254inventory.item.is.obsolete.help=Enabled indicates that item considered obsolete by the supplier.
     255inventory.item.enable.reorder.listing=Reorder Listing
     256inventory.item.enable.reorder.listing.help=Enabled to show item on reorder lists.
     257inventory.item.inventory.location=Location
     258inventory.item.inventory.location.help=The location or bin where this item can be found.
     259inventory.item.inventory.group=Group
     260inventory.item.inventory.group.help=An easy way to group or place items in various piles for planning.
     261inventory.item.inventory.type=Type
     262inventory.item.inventory.type.help=The type of inventory that this item falls into.
     263inventory.item.preferred.supplier=Preferred Supplier
     264inventory.item.preferred.supplier.help=The preferred supplier to purchase this item from. \
     265    Often determined by cost, contract or availability.
     266inventory.item.alternate.suppliers=Alternate Suppliers
     267inventory.item.alternate.suppliers.help=List of alternate suppliers that this item may be purchased from. \
     268    For example when the preferred supplier has no stock.
     269
    226270# InventoryItem Messages.
    227 inventory.item.is.obsolete=This item has been flagged as obsolete.
    228 inventory.item.not.active=This item has been flagged as not active.
     271inventory.item.is.obsolete.message=This item has been flagged as obsolete.
     272inventory.item.not.active.message=This item has been flagged as not active.
    229273inventory.item.reorder.not.allowed=Reorder not allowed.
    230274inventory.item.reorder.listing.disabled=This item has reorder listing disabled and will not appear on reorder lists.
  • 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>
  • trunk/grails-app/views/inventoryItemDetailed/edit.gsp

    r715 r716  
    5050                                                type="text" maxlength="50" id="name" name="name"
    5151                                                value="${fieldValue(bean:inventoryItemInstance,field:'name')}"/>
     52                                    <g:helpBalloon class="helpballoon" code="inventory.item.name" />
    5253                                </td>
    5354                            </tr>
     
    5960                                <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'description','errors')}">
    6061                                    <textarea rows="5" cols="40" name="description">${fieldValue(bean:inventoryItemInstance, field:'description')}</textarea>
     62                                    <g:helpBalloon class="helpballoon" code="inventory.item.description" />
    6163                                </td>
    6264                            </tr>
     
    6870                                <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'comment','errors')}">
    6971                                    <textarea rows="5" cols="40" name="comment">${fieldValue(bean:inventoryItemInstance, field:'comment')}</textarea>
     72                                    <g:helpBalloon class="helpballoon" code="inventory.item.comment" />
    7073                                </td>
    7174                            </tr>
     
    7780                                <td valign="top" class="value">
    7881                                    ${inventoryItemInstance.unitsInStock} ${inventoryItemInstance.unitOfMeasure.encodeAsHTML()}
     82                                    <g:helpBalloon class="helpballoon" code="inventory.item.units.in.stock" />
    7983                                </td>
    8084                            </tr>
     
    9195                                                        optionValue="${{it.name+ ' in ' + it.inventoryStore}}">
    9296                                    </g:select>
     97                                    <g:helpBalloon class="helpballoon" code="inventory.item.inventory.location" />
    9398                                </td>
    9499                            </tr>
     
    100105                                <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'isActive','errors')}">
    101106                                    <g:checkBox name="isActive" value="${inventoryItemInstance?.isActive}" ></g:checkBox>
     107                                    <g:helpBalloon class="helpballoon" code="inventory.item.is.active" />
    102108                                </td>
    103109                            </tr>
     
    111117                                                    type="text" id="reorderPoint" name="reorderPoint"
    112118                                                    value="${fieldValue(bean:inventoryItemInstance,field:'reorderPoint')}" />
    113                                      ${inventoryItemInstance.unitOfMeasure.encodeAsHTML()}
     119                                    ${inventoryItemInstance.unitOfMeasure.encodeAsHTML()}
     120                                    <g:helpBalloon class="helpballoon" code="inventory.item.reorder.point" />
    114121                                </td>
    115122                            </tr>
     
    124131                                                value="${fieldValue(bean:inventoryItemInstance,field:'reorderQuantity')}" />
    125132                                     ${inventoryItemInstance.unitOfMeasure.encodeAsHTML()}
     133                                    <g:helpBalloon class="helpballoon" code="inventory.item.reorder.quantity" />
    126134                                </td>
    127135                            </tr>
     
    133141                                <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'enableReorderListing','errors')}">
    134142                                    <g:checkBox name="enableReorderListing" value="${inventoryItemInstance?.enableReorderListing}" ></g:checkBox>
     143                                    <g:helpBalloon class="helpballoon" code="inventory.item.enable.reorder.listing" />
    135144                                </td>
    136145                            </tr>
     
    142151                                <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'isObsolete','errors')}">
    143152                                    <g:checkBox name="isObsolete" value="${inventoryItemInstance?.isObsolete}" ></g:checkBox>
     153                                    <g:helpBalloon class="helpballoon" code="inventory.item.is.obsolete" />
    144154                                </td>
    145155                            </tr>
     
    157167                                                        noSelection="['null':'--None--']">
    158168                                    </g:select>
     169                                    <g:helpBalloon class="helpballoon" code="inventory.item.average.delivery.time" />
    159170                                </td>
    160171                            </tr>
     
    172183                                                                        from="${grailsApplication.config.currencyList}">
    173184                                    </g:currencySelect>
     185                                    <g:helpBalloon class="helpballoon" code="inventory.item.estimated.unit.price.amount" />
    174186                                </td>
    175187                            </tr>
     
    181193                                <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'suppliersPartNumber','errors')}">
    182194                                    <input type="text" id="suppliersPartNumber" name="suppliersPartNumber" value="${fieldValue(bean:inventoryItemInstance,field:'suppliersPartNumber')}"/>
     195                                    <g:helpBalloon class="helpballoon" code="inventory.item.suppliers.part.number" />
    183196                                </td>
    184197                            </tr>
     
    190203                                <td valign="top">
    191204                                    <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" />
    193206                                    <p><g:link controller="supplierDetailed" action="create">+Add Supplier</g:link></p>
    194207                                </td>
     
    204217                                                        size="5" multiple="yes" optionKey="id"
    205218                                                        value="${inventoryItemInstance.alternateSuppliers?.id}" noSelection="['':'--None--']"/>
     219                                    <g:helpBalloon class="helpballoon" code="inventory.item.alternate.suppliers" />
    206220                                </td>
    207221                            </tr>
     
    271285                                <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'inventoryGroup','errors')}">
    272286                                    <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" />
    273288                                </td>
    274289                            </tr>
     
    280295                                <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'inventoryType','errors')}">
    281296                                    <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" />
    282298                                </td>
    283299                            </tr>
  • trunk/grails-app/views/inventoryItemDetailed/show.gsp

    r715 r716  
    2020                    <ul>
    2121                        <g:if test="${inventoryItemInstance.isObsolete}" >
    22                             <li><g:message code="inventory.item.is.obsolete" /><li>
     22                            <li><g:message code="inventory.item.is.obsolete.message" /><li>
    2323                        </g:if>
    2424                        <g:if test="${!inventoryItemInstance.isActive}" >
    25                             <li><g:message code="inventory.item.not.active" /><li>
     25                            <li><g:message code="inventory.item.not.active.message" /><li>
    2626                        </g:if>
    2727                    </ul>
Note: See TracChangeset for help on using the changeset viewer.