Last change
on this file since 564 was
441,
checked in by gav, 15 years ago
|
Add CostCode and InventoryItemPurchase domain classes with import features.
Includes some fixes to inventory imports, where manufacturer and supplier were crossed.
|
File size:
3.1 KB
|
Line | |
---|
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 CostCode</title> |
---|
8 | <nav:resources override="true"/> |
---|
9 | </head> |
---|
10 | <body> |
---|
11 | <div class="nav"> |
---|
12 | <nav:renderSubItems group="navAlt"/> |
---|
13 | </div> |
---|
14 | <div class="body"> |
---|
15 | <g:render template="/shared/messages" /> |
---|
16 | <div class="dialog"> |
---|
17 | <table> |
---|
18 | <tbody> |
---|
19 | |
---|
20 | |
---|
21 | <tr class="prop"> |
---|
22 | <td valign="top" class="name">Id:</td> |
---|
23 | |
---|
24 | <td valign="top" class="value">${fieldValue(bean:costCodeInstance, field:'id')}</td> |
---|
25 | |
---|
26 | </tr> |
---|
27 | |
---|
28 | <tr class="prop"> |
---|
29 | <td valign="top" class="name">Name:</td> |
---|
30 | |
---|
31 | <td valign="top" class="value">${fieldValue(bean:costCodeInstance, field:'name')}</td> |
---|
32 | |
---|
33 | </tr> |
---|
34 | |
---|
35 | <tr class="prop"> |
---|
36 | <td valign="top" class="name">Description:</td> |
---|
37 | |
---|
38 | <td valign="top" class="value">${fieldValue(bean:costCodeInstance, field:'description')}</td> |
---|
39 | |
---|
40 | </tr> |
---|
41 | |
---|
42 | <tr class="prop"> |
---|
43 | <td valign="top" class="name">Is Active:</td> |
---|
44 | |
---|
45 | <td valign="top" class="value">${fieldValue(bean:costCodeInstance, field:'isActive')}</td> |
---|
46 | |
---|
47 | </tr> |
---|
48 | |
---|
49 | <tr class="prop"> |
---|
50 | <td valign="top" class="name">Inventory Item Purchases:</td> |
---|
51 | |
---|
52 | <td valign="top" style="text-align:left;" class="value"> |
---|
53 | <ul> |
---|
54 | <g:each var="i" in="${costCodeInstance.inventoryItemPurchases}"> |
---|
55 | <li><g:link controller="inventoryItemPurchaseDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> |
---|
56 | </g:each> |
---|
57 | </ul> |
---|
58 | </td> |
---|
59 | |
---|
60 | </tr> |
---|
61 | |
---|
62 | </tbody> |
---|
63 | </table> |
---|
64 | </div> |
---|
65 | <div class="buttons"> |
---|
66 | <g:form> |
---|
67 | <input type="hidden" name="id" value="${costCodeInstance?.id}" /> |
---|
68 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
69 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
70 | </g:form> |
---|
71 | </div> |
---|
72 | </div> |
---|
73 | </body> |
---|
74 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.