[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}" /> |
---|
| 22 | <g:hiddenField name="orderId" value="${orderId}" /> |
---|
| 23 | <div class="dialog"> |
---|
| 24 | <table> |
---|
| 25 | <tbody> |
---|
| 26 | |
---|
| 27 | <tr class="prop"> |
---|
| 28 | <td valign="top" class="name"> |
---|
| 29 | <label for="inventoryItem">Inventory Item:</label> |
---|
| 30 | </td> |
---|
| 31 | <td valign="top" class="value"> |
---|
| 32 | <g:link controller="inventoryItemDetailed" |
---|
| 33 | action="show" |
---|
| 34 | id="${inventoryItemPurchaseInstance.inventoryItem.id}"> |
---|
| 35 | ${inventoryItemPurchaseInstance.inventoryItem.encodeAsHTML()} |
---|
| 36 | </g:link> |
---|
| 37 | </td> |
---|
| 38 | </tr> |
---|
| 39 | |
---|
| 40 | <tr class="prop"> |
---|
| 41 | <td valign="top" class="name"> |
---|
| 42 | <label for="purchaseOrderNumber">Purchase Order #:</label> |
---|
| 43 | </td> |
---|
| 44 | <td valign="top" class="value"> |
---|
| 45 | ${inventoryItemPurchaseInstance.purchaseOrderNumber.encodeAsHTML()} |
---|
| 46 | </td> |
---|
| 47 | </tr> |
---|
| 48 | |
---|
| 49 | <tr class="prop"> |
---|
| 50 | <td valign="top" class="name"> |
---|
| 51 | <label for="costCode">Cost Code:</label> |
---|
| 52 | </td> |
---|
| 53 | <td valign="top" class="value ${hasErrors(bean:inventoryItemPurchaseInstance,field:'costCode','errors')}"> |
---|
| 54 | ${inventoryItemPurchaseInstance.costCode.encodeAsHTML()} |
---|
| 55 | </td> |
---|
| 56 | </tr> |
---|
| 57 | |
---|
| 58 | <tr class="prop"> |
---|
| 59 | <td valign="top" class="name"> |
---|
| 60 | <label for="quantity">Invoice #:</label> |
---|
| 61 | </td> |
---|
| 62 | <td valign="top" class="value ${hasErrors(bean:inventoryItemPurchaseInstance,field:'invoiceNumber','errors')}"> |
---|
| 63 | <input type="text" id="invoiceNumber" name="invoiceNumber" value="${fieldValue(bean:inventoryItemPurchaseInstance,field:'invoiceNumber')}" /> |
---|
| 64 | </td> |
---|
| 65 | </tr> |
---|
| 66 | |
---|
| 67 | <tr class="prop"> |
---|
| 68 | <td valign="top" class="name"> |
---|
| 69 | <label for="quantity">Quantity:</label> |
---|
| 70 | </td> |
---|
| 71 | <td valign="top" class="value ${hasErrors(bean:inventoryItemPurchaseInstance,field:'quantity','errors')}"> |
---|
| 72 | <input type="text" id="quantity" name="quantity" value="${fieldValue(bean:inventoryItemPurchaseInstance,field:'quantity')}" /> |
---|
| 73 | ${inventoryItemPurchaseInstance.inventoryItem.unitOfMeasure.encodeAsHTML()} |
---|
| 74 | </td> |
---|
| 75 | </tr> |
---|
| 76 | |
---|
| 77 | <tr class="prop"> |
---|
| 78 | <td valign="top" class="name"> |
---|
| 79 | <label for="orderValue">Purchase Order $:</label> |
---|
| 80 | </td> |
---|
| 81 | <td valign="top"> |
---|
| 82 | <input class="medium ${hasErrors(bean:inventoryItemPurchaseInstance,field:'orderValueAmount','errors')}" |
---|
| 83 | type="text" id="orderValueAmount" name="orderValueAmount" |
---|
| 84 | value="${fieldValue(bean:inventoryItemPurchaseInstance,field:'orderValueAmount')}" /> |
---|
| 85 | ${inventoryItemPurchaseInstance.orderValueCurrency?.encodeAsHTML()} |
---|
| 86 | </td> |
---|
| 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> |
---|