Ignore:
Timestamp:
Jul 19, 2010, 8:47:38 AM (14 years ago)
Author:
gav
Message:

Domain change: Add PurchasingGroup?.
Logic and views to suite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/costCodeDetailed/show.gsp

    r441 r633  
    3434                   
    3535                        <tr class="prop">
     36                            <td valign="top" class="name">Purchasing Group:</td>
     37                            <td valign="top" class="value">
     38                                <g:link controller="purchasingGroupDetailed" action="show" id="${costCodeInstance?.purchasingGroup?.id}">
     39                                    ${costCodeInstance?.purchasingGroup?.encodeAsHTML()}
     40                                </g:link>
     41                            </td>
     42                        </tr>
     43                   
     44                        <tr class="prop">
    3645                            <td valign="top" class="name">Description:</td>
    3746                           
     
    4453                           
    4554                            <td valign="top" class="value">${fieldValue(bean:costCodeInstance, field:'isActive')}</td>
    46                            
    47                         </tr>
    48                    
    49                         <tr class="prop">
    50                             <td valign="top" class="name">Inventory Item Purchases:</td>
    51                            
    52                             <td  valign="top" style="text-align:left;" class="value">
    53                                 <ul>
    54                                 <g:each var="i" in="${costCodeInstance.inventoryItemPurchases}">
    55                                     <li><g:link controller="inventoryItemPurchaseDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li>
    56                                 </g:each>
    57                                 </ul>
    58                             </td>
    5955                           
    6056                        </tr>
Note: See TracChangeset for help on using the changeset viewer.