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