Ignore:
Timestamp:
Oct 29, 2009, 8:30:58 PM (14 years ago)
Author:
gav
Message:

Substantial refactor of the Inventory domain.
InventoryItems can now be added to tasks, no quantity adjustments done yet.
Removed StoredItem and with it the ability to store an inventoryItem in multiple places, just too complex right now.
Svn move StoreLocation to InventoryLocation.

File:
1 edited

Legend:

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

    r151 r175  
    4545                   
    4646                        <tr class="prop">
     47                            <td valign="top" class="name">Inventory Locations:</td>
     48                           
     49                            <td  valign="top" style="text-align:left;" class="value">
     50                                <ul>
     51                                <g:each var="i" in="${inventoryStoreInstance.inventoryLocations}">
     52                                    <li><g:link controller="inventoryLocation" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li>
     53                                </g:each>
     54                                </ul>
     55                            </td>
     56                           
     57                        </tr>
     58                   
     59                        <tr class="prop">
    4760                            <td valign="top" class="name">Is Active:</td>
    4861                           
     
    5568                           
    5669                            <td valign="top" class="value"><g:link controller="site" action="show" id="${inventoryStoreInstance?.site?.id}">${inventoryStoreInstance?.site?.encodeAsHTML()}</g:link></td>
    57                            
    58                         </tr>
    59                    
    60                         <tr class="prop">
    61                             <td valign="top" class="name">Store Locations:</td>
    62                            
    63                             <td  valign="top" style="text-align:left;" class="value">
    64                                 <ul>
    65                                 <g:each var="s" in="${inventoryStoreInstance.storeLocations}">
    66                                     <li><g:link controller="storeLocation" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
    67                                 </g:each>
    68                                 </ul>
    69                             </td>
    7070                           
    7171                        </tr>
Note: See TracChangeset for help on using the changeset viewer.