Ignore:
Timestamp:
Apr 21, 2011, 3:29:47 PM (14 years ago)
Author:
gav
Message:

Purchase Order first draft as per ticket #30, by John Yesberg.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/features/purchaseOrders/grails-app/views/inventoryItemPurchaseDetailed/create.gsp

    r633 r891  
    4848                            <tr class="prop">
    4949                                <td valign="top" class="name">
    50                                     <label for="purchaseOrderNumber">Purchase Order #:</label>
     50                                    <label for="purchaseOrderNumber.id">Purchase Order #:</label>
    5151                                </td>
    5252                                <td valign="top" class="value ${hasErrors(bean:inventoryItemPurchaseInstance,field:'purchaseOrderNumber','errors')}">
    53                                     <input type="text" maxlength="50" id="purchaseOrderNumber" name="purchaseOrderNumber" value="${fieldValue(bean:inventoryItemPurchaseInstance,field:'purchaseOrderNumber')}"/>
     53                                  <g:select from="${purchaseOrderNumbers}"
     54                                            optionKey="id"
     55                                            optionValue="description"
     56                                            name="purchaseOrderNumber.id"
     57                                            value="${inventoryItemPurchaseInstance?.purchaseOrder?.purchaseOrderNumber?.id}"
     58                                            noSelection="['null':/${g.message(code:'default.please.select.text')}/]">
     59                                  </g:select>
    5460                                    <g:helpBalloon code="inventoryItemPurchase.purchaseOrderNumber" />
    5561                                </td>
Note: See TracChangeset for help on using the changeset viewer.