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.

Location:
trunk/grails-app/views/inventoryLocation
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/inventoryLocation/list.gsp

    r151 r175  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>StoreLocation List</title>
     7        <title>InventoryLocation List</title>
    88    </head>
    99    <body>
    1010        <div class="nav">
    1111            <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
    12             <span class="menuButton"><g:link class="create" action="create">New StoreLocation</g:link></span>
     12            <span class="menuButton"><g:link class="create" action="create">New InventoryLocation</g:link></span>
    1313        </div>
    1414        <div class="body">
    15             <h1>StoreLocation List</h1>
     15            <h1>InventoryLocation List</h1>
    1616            <g:if test="${flash.message}">
    1717            <div class="message">${flash.message}</div>
     
    2424                                <g:sortableColumn property="id" title="Id" />
    2525                       
    26                                 <g:sortableColumn property="bin" title="Bin" />
     26                                <g:sortableColumn property="name" title="Name" />
    2727                       
    2828                                <th>Inventory Store</th>
     
    3333                    </thead>
    3434                    <tbody>
    35                     <g:each in="${storeLocationInstanceList}" status="i" var="storeLocationInstance">
     35                    <g:each in="${inventoryLocationInstanceList}" status="i" var="inventoryLocationInstance">
    3636                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
    3737                       
    38                             <td><g:link action="show" id="${storeLocationInstance.id}">${fieldValue(bean:storeLocationInstance, field:'id')}</g:link></td>
     38                            <td><g:link action="show" id="${inventoryLocationInstance.id}">${fieldValue(bean:inventoryLocationInstance, field:'id')}</g:link></td>
    3939                       
    40                             <td>${fieldValue(bean:storeLocationInstance, field:'bin')}</td>
     40                            <td>${fieldValue(bean:inventoryLocationInstance, field:'name')}</td>
    4141                       
    42                             <td>${fieldValue(bean:storeLocationInstance, field:'inventoryStore')}</td>
     42                            <td>${fieldValue(bean:inventoryLocationInstance, field:'inventoryStore')}</td>
    4343                       
    44                             <td>${fieldValue(bean:storeLocationInstance, field:'isActive')}</td>
     44                            <td>${fieldValue(bean:inventoryLocationInstance, field:'isActive')}</td>
    4545                       
    4646                        </tr>
     
    5050            </div>
    5151            <div class="paginateButtons">
    52                 <g:paginate total="${storeLocationInstanceTotal}" />
     52                <g:paginate total="${inventoryLocationInstanceTotal}" />
    5353            </div>
    5454        </div>
Note: See TracChangeset for help on using the changeset viewer.