[116] | 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> |
---|
[139] | 8 | <nav:resources override="true"/> |
---|
[116] | 9 | </head> |
---|
| 10 | <body> |
---|
| 11 | <div class="nav"> |
---|
[139] | 12 | <nav:renderSubItems group="nav"/> |
---|
[116] | 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 | |
---|
| 26 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'id')}</td> |
---|
| 27 | |
---|
| 28 | </tr> |
---|
| 29 | |
---|
| 30 | <tr class="prop"> |
---|
| 31 | <td valign="top" class="name">Name:</td> |
---|
| 32 | |
---|
| 33 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'name')}</td> |
---|
| 34 | |
---|
| 35 | </tr> |
---|
| 36 | |
---|
| 37 | <tr class="prop"> |
---|
| 38 | <td valign="top" class="name">Description:</td> |
---|
| 39 | |
---|
| 40 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'description')}</td> |
---|
| 41 | |
---|
| 42 | </tr> |
---|
[175] | 43 | |
---|
| 44 | <tr class="prop"> |
---|
| 45 | <td valign="top" class="name">Units In Stock:</td> |
---|
| 46 | |
---|
| 47 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'unitsInStock')}</td> |
---|
| 48 | |
---|
| 49 | </tr> |
---|
[116] | 50 | |
---|
| 51 | <tr class="prop"> |
---|
[175] | 52 | <td valign="top" class="name">Unit Of Measure:</td> |
---|
| 53 | |
---|
| 54 | <td valign="top" class="value">${inventoryItemInstance?.unitOfMeasure?.encodeAsHTML()}</td> |
---|
| 55 | |
---|
| 56 | </tr> |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | <tr class="prop"> |
---|
[116] | 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> |
---|
[175] | 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> |
---|
[116] | 79 | |
---|
| 80 | <tr class="prop"> |
---|
[175] | 81 | <td valign="top" class="name">Active:</td> |
---|
[116] | 82 | |
---|
| 83 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'isActive')}</td> |
---|
| 84 | |
---|
| 85 | </tr> |
---|
| 86 | |
---|
| 87 | <tr class="prop"> |
---|
[175] | 88 | <td valign="top" class="name">Obsolete:</td> |
---|
[116] | 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 | |
---|
[125] | 97 | <td valign="top" class="value">${inventoryItemInstance?.inventoryGroup?.encodeAsHTML()}</td> |
---|
[116] | 98 | |
---|
| 99 | </tr> |
---|
[175] | 100 | |
---|
[116] | 101 | |
---|
| 102 | <tr class="prop"> |
---|
| 103 | <td valign="top" class="name">Inventory Type:</td> |
---|
| 104 | |
---|
[125] | 105 | <td valign="top" class="value">${inventoryItemInstance?.inventoryType?.encodeAsHTML()}</td> |
---|
[116] | 106 | |
---|
| 107 | </tr> |
---|
| 108 | |
---|
| 109 | <tr class="prop"> |
---|
| 110 | <td valign="top" class="name">Manufacturers Part Number:</td> |
---|
| 111 | |
---|
| 112 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'manufacturersPartNumber')}</td> |
---|
| 113 | |
---|
| 114 | </tr> |
---|
| 115 | |
---|
| 116 | <tr class="prop"> |
---|
| 117 | <td valign="top" class="name">Suppliers Part Number:</td> |
---|
| 118 | |
---|
| 119 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'suppliersPartNumber')}</td> |
---|
| 120 | |
---|
| 121 | </tr> |
---|
| 122 | |
---|
| 123 | <tr class="prop"> |
---|
| 124 | <td valign="top" class="name">Recommended Reorder Point:</td> |
---|
| 125 | |
---|
| 126 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'recommendedReorderPoint')}</td> |
---|
| 127 | |
---|
| 128 | </tr> |
---|
| 129 | |
---|
| 130 | <tr class="prop"> |
---|
| 131 | <td valign="top" class="name">Average Delivery Time:</td> |
---|
| 132 | |
---|
| 133 | <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'averageDeliveryTime')}</td> |
---|
| 134 | |
---|
| 135 | </tr> |
---|
| 136 | |
---|
| 137 | <tr class="prop"> |
---|
| 138 | <td valign="top" class="name">Alternate Items:</td> |
---|
| 139 | |
---|
| 140 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 141 | <ul> |
---|
| 142 | <g:each var="a" in="${inventoryItemInstance.alternateItems}"> |
---|
[175] | 143 | <li><g:link controller="inventoryItemDetailed" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> |
---|
[116] | 144 | </g:each> |
---|
| 145 | </ul> |
---|
| 146 | </td> |
---|
| 147 | |
---|
| 148 | </tr> |
---|
| 149 | |
---|
| 150 | <tr class="prop"> |
---|
| 151 | <td valign="top" class="name">Inventory Movements:</td> |
---|
| 152 | |
---|
| 153 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 154 | <ul> |
---|
| 155 | <g:each var="i" in="${inventoryItemInstance.inventoryMovements}"> |
---|
[175] | 156 | <li><g:link controller="inventoryMovementDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> |
---|
[116] | 157 | </g:each> |
---|
| 158 | </ul> |
---|
| 159 | </td> |
---|
| 160 | |
---|
| 161 | </tr> |
---|
| 162 | |
---|
| 163 | <tr class="prop"> |
---|
| 164 | <td valign="top" class="name">Manufacturers:</td> |
---|
| 165 | |
---|
| 166 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 167 | <ul> |
---|
| 168 | <g:each var="m" in="${inventoryItemInstance.manufacturers}"> |
---|
[175] | 169 | <li><g:link controller="manufacturerDetailed" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> |
---|
[116] | 170 | </g:each> |
---|
| 171 | </ul> |
---|
| 172 | </td> |
---|
| 173 | |
---|
| 174 | </tr> |
---|
| 175 | |
---|
| 176 | <tr class="prop"> |
---|
| 177 | <td valign="top" class="name">Spare For:</td> |
---|
| 178 | |
---|
| 179 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 180 | <ul> |
---|
| 181 | <g:each var="s" in="${inventoryItemInstance.spareFor}"> |
---|
[124] | 182 | <li><g:link controller="assetDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> |
---|
[116] | 183 | </g:each> |
---|
| 184 | </ul> |
---|
| 185 | </td> |
---|
| 186 | |
---|
| 187 | </tr> |
---|
[175] | 188 | |
---|
[116] | 189 | <tr class="prop"> |
---|
[175] | 190 | <td valign="top" class="name">Inventory Location:</td> |
---|
[116] | 191 | |
---|
[175] | 192 | <td valign="top" class="value"><g:link controller="inventoryLocationDetailed" action="show" id="${inventoryItemInstance?.inventoryLocation?.id}">${inventoryItemInstance?.inventoryLocation?.encodeAsHTML()}</g:link></td> |
---|
[116] | 193 | |
---|
| 194 | </tr> |
---|
| 195 | |
---|
| 196 | <tr class="prop"> |
---|
| 197 | <td valign="top" class="name">Suppliers:</td> |
---|
| 198 | |
---|
| 199 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 200 | <ul> |
---|
| 201 | <g:each var="s" in="${inventoryItemInstance.suppliers}"> |
---|
[175] | 202 | <li><g:link controller="supplierDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> |
---|
[116] | 203 | </g:each> |
---|
| 204 | </ul> |
---|
| 205 | </td> |
---|
| 206 | |
---|
| 207 | </tr> |
---|
| 208 | |
---|
| 209 | </tbody> |
---|
| 210 | </table> |
---|
| 211 | </div> |
---|
| 212 | <div class="buttons"> |
---|
| 213 | <g:form> |
---|
| 214 | <input type="hidden" name="id" value="${inventoryItemInstance?.id}" /> |
---|
| 215 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 216 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 217 | </g:form> |
---|
| 218 | </div> |
---|
| 219 | </div> |
---|
| 220 | </body> |
---|
| 221 | </html> |
---|