source: trunk/grails-app/views/report/inventoryValueOverview.gsp @ 676

Last change on this file since 676 was 676, checked in by gav, 14 years ago

New report: Inventory Value Overview.

File size: 4.3 KB
Line 
1<html>
2    <head>
3        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
4        <meta name="layout" content="main" />
5        <title>Inventory Overview Value Report</title>
6        <nav:resources override="true"/>
7    </head>
8    <body>
9        <div class="nav">
10            <nav:renderSubItems group="nav"/>
11        </div>
12        <div class="body">
13            <h1>Inventory Overview Value Report</h1>
14            <g:render template="/shared/messages" />
15            <div class="dialog">
16                <table>
17                    <tbody>
18
19                        <g:jasperForm controller="report"
20                                                    action="inventoryValueOverview"
21                                                    jasper="inventoryValueOverview"
22                                                    name="Inventory Value Overview">
23
24                            <tr class="prop">
25                                <td valign="top" class="name">
26                                    <label>Site:</label>
27                                </td>
28                                <td valign="top" class="value">
29                                    <g:select optionKey="id"
30                                                        from="${Site.findAllByIsActive(true).sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }}"
31                                                        name="site.id">
32                                    </g:select>
33                                </td>
34                            </tr>
35
36                            <tr class="prop">
37                                <td valign="top" class="name">
38                                    <label>Inventory Types:</label>
39                                </td>
40                                <td valign="top" class="value">
41                                    <custom:checkBoxList name="inventoryTypes"
42                                                                            from="${InventoryType.findAllByIsActive(true)}"
43                                                                            optionKey="id"
44                                                                            sortBy="name"
45                                                                            linkController="inventoryTypeDetailed"
46                                                                            linkAction="show"
47                                                                            height="150px"/>
48                                </td>
49                            </tr>
50
51                            <tr class="prop">
52                                <td valign="top" class="name">
53                                    <label>Inventory Groups:</label>
54                                </td>
55                                <td valign="top" class="value">
56                                    <custom:checkBoxList name="inventoryGroups"
57                                                                            from="${InventoryGroup.findAllByIsActive(true)}"
58                                                                            optionKey="id"
59                                                                            sortBy="name"
60                                                                            linkController="inventoryGroupDetailed"
61                                                                            linkAction="show"
62                                                                            height="150px"/>
63                                </td>
64                            </tr>
65
66                            <tr class="prop">
67                                <td valign="top" class="name">
68                                    <label>Report:</label>
69                                </td>
70                                <td valign="top" class="value">
71                                    <custom:jasperButtons jasper="inventoryValueOverview" format="PDF, XLS" text="PDF" />
72                                </td>
73                            </tr>
74
75                        </g:jasperForm>
76
77                    </tbody>
78                </table>
79            </div> <!--End dialog-->
80        </div> <!--End body-->
81    </body>
82</html>
Note: See TracBrowser for help on using the repository browser.