[441] | 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>Receive InventoryItemPurchase</title> |
---|
[595] | 8 | <nav:resources override="true"/> |
---|
[441] | 9 | </head> |
---|
| 10 | <body> |
---|
| 11 | <div class="nav"> |
---|
| 12 | <h1>Receive Inventory</h1> |
---|
| 13 | </div> |
---|
| 14 | <div class="body"> |
---|
| 15 | <g:render template="/shared/messages" /> |
---|
| 16 | <g:hasErrors bean="${inventoryItemPurchaseInstance}"> |
---|
| 17 | <div class="errors"> |
---|
| 18 | <g:renderErrors bean="${inventoryItemPurchaseInstance}" as="list" /> |
---|
| 19 | </div> |
---|
| 20 | </g:hasErrors> |
---|
| 21 | <g:form action="receiveSave" method="post" > |
---|
| 22 | <g:hiddenField name="inventoryItem.id" value="${inventoryItemPurchaseInstance.inventoryItem?.id}" /> |
---|
| 23 | <g:hiddenField name="orderId" value="${orderId}" /> |
---|
[595] | 24 | <g:hiddenField name="returnTo" value="${params.returnTo}" /> |
---|
[441] | 25 | <div class="dialog"> |
---|
| 26 | <table> |
---|
| 27 | <tbody> |
---|
| 28 | |
---|
| 29 | <tr class="prop"> |
---|
| 30 | <td valign="top" class="name"> |
---|
| 31 | <label for="inventoryItem">Inventory Item:</label> |
---|
| 32 | </td> |
---|
| 33 | <td valign="top" class="value"> |
---|
| 34 | <g:link controller="inventoryItemDetailed" |
---|
| 35 | action="show" |
---|
| 36 | id="${inventoryItemPurchaseInstance.inventoryItem.id}"> |
---|
| 37 | ${inventoryItemPurchaseInstance.inventoryItem.encodeAsHTML()} |
---|
| 38 | </g:link> |
---|
[600] | 39 | <br /> |
---|
| 40 | Description: ${inventoryItemPurchaseInstance.inventoryItem.description.encodeAsHTML()} |
---|
| 41 | <br /> |
---|
| 42 | Location: ${inventoryItemPurchaseInstance.inventoryItem.inventoryLocation.encodeAsHTML()} |
---|
| 43 | <br /> |
---|
| 44 | Suppliers Part Number: ${inventoryItemPurchaseInstance.inventoryItem.suppliersPartNumber.encodeAsHTML()} |
---|
[441] | 45 | </td> |
---|
| 46 | </tr> |
---|
| 47 | |
---|
| 48 | <tr class="prop"> |
---|
| 49 | <td valign="top" class="name"> |
---|
| 50 | <label for="purchaseOrderNumber">Purchase Order #:</label> |
---|
| 51 | </td> |
---|
| 52 | <td valign="top" class="value"> |
---|
| 53 | ${inventoryItemPurchaseInstance.purchaseOrderNumber.encodeAsHTML()} |
---|
| 54 | </td> |
---|
| 55 | </tr> |
---|
| 56 | |
---|
| 57 | <tr class="prop"> |
---|
| 58 | <td valign="top" class="name"> |
---|
| 59 | <label for="costCode">Cost Code:</label> |
---|
| 60 | </td> |
---|
| 61 | <td valign="top" class="value ${hasErrors(bean:inventoryItemPurchaseInstance,field:'costCode','errors')}"> |
---|
| 62 | ${inventoryItemPurchaseInstance.costCode.encodeAsHTML()} |
---|
| 63 | </td> |
---|
| 64 | </tr> |
---|
| 65 | |
---|
| 66 | <tr class="prop"> |
---|
| 67 | <td valign="top" class="name"> |
---|
| 68 | <label for="quantity">Quantity:</label> |
---|
| 69 | </td> |
---|
| 70 | <td valign="top" class="value ${hasErrors(bean:inventoryItemPurchaseInstance,field:'quantity','errors')}"> |
---|
| 71 | <input type="text" id="quantity" name="quantity" value="${fieldValue(bean:inventoryItemPurchaseInstance,field:'quantity')}" /> |
---|
| 72 | ${inventoryItemPurchaseInstance.inventoryItem.unitOfMeasure.encodeAsHTML()} |
---|
| 73 | </td> |
---|
| 74 | </tr> |
---|
| 75 | |
---|
| 76 | <tr class="prop"> |
---|
| 77 | <td valign="top" class="name"> |
---|
| 78 | <label for="orderValueAmount">Purchase Order $:</label> |
---|
| 79 | </td> |
---|
| 80 | <td valign="top"> |
---|
| 81 | <input class="medium ${hasErrors(bean:inventoryItemPurchaseInstance,field:'orderValueAmount','errors')}" |
---|
| 82 | type="text" id="orderValueAmount" name="orderValueAmount" |
---|
| 83 | value="${fieldValue(bean:inventoryItemPurchaseInstance,field:'orderValueAmount')}" /> |
---|
| 84 | ${inventoryItemPurchaseInstance.orderValueCurrency?.encodeAsHTML()} |
---|
| 85 | </td> |
---|
| 86 | </tr> |
---|
| 87 | </tr> |
---|
| 88 | |
---|
| 89 | </tbody> |
---|
| 90 | </table> |
---|
| 91 | </div> |
---|
| 92 | <div class="buttons"> |
---|
| 93 | <span class="button"><input class="save" type="submit" value="Create" /></span> |
---|
| 94 | </div> |
---|
| 95 | </g:form> |
---|
| 96 | </div> |
---|
| 97 | </body> |
---|
| 98 | </html> |
---|