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