[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>Show InventoryItemPurchase</title> |
---|
[595] | 8 | <nav:resources override="true"/> |
---|
[441] | 9 | </head> |
---|
| 10 | <body> |
---|
| 11 | <div class="nav"> |
---|
[595] | 12 | <nav:renderSubItems group="navAlt"/> |
---|
[441] | 13 | </div> |
---|
| 14 | <div class="body"> |
---|
| 15 | <g:render template="/shared/messages" /> |
---|
| 16 | <div class="dialog"> |
---|
| 17 | <table> |
---|
| 18 | <tbody> |
---|
| 19 | |
---|
| 20 | <tr class="prop"> |
---|
| 21 | <td valign="top" class="name">Inventory Item:</td> |
---|
| 22 | |
---|
| 23 | <td valign="top" class="value"><g:link controller="inventoryItemDetailed" action="show" id="${inventoryItemPurchaseInstance?.inventoryItem?.id}">${inventoryItemPurchaseInstance?.inventoryItem?.encodeAsHTML()}</g:link></td> |
---|
| 24 | |
---|
| 25 | </tr> |
---|
| 26 | |
---|
| 27 | <tr class="prop"> |
---|
| 28 | <td valign="top" class="name">Inventory Item Purchase Type:</td> |
---|
| 29 | |
---|
| 30 | <td valign="top" class="value">${inventoryItemPurchaseInstance?.inventoryItemPurchaseType?.encodeAsHTML()}</td> |
---|
| 31 | |
---|
| 32 | </tr> |
---|
| 33 | |
---|
| 34 | <tr class="prop"> |
---|
| 35 | <td valign="top" class="name">Purchase Order Number:</td> |
---|
| 36 | |
---|
| 37 | <td valign="top" class="value">${fieldValue(bean:inventoryItemPurchaseInstance, field:'purchaseOrderNumber')}</td> |
---|
| 38 | |
---|
| 39 | </tr> |
---|
| 40 | |
---|
| 41 | <tr class="prop"> |
---|
| 42 | <td valign="top" class="name">Cost Code:</td> |
---|
| 43 | |
---|
| 44 | <td valign="top" class="value"><g:link controller="costCodeDetailed" action="show" id="${inventoryItemPurchaseInstance?.costCode?.id}">${inventoryItemPurchaseInstance?.costCode?.encodeAsHTML()}</g:link></td> |
---|
| 45 | |
---|
| 46 | </tr> |
---|
| 47 | |
---|
| 48 | <tr class="prop"> |
---|
| 49 | <td valign="top" class="name">Quantity:</td> |
---|
| 50 | |
---|
| 51 | <td valign="top" class="value">${fieldValue(bean:inventoryItemPurchaseInstance, field:'quantity')}</td> |
---|
| 52 | |
---|
| 53 | </tr> |
---|
| 54 | |
---|
| 55 | <tr class="prop"> |
---|
| 56 | <td valign="top" class="name">Order Value:</td> |
---|
| 57 | |
---|
| 58 | <td valign="top" class="value"> |
---|
| 59 | ${fieldValue(bean:inventoryItemPurchaseInstance, field:'orderValueAmount')} |
---|
| 60 | ${inventoryItemPurchaseInstance.orderValueCurrency?.encodeAsHTML()} |
---|
| 61 | </td> |
---|
| 62 | |
---|
| 63 | </tr> |
---|
| 64 | |
---|
| 65 | <tr class="prop"> |
---|
| 66 | <td valign="top" class="name">Invoice Number:</td> |
---|
| 67 | |
---|
| 68 | <td valign="top" class="value">${fieldValue(bean:inventoryItemPurchaseInstance, field:'invoiceNumber')}</td> |
---|
| 69 | |
---|
| 70 | </tr> |
---|
| 71 | |
---|
| 72 | <tr class="prop"> |
---|
| 73 | <td valign="top" class="name"> |
---|
| 74 | <label for="receivedComplete">Received Complete:</label> |
---|
| 75 | </td> |
---|
| 76 | <td valign="top" class="value"> |
---|
| 77 | ${inventoryItemPurchaseInstance?.receivedComplete} |
---|
| 78 | </td> |
---|
| 79 | </tr> |
---|
| 80 | |
---|
| 81 | <tr class="prop"> |
---|
| 82 | <td valign="top" class="name"> |
---|
| 83 | <label for="invoicePaymentApproved">Invoice Payment Approved:</label> |
---|
| 84 | </td> |
---|
| 85 | <td valign="top" class="value"> |
---|
| 86 | ${inventoryItemPurchaseInstance?.invoicePaymentApproved} |
---|
| 87 | </td> |
---|
| 88 | </tr> |
---|
| 89 | |
---|
| 90 | <tr class="prop"> |
---|
| 91 | <td valign="top" class="name">Date Entered:</td> |
---|
| 92 | |
---|
| 93 | <td valign="top" class="value"> |
---|
| 94 | <g:formatDate date="${inventoryItemPurchaseInstance?.dateEntered}" format="EEE, dd-MMM-yyyy @ HH:mm"/> |
---|
| 95 | </td> |
---|
| 96 | |
---|
| 97 | </tr> |
---|
| 98 | |
---|
| 99 | <tr class="prop"> |
---|
| 100 | <td valign="top" class="name">Entered By:</td> |
---|
| 101 | |
---|
| 102 | <td valign="top" class="value"><g:link controller="person" action="show" id="${inventoryItemPurchaseInstance?.enteredBy?.id}">${inventoryItemPurchaseInstance?.enteredBy?.encodeAsHTML()}</g:link></td> |
---|
| 103 | |
---|
| 104 | </tr> |
---|
| 105 | |
---|
| 106 | </tbody> |
---|
| 107 | </table> |
---|
| 108 | </div> |
---|
| 109 | <div class="buttons"> |
---|
| 110 | <g:form> |
---|
[595] | 111 | <g:hiddenField name="id" value="${inventoryItemPurchaseInstance?.id}" /> |
---|
| 112 | <g:hiddenField name="returnTo" value="${params.returnTo}" /> |
---|
[441] | 113 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 114 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 115 | </g:form> |
---|
| 116 | </div> |
---|
| 117 | </div> |
---|
| 118 | </body> |
---|
| 119 | </html> |
---|