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