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 InventoryItem</title> |
---|
8 | </head> |
---|
9 | <body> |
---|
10 | <div class="nav"> |
---|
11 | <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> |
---|
12 | <span class="menuButton"><g:link class="list" action="list">InventoryItem List</g:link></span> |
---|
13 | <span class="menuButton"><g:link class="create" action="create">New InventoryItem</g:link></span> |
---|
14 | </div> |
---|
15 | <div class="body"> |
---|
16 | <h1>Show InventoryItem</h1> |
---|
17 | <g:if test="${flash.message}"> |
---|
18 | <div class="message">${flash.message}</div> |
---|
19 | </g:if> |
---|
20 | <div class="dialog"> |
---|
21 | <table> |
---|
22 | <tbody> |
---|
23 | |
---|
24 | |
---|
25 | <tr class="prop"> |
---|
26 | <td valign="top" class="name">Id:</td> |
---|
27 | |
---|
28 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'id')}</td> |
---|
29 | |
---|
30 | </tr> |
---|
31 | |
---|
32 | <tr class="prop"> |
---|
33 | <td valign="top" class="name">Name:</td> |
---|
34 | |
---|
35 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'name')}</td> |
---|
36 | |
---|
37 | </tr> |
---|
38 | |
---|
39 | <tr class="prop"> |
---|
40 | <td valign="top" class="name">Description:</td> |
---|
41 | |
---|
42 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'description')}</td> |
---|
43 | |
---|
44 | </tr> |
---|
45 | |
---|
46 | <tr class="prop"> |
---|
47 | <td valign="top" class="name">Reorder Point:</td> |
---|
48 | |
---|
49 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'reorderPoint')}</td> |
---|
50 | |
---|
51 | </tr> |
---|
52 | |
---|
53 | <tr class="prop"> |
---|
54 | <td valign="top" class="name">Enable Reorder:</td> |
---|
55 | |
---|
56 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'enableReorder')}</td> |
---|
57 | |
---|
58 | </tr> |
---|
59 | |
---|
60 | <tr class="prop"> |
---|
61 | <td valign="top" class="name">Is Active:</td> |
---|
62 | |
---|
63 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'isActive')}</td> |
---|
64 | |
---|
65 | </tr> |
---|
66 | |
---|
67 | <tr class="prop"> |
---|
68 | <td valign="top" class="name">Is Obsolete:</td> |
---|
69 | |
---|
70 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'isObsolete')}</td> |
---|
71 | |
---|
72 | </tr> |
---|
73 | |
---|
74 | <tr class="prop"> |
---|
75 | <td valign="top" class="name">Inventory Group:</td> |
---|
76 | |
---|
77 | <td valign="top" class="value">${inventoryItemInstance?.inventoryGroup?.encodeAsHTML()}</td> |
---|
78 | |
---|
79 | </tr> |
---|
80 | |
---|
81 | <tr class="prop"> |
---|
82 | <td valign="top" class="name">Inventory Type:</td> |
---|
83 | |
---|
84 | <td valign="top" class="value">${inventoryItemInstance?.inventoryType?.encodeAsHTML()}</td> |
---|
85 | |
---|
86 | </tr> |
---|
87 | |
---|
88 | <tr class="prop"> |
---|
89 | <td valign="top" class="name">Unit Of Measure:</td> |
---|
90 | |
---|
91 | <td valign="top" class="value">${inventoryItemInstance?.unitOfMeasure?.encodeAsHTML()}</td> |
---|
92 | |
---|
93 | </tr> |
---|
94 | |
---|
95 | <tr class="prop"> |
---|
96 | <td valign="top" class="name">Manufacturers Part Number:</td> |
---|
97 | |
---|
98 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'manufacturersPartNumber')}</td> |
---|
99 | |
---|
100 | </tr> |
---|
101 | |
---|
102 | <tr class="prop"> |
---|
103 | <td valign="top" class="name">Suppliers Part Number:</td> |
---|
104 | |
---|
105 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'suppliersPartNumber')}</td> |
---|
106 | |
---|
107 | </tr> |
---|
108 | |
---|
109 | <tr class="prop"> |
---|
110 | <td valign="top" class="name">Recommended Reorder Point:</td> |
---|
111 | |
---|
112 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'recommendedReorderPoint')}</td> |
---|
113 | |
---|
114 | </tr> |
---|
115 | |
---|
116 | <tr class="prop"> |
---|
117 | <td valign="top" class="name">Average Delivery Time:</td> |
---|
118 | |
---|
119 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'averageDeliveryTime')}</td> |
---|
120 | |
---|
121 | </tr> |
---|
122 | |
---|
123 | <tr class="prop"> |
---|
124 | <td valign="top" class="name">Alternate Items:</td> |
---|
125 | |
---|
126 | <td valign="top" style="text-align:left;" class="value"> |
---|
127 | <ul> |
---|
128 | <g:each var="a" in="${inventoryItemInstance.alternateItems}"> |
---|
129 | <li><g:link controller="inventoryItem" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> |
---|
130 | </g:each> |
---|
131 | </ul> |
---|
132 | </td> |
---|
133 | |
---|
134 | </tr> |
---|
135 | |
---|
136 | <tr class="prop"> |
---|
137 | <td valign="top" class="name">Inventory Movements:</td> |
---|
138 | |
---|
139 | <td valign="top" style="text-align:left;" class="value"> |
---|
140 | <ul> |
---|
141 | <g:each var="i" in="${inventoryItemInstance.inventoryMovements}"> |
---|
142 | <li><g:link controller="inventoryMovement" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> |
---|
143 | </g:each> |
---|
144 | </ul> |
---|
145 | </td> |
---|
146 | |
---|
147 | </tr> |
---|
148 | |
---|
149 | <tr class="prop"> |
---|
150 | <td valign="top" class="name">Manufacturers:</td> |
---|
151 | |
---|
152 | <td valign="top" style="text-align:left;" class="value"> |
---|
153 | <ul> |
---|
154 | <g:each var="m" in="${inventoryItemInstance.manufacturers}"> |
---|
155 | <li><g:link controller="manufacturer" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> |
---|
156 | </g:each> |
---|
157 | </ul> |
---|
158 | </td> |
---|
159 | |
---|
160 | </tr> |
---|
161 | |
---|
162 | <tr class="prop"> |
---|
163 | <td valign="top" class="name">Spare For:</td> |
---|
164 | |
---|
165 | <td valign="top" style="text-align:left;" class="value"> |
---|
166 | <ul> |
---|
167 | <g:each var="s" in="${inventoryItemInstance.spareFor}"> |
---|
168 | <li><g:link controller="assetDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> |
---|
169 | </g:each> |
---|
170 | </ul> |
---|
171 | </td> |
---|
172 | |
---|
173 | </tr> |
---|
174 | |
---|
175 | <tr class="prop"> |
---|
176 | <td valign="top" class="name">Stored Items:</td> |
---|
177 | |
---|
178 | <td valign="top" style="text-align:left;" class="value"> |
---|
179 | <ul> |
---|
180 | <g:each var="s" in="${inventoryItemInstance.storedItems}"> |
---|
181 | <li><g:link controller="storedItemDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> |
---|
182 | </g:each> |
---|
183 | </ul> |
---|
184 | </td> |
---|
185 | |
---|
186 | </tr> |
---|
187 | |
---|
188 | <tr class="prop"> |
---|
189 | <td valign="top" class="name">Suppliers:</td> |
---|
190 | |
---|
191 | <td valign="top" style="text-align:left;" class="value"> |
---|
192 | <ul> |
---|
193 | <g:each var="s" in="${inventoryItemInstance.suppliers}"> |
---|
194 | <li><g:link controller="supplier" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> |
---|
195 | </g:each> |
---|
196 | </ul> |
---|
197 | </td> |
---|
198 | |
---|
199 | </tr> |
---|
200 | |
---|
201 | </tbody> |
---|
202 | </table> |
---|
203 | </div> |
---|
204 | <div class="buttons"> |
---|
205 | <g:form> |
---|
206 | <input type="hidden" name="id" value="${inventoryItemInstance?.id}" /> |
---|
207 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
208 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
209 | </g:form> |
---|
210 | </div> |
---|
211 | </div> |
---|
212 | </body> |
---|
213 | </html> |
---|