[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}" /> |
---|
[605] | 24 | <g:hiddenField name="supplier.id" value="${inventoryItemPurchaseInstance.supplier?.id}" /> |
---|
[609] | 25 | <g:hiddenField name="taskBudgetStatus.id" value="${inventoryItemPurchaseInstance.taskBudgetStatus?.id}" /> |
---|
[595] | 26 | <g:hiddenField name="returnTo" value="${params.returnTo}" /> |
---|
[441] | 27 | <div class="dialog"> |
---|
| 28 | <table> |
---|
| 29 | <tbody> |
---|
| 30 | |
---|
| 31 | <tr class="prop"> |
---|
| 32 | <td valign="top" class="name"> |
---|
| 33 | <label for="inventoryItem">Inventory Item:</label> |
---|
| 34 | </td> |
---|
| 35 | <td valign="top" class="value"> |
---|
| 36 | <g:link controller="inventoryItemDetailed" |
---|
| 37 | action="show" |
---|
| 38 | id="${inventoryItemPurchaseInstance.inventoryItem.id}"> |
---|
| 39 | ${inventoryItemPurchaseInstance.inventoryItem.encodeAsHTML()} |
---|
| 40 | </g:link> |
---|
[600] | 41 | <br /> |
---|
| 42 | Description: ${inventoryItemPurchaseInstance.inventoryItem.description.encodeAsHTML()} |
---|
| 43 | <br /> |
---|
| 44 | Location: ${inventoryItemPurchaseInstance.inventoryItem.inventoryLocation.encodeAsHTML()} |
---|
| 45 | <br /> |
---|
| 46 | Suppliers Part Number: ${inventoryItemPurchaseInstance.inventoryItem.suppliersPartNumber.encodeAsHTML()} |
---|
[441] | 47 | </td> |
---|
| 48 | </tr> |
---|
| 49 | |
---|
| 50 | <tr class="prop"> |
---|
| 51 | <td valign="top" class="name"> |
---|
| 52 | <label for="purchaseOrderNumber">Purchase Order #:</label> |
---|
| 53 | </td> |
---|
| 54 | <td valign="top" class="value"> |
---|
| 55 | ${inventoryItemPurchaseInstance.purchaseOrderNumber.encodeAsHTML()} |
---|
| 56 | </td> |
---|
| 57 | </tr> |
---|
| 58 | |
---|
| 59 | <tr class="prop"> |
---|
| 60 | <td valign="top" class="name"> |
---|
| 61 | <label for="costCode">Cost Code:</label> |
---|
| 62 | </td> |
---|
| 63 | <td valign="top" class="value ${hasErrors(bean:inventoryItemPurchaseInstance,field:'costCode','errors')}"> |
---|
| 64 | ${inventoryItemPurchaseInstance.costCode.encodeAsHTML()} |
---|
| 65 | </td> |
---|
| 66 | </tr> |
---|
| 67 | |
---|
[605] | 68 | <tr class="prop"> |
---|
| 69 | <td valign="top" class="name"> |
---|
| 70 | <label for="supplier">Supplier:</label> |
---|
| 71 | </td> |
---|
| 72 | <td valign="top" class="value ${hasErrors(bean:inventoryItemPurchaseInstance,field:'supplier','errors')}"> |
---|
| 73 | ${inventoryItemPurchaseInstance.supplier} |
---|
| 74 | </td> |
---|
| 75 | </tr> |
---|
| 76 | |
---|
[441] | 77 | <tr class="prop"> |
---|
| 78 | <td valign="top" class="name"> |
---|
| 79 | <label for="quantity">Quantity:</label> |
---|
| 80 | </td> |
---|
| 81 | <td valign="top" class="value ${hasErrors(bean:inventoryItemPurchaseInstance,field:'quantity','errors')}"> |
---|
| 82 | <input type="text" id="quantity" name="quantity" value="${fieldValue(bean:inventoryItemPurchaseInstance,field:'quantity')}" /> |
---|
| 83 | ${inventoryItemPurchaseInstance.inventoryItem.unitOfMeasure.encodeAsHTML()} |
---|
[609] | 84 | <g:helpBalloon code="inventoryItemPurchase.receive.quantity" /> |
---|
[441] | 85 | </td> |
---|
| 86 | </tr> |
---|
| 87 | |
---|
| 88 | <tr class="prop"> |
---|
| 89 | <td valign="top" class="name"> |
---|
[609] | 90 | <label for="orderValueAmount">Receive Value:</label> |
---|
[441] | 91 | </td> |
---|
| 92 | <td valign="top"> |
---|
| 93 | <input class="medium ${hasErrors(bean:inventoryItemPurchaseInstance,field:'orderValueAmount','errors')}" |
---|
| 94 | type="text" id="orderValueAmount" name="orderValueAmount" |
---|
| 95 | value="${fieldValue(bean:inventoryItemPurchaseInstance,field:'orderValueAmount')}" /> |
---|
| 96 | ${inventoryItemPurchaseInstance.orderValueCurrency?.encodeAsHTML()} |
---|
[609] | 97 | <g:helpBalloon code="inventoryItemPurchase.receive.value" /> |
---|
[441] | 98 | </td> |
---|
| 99 | </tr> |
---|
| 100 | |
---|
[605] | 101 | <tr class="prop"> |
---|
| 102 | <td valign="top" class="name"> |
---|
| 103 | <label for="comment">Comment:</label> |
---|
| 104 | </td> |
---|
| 105 | <td valign="top" class="value ${hasErrors(bean:inventoryItemPurchaseInstance,field:'comment','errors')}"> |
---|
| 106 | <textarea rows="5" cols="40" name="comment">${fieldValue(bean:inventoryItemPurchaseInstance, field:'comment')}</textarea> |
---|
| 107 | </td> |
---|
| 108 | </tr> |
---|
| 109 | |
---|
[441] | 110 | </tbody> |
---|
| 111 | </table> |
---|
| 112 | </div> |
---|
| 113 | <div class="buttons"> |
---|
| 114 | <span class="button"><input class="save" type="submit" value="Create" /></span> |
---|
| 115 | </div> |
---|
| 116 | </g:form> |
---|
| 117 | </div> |
---|
| 118 | </body> |
---|
| 119 | </html> |
---|