source: trunk/grails-app/views/inventoryLocationDetailed/show.gsp

Last change on this file was 377, checked in by gav, 14 years ago

Svn move InventoryLocation and InventoryStore controllers and views to detailed and complete detailing.

File size: 3.3 KB
RevLine 
[125]1
2
3<html>
4    <head>
5        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6        <meta name="layout" content="main" />
[175]7        <title>Show InventoryLocation</title>
[377]8        <nav:resources override="true"/>
[125]9    </head>
10    <body>
11        <div class="nav">
[377]12            <nav:renderSubItems group="navAlt"/>
[125]13        </div>
14        <div class="body">
15            <g:if test="${flash.message}">
16            <div class="message">${flash.message}</div>
17            </g:if>
18            <div class="dialog">
19                <table>
20                    <tbody>
21
22                   
23                        <tr class="prop">
24                            <td valign="top" class="name">Id:</td>
25                           
[175]26                            <td valign="top" class="value">${fieldValue(bean:inventoryLocationInstance, field:'id')}</td>
[125]27                           
28                        </tr>
29                   
30                        <tr class="prop">
[175]31                            <td valign="top" class="name">Name:</td>
[125]32                           
[175]33                            <td valign="top" class="value">${fieldValue(bean:inventoryLocationInstance, field:'name')}</td>
[125]34                           
35                        </tr>
36                   
37                        <tr class="prop">
[377]38                            <td valign="top" class="name">Inventory Store:</td>
[125]39                           
[377]40                            <td valign="top" class="value"><g:link controller="inventoryStoreDetailed" action="show" id="${inventoryLocationInstance?.inventoryStore?.id}">${inventoryLocationInstance?.inventoryStore?.encodeAsHTML()}</g:link></td>
[125]41                           
42                        </tr>
43                   
44                        <tr class="prop">
[377]45                            <td valign="top" class="name">Is Active:</td>
[125]46                           
[377]47                            <td valign="top" class="value">${fieldValue(bean:inventoryLocationInstance, field:'isActive')}</td>
[125]48                           
49                        </tr>
50                   
51                        <tr class="prop">
[377]52                            <td valign="top" class="name">Inventory Items:</td>
[125]53                           
[377]54                            <td  valign="top" style="text-align:left;" class="value">
55                                <ul>
56                                <g:each var="i" in="${inventoryLocationInstance.inventoryItems}">
57                                    <li><g:link controller="inventoryItemDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li>
58                                </g:each>
59                                </ul>
60                            </td>
[125]61                           
62                        </tr>
63                   
64                    </tbody>
65                </table>
66            </div>
67            <div class="buttons">
68                <g:form>
[175]69                    <input type="hidden" name="id" value="${inventoryLocationInstance?.id}" />
[125]70                    <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
71                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
72                </g:form>
73            </div>
74        </div>
75    </body>
76</html>
Note: See TracBrowser for help on using the repository browser.