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