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 InventoryMovement</title> |
---|
8 | </head> |
---|
9 | <body> |
---|
10 | <div class="nav"> |
---|
11 | <h1>Show Inventory Movement</h1> |
---|
12 | </div> |
---|
13 | <div class="body"> |
---|
14 | <g:if test="${flash.message}"> |
---|
15 | <div class="message">${flash.message}</div> |
---|
16 | </g:if> |
---|
17 | <g:hasErrors bean="${inventoryMovementInstance}"> |
---|
18 | <div class="errors"> |
---|
19 | <g:renderErrors bean="${inventoryMovementInstance}" as="list" /> |
---|
20 | </div> |
---|
21 | </g:hasErrors> |
---|
22 | <div class="dialog"> |
---|
23 | <table> |
---|
24 | <tbody> |
---|
25 | |
---|
26 | |
---|
27 | <tr class="prop"> |
---|
28 | <td valign="top" class="name">Id:</td> |
---|
29 | |
---|
30 | <td valign="top" class="value">${fieldValue(bean:inventoryMovementInstance, field:'id')}</td> |
---|
31 | |
---|
32 | </tr> |
---|
33 | |
---|
34 | <tr class="prop"> |
---|
35 | <td valign="top" class="name">Inventory Item:</td> |
---|
36 | |
---|
37 | <td valign="top" class="value"><g:link controller="inventoryItemDetailed" action="show" id="${inventoryMovementInstance?.inventoryItem?.id}">${inventoryMovementInstance?.inventoryItem?.encodeAsHTML()}</g:link></td> |
---|
38 | |
---|
39 | </tr> |
---|
40 | |
---|
41 | <tr class="prop"> |
---|
42 | <td valign="top" class="name">Quantity:</td> |
---|
43 | |
---|
44 | <td valign="top" class="value">${fieldValue(bean:inventoryMovementInstance, field:'quantity')}</td> |
---|
45 | |
---|
46 | </tr> |
---|
47 | |
---|
48 | <tr class="prop"> |
---|
49 | <td valign="top" class="name">Movement Type:</td> |
---|
50 | |
---|
51 | <td valign="top" class="value">${inventoryMovementInstance?.inventoryMovementType?.encodeAsHTML()}</td> |
---|
52 | |
---|
53 | </tr> |
---|
54 | |
---|
55 | <tr class="prop"> |
---|
56 | <td valign="top" class="name">Task:</td> |
---|
57 | |
---|
58 | <td valign="top" class="value"><g:link controller="taskDetailed" action="show" id="${inventoryMovementInstance?.task?.id}">${inventoryMovementInstance?.task?.encodeAsHTML()}</g:link></td> |
---|
59 | |
---|
60 | </tr> |
---|
61 | |
---|
62 | <tr class="prop"> |
---|
63 | <td valign="top" class="name">Date:</td> |
---|
64 | |
---|
65 | <td valign="top" class="value"> |
---|
66 | <g:formatDate date="${inventoryMovementInstance?.date}" format="EEE, dd-MMM-yyyy @ HH:mm"/> |
---|
67 | </td> |
---|
68 | |
---|
69 | </tr> |
---|
70 | |
---|
71 | </tbody> |
---|
72 | </table> |
---|
73 | </div> |
---|
74 | <div class="buttons"> |
---|
75 | <g:form> |
---|
76 | <input type="hidden" name="id" value="${inventoryMovementInstance?.id}" /> |
---|
77 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
78 | </g:form> |
---|
79 | </div> |
---|
80 | </div> |
---|
81 | </body> |
---|
82 | </html> |
---|