source: trunk/grails-app/views/inventoryMovementDetailed/show.gsp @ 175

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

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 size: 3.3 KB
Line 
1
2
3<html>
4    <head>
5        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6        <meta name="layout" content="main" />
7        <title>Show InventoryMovement</title>
8    </head>
9    <body>
10        <div class="nav">
11            <h1>Show Inventory Movement</h1>
12        </div>
13        <div class="body">
14            <g:if test="${flash.message}">
15            <div class="message">${flash.message}</div>
16            </g:if>
17            <div class="dialog">
18                <table>
19                    <tbody>
20
21                   
22                        <tr class="prop">
23                            <td valign="top" class="name">Id:</td>
24                           
25                            <td valign="top" class="value">${fieldValue(bean:inventoryMovementInstance, field:'id')}</td>
26                           
27                        </tr>
28                   
29                        <tr class="prop">
30                            <td valign="top" class="name">Inventory Item:</td>
31                           
32                            <td valign="top" class="value"><g:link controller="inventoryItemDetailed" action="show" id="${inventoryMovementInstance?.inventoryItem?.id}">${inventoryMovementInstance?.inventoryItem?.encodeAsHTML()}</g:link></td>
33                           
34                        </tr>
35                   
36                        <tr class="prop">
37                            <td valign="top" class="name">Quantity:</td>
38                           
39                            <td valign="top" class="value">${fieldValue(bean:inventoryMovementInstance, field:'quantity')}</td>
40                           
41                        </tr>
42                   
43                        <tr class="prop">
44                            <td valign="top" class="name">Movement Type:</td>
45                           
46                            <td valign="top" class="value">${inventoryMovementInstance?.inventoryMovementType?.encodeAsHTML()}</td>
47                           
48                        </tr>
49                   
50                        <tr class="prop">
51                            <td valign="top" class="name">Task:</td>
52                           
53                            <td valign="top" class="value"><g:link controller="taskDetailed" action="show" id="${inventoryMovementInstance?.task?.id}">${inventoryMovementInstance?.task?.encodeAsHTML()}</g:link></td>
54                           
55                        </tr>
56                   
57                        <tr class="prop">
58                            <td valign="top" class="name">Date:</td>
59                           
60                            <td valign="top" class="value">
61                                <g:formatDate date="${inventoryMovementInstance?.date}" format="EEE, dd-MMM-yyyy @ HH:mm"/>
62                            </td>
63                           
64                        </tr>
65                   
66                    </tbody>
67                </table>
68            </div>
69            <div class="buttons">
70                <g:form>
71                    <input type="hidden" name="id" value="${inventoryMovementInstance?.id}" />
72                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
73                </g:form>
74            </div>
75        </div>
76    </body>
77</html>
Note: See TracBrowser for help on using the repository browser.