Ignore:
Timestamp:
Oct 29, 2009, 8:30:58 PM (15 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/inventoryItemDetailed/search.gsp

    r156 r175  
    4040                                <g:sortableColumn property="description" title="Description" params="${filterParams}" />
    4141                       
    42                                 <g:sortableColumn property="enableReorder" title="Enable Reorder" params="${filterParams}" />
    43                        
    44                                 <g:sortableColumn property="isActive" title="Is Active" params="${filterParams}" />
     42                            <g:sortableColumn property="unitsInStock" title="Units In Stock" />
     43                           
     44                            <th>Unit Of Measure</th>
    4545
    4646                            <th></th>
     
    5858                            <td>${fieldValue(bean:inventoryItemInstance, field:'description')}</td>
    5959                       
    60                             <td>${fieldValue(bean:inventoryItemInstance, field:'enableReorder')}</td>
     60                            <td>${fieldValue(bean:inventoryItemInstance, field:'unitsInStock')}</td>
    6161                       
    62                             <td>${fieldValue(bean:inventoryItemInstance, field:'isActive')}</td>
     62                            <td>${fieldValue(bean:inventoryItemInstance, field:'unitOfMeasure')}</td>
    6363
    6464                            <td>
     
    8181                                    action="search"
    8282                                    class="overlayPane"
    83                                     excludeProperties="" />
     83                                    excludeProperties=""
     84                                    associatedProperties="inventoryLocation.name,
     85                                                                            spareFor.name,
     86                                                                            manufacturers.name,
     87                                                                            suppliers.name"
     88                                    filterPropertyValues="${['inventoryLocation.name':[values:InventoryLocation.list()],
     89                                                                                'spareFor.name':[values:Asset.list()],
     90                                                                                'manufacturers.name':[values:Manufacturer.list()],
     91                                                                                'suppliers.name':[values:Supplier.list()],
     92                                                                                ]}"/>
    8493        </div> <!-- end body div -->
    8594    </body>
Note: See TracChangeset for help on using the changeset viewer.