Last change
on this file since 853 was
706,
checked in by gav, 14 years ago
|
Implement ticket #88 - "Implement Regulatory Task Completion on Equipmet Register Report OH&S"
|
File size:
2.9 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>Equipment Register (OH&S) Report</title> |
---|
6 | <nav:resources override="true"/> |
---|
7 | <resource:dateChooser /> |
---|
8 | </head> |
---|
9 | <body> |
---|
10 | <div class="nav"> |
---|
11 | <nav:renderSubItems group="nav"/> |
---|
12 | </div> |
---|
13 | <div class="body"> |
---|
14 | <h1>Equipment Register (OH&S) Report</h1> |
---|
15 | <g:render template="/shared/messages" /> |
---|
16 | <div class="dialog"> |
---|
17 | <table> |
---|
18 | <tbody> |
---|
19 | |
---|
20 | <g:jasperForm controller="report" |
---|
21 | action="equipmentRegisterOhs" |
---|
22 | jasper="equipmentRegisterOhs" |
---|
23 | name="Equipment Register (OH&S)"> |
---|
24 | |
---|
25 | <tr class="prop"> |
---|
26 | <td valign="top" class="name"> |
---|
27 | <label>Date:</label> |
---|
28 | </td> |
---|
29 | <td valign="top" class="value"> |
---|
30 | <richui:dateChooser name="startDate" id="equipmentRegisterOhs_startDate" format="dd-MM-yyyy" value="${new Date()-7}" /> |
---|
31 | to |
---|
32 | <richui:dateChooser name="endDate" id="equipmentRegisterOhs_endDate" format="dd-MM-yyyy" value="${new Date()}" /> |
---|
33 | </td> |
---|
34 | </tr> |
---|
35 | |
---|
36 | <tr class="prop"> |
---|
37 | <td valign="top" class="name"> |
---|
38 | <label>Section:</label> |
---|
39 | </td> |
---|
40 | <td valign="top" class="value"> |
---|
41 | <g:select optionKey="id" |
---|
42 | from="${Section.findAllByIsActive(true).sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }}" |
---|
43 | name="section.id"> |
---|
44 | </g:select> |
---|
45 | </td> |
---|
46 | </tr> |
---|
47 | |
---|
48 | <tr class="prop"> |
---|
49 | <td valign="top" class="name"> |
---|
50 | <label>Report:</label> |
---|
51 | </td> |
---|
52 | <td valign="top" class="value"> |
---|
53 | <custom:jasperButtons jasper="equipmentRegisterOhs" format="PDF, XLS" text="PDF" /> |
---|
54 | </td> |
---|
55 | </tr> |
---|
56 | |
---|
57 | </g:jasperForm> |
---|
58 | |
---|
59 | </tbody> |
---|
60 | </table> |
---|
61 | </div> <!--End dialog--> |
---|
62 | </div> <!--End body--> |
---|
63 | </body> |
---|
64 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.