[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"> |
---|
[605] | 28 | <td valign="top" class="name">Purchase Type:</td> |
---|
[441] | 29 | |
---|
| 30 | <td valign="top" class="value">${inventoryItemPurchaseInstance?.inventoryItemPurchaseType?.encodeAsHTML()}</td> |
---|
| 31 | |
---|
| 32 | </tr> |
---|
| 33 | |
---|
| 34 | <tr class="prop"> |
---|
[605] | 35 | <td valign="top" class="name">Purchase Order #:</td> |
---|
[441] | 36 | |
---|
| 37 | <td valign="top" class="value">${fieldValue(bean:inventoryItemPurchaseInstance, field:'purchaseOrderNumber')}</td> |
---|
| 38 | |
---|
| 39 | </tr> |
---|
| 40 | |
---|
| 41 | <tr class="prop"> |
---|
[605] | 42 | <td valign="top" class="name">Date:</td> |
---|
| 43 | <td valign="top" class="value"> |
---|
| 44 | <g:formatDate date="${inventoryItemPurchaseInstance?.date}" format="EEE, dd-MMM-yyyy"/> |
---|
| 45 | </td> |
---|
| 46 | </tr> |
---|
| 47 | |
---|
| 48 | <tr class="prop"> |
---|
[441] | 49 | <td valign="top" class="name">Cost Code:</td> |
---|
| 50 | |
---|
| 51 | <td valign="top" class="value"><g:link controller="costCodeDetailed" action="show" id="${inventoryItemPurchaseInstance?.costCode?.id}">${inventoryItemPurchaseInstance?.costCode?.encodeAsHTML()}</g:link></td> |
---|
| 52 | |
---|
| 53 | </tr> |
---|
[609] | 54 | |
---|
| 55 | <tr class="prop"> |
---|
| 56 | <td valign="top" class="name">Budget Status:</td> |
---|
| 57 | |
---|
| 58 | <td valign="top" class="value">${inventoryItemPurchaseInstance?.taskBudgetStatus?.encodeAsHTML()}</td> |
---|
| 59 | |
---|
| 60 | </tr> |
---|
[605] | 61 | |
---|
| 62 | <tr class="prop"> |
---|
| 63 | <td valign="top" class="name">Supplier:</td> |
---|
| 64 | |
---|
| 65 | <td valign="top" class="value"><g:link controller="supplierDetailed" action="show" id="${inventoryItemPurchaseInstance?.supplier?.id}">${inventoryItemPurchaseInstance?.supplier?.encodeAsHTML()}</g:link></td> |
---|
| 66 | |
---|
| 67 | </tr> |
---|
[441] | 68 | |
---|
| 69 | <tr class="prop"> |
---|
| 70 | <td valign="top" class="name">Quantity:</td> |
---|
| 71 | |
---|
| 72 | <td valign="top" class="value">${fieldValue(bean:inventoryItemPurchaseInstance, field:'quantity')}</td> |
---|
| 73 | |
---|
| 74 | </tr> |
---|
| 75 | |
---|
| 76 | <tr class="prop"> |
---|
| 77 | <td valign="top" class="name">Order Value:</td> |
---|
| 78 | |
---|
| 79 | <td valign="top" class="value"> |
---|
| 80 | ${fieldValue(bean:inventoryItemPurchaseInstance, field:'orderValueAmount')} |
---|
| 81 | ${inventoryItemPurchaseInstance.orderValueCurrency?.encodeAsHTML()} |
---|
| 82 | </td> |
---|
| 83 | |
---|
| 84 | </tr> |
---|
[605] | 85 | |
---|
| 86 | <g:if test="${inventoryItemPurchaseInstance.inventoryItemPurchaseType?.id == 4}"> |
---|
| 87 | <tr class="prop"> |
---|
| 88 | <td valign="top" class="name">Invoice Number:</td> |
---|
| 89 | <td valign="top" class="value">${fieldValue(bean:inventoryItemPurchaseInstance, field:'invoiceNumber')}</td> |
---|
| 90 | </tr> |
---|
| 91 | </g:if> |
---|
[441] | 92 | |
---|
| 93 | <tr class="prop"> |
---|
| 94 | <td valign="top" class="name"> |
---|
| 95 | <label for="receivedComplete">Received Complete:</label> |
---|
| 96 | </td> |
---|
| 97 | <td valign="top" class="value"> |
---|
| 98 | ${inventoryItemPurchaseInstance?.receivedComplete} |
---|
| 99 | </td> |
---|
| 100 | </tr> |
---|
| 101 | |
---|
| 102 | <tr class="prop"> |
---|
| 103 | <td valign="top" class="name"> |
---|
| 104 | <label for="invoicePaymentApproved">Invoice Payment Approved:</label> |
---|
| 105 | </td> |
---|
| 106 | <td valign="top" class="value"> |
---|
| 107 | ${inventoryItemPurchaseInstance?.invoicePaymentApproved} |
---|
| 108 | </td> |
---|
| 109 | </tr> |
---|
[605] | 110 | |
---|
[441] | 111 | <tr class="prop"> |
---|
[605] | 112 | <td valign="top" class="name">Comment:</td> |
---|
| 113 | <td valign="top" class="value">${fieldValue(bean:inventoryItemPurchaseInstance, field:'comment')}</td> |
---|
[441] | 114 | </tr> |
---|
| 115 | |
---|
| 116 | <tr class="prop"> |
---|
| 117 | <td valign="top" class="name">Entered By:</td> |
---|
[605] | 118 | <td valign="top" class="value"> |
---|
| 119 | <g:link controller="person" action="show" id="${inventoryItemPurchaseInstance?.enteredBy?.id}"> |
---|
| 120 | ${inventoryItemPurchaseInstance?.enteredBy?.encodeAsHTML()} |
---|
| 121 | </g:link> |
---|
| 122 | on <g:formatDate date="${inventoryItemPurchaseInstance?.dateCreated}" format="EEE, dd-MMM-yyyy @ HH:mm"/> |
---|
| 123 | </td> |
---|
[441] | 124 | </tr> |
---|
[605] | 125 | |
---|
| 126 | <g:if test="${inventoryItemPurchaseInstance.lastUpdatedBy}"> |
---|
| 127 | <tr class="prop"> |
---|
| 128 | <td valign="top" class="name">Last Updated By:</td> |
---|
| 129 | <td valign="top" class="value"> |
---|
| 130 | <g:link controller="person" action="show" id="${inventoryItemPurchaseInstance?.lastUpdatedBy?.id}"> |
---|
| 131 | ${inventoryItemPurchaseInstance?.lastUpdatedBy.encodeAsHTML()} |
---|
| 132 | </g:link> |
---|
| 133 | on <g:formatDate date="${inventoryItemPurchaseInstance?.lastUpdated}" format="EEE, dd-MMM-yyyy @ HH:mm"/> |
---|
| 134 | </td> |
---|
| 135 | </tr> |
---|
| 136 | </g:if > |
---|
[441] | 137 | |
---|
| 138 | </tbody> |
---|
| 139 | </table> |
---|
| 140 | </div> |
---|
| 141 | <div class="buttons"> |
---|
| 142 | <g:form> |
---|
[595] | 143 | <g:hiddenField name="id" value="${inventoryItemPurchaseInstance?.id}" /> |
---|
| 144 | <g:hiddenField name="returnTo" value="${params.returnTo}" /> |
---|
[441] | 145 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 146 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 147 | </g:form> |
---|
| 148 | </div> |
---|
| 149 | </div> |
---|
| 150 | </body> |
---|
| 151 | </html> |
---|