2
<h3>$i18n.getString('view_report')</h3>
4
<form id="reportForm" name="reportForm" action="" method="post">
15
<td><label for="reportType">$i18n.getString( "report_type" )</label></td>
16
<td><input type="radio" id="reportType" name="reportType" value="0" onclick="listDesigns()"#if ( $reportType == 0 ) checked#end> $i18n.getString( "generic_standard" )<br>
17
<input type="radio" id="reportType" name="reportType" value="1" onclick="listDesigns()"#if ( $reportType == 1 ) checked#end> $i18n.getString( "organisation_unit_spesific" )</td>
22
<td><label for="report">$i18n.getString( "design" )</label></td>
24
<select id="report" name="report" style="width:230px">
25
<option value="">[ $i18n.getString( "select_design" ) ]</option>>
26
<option value="hue_bieu_CoverSignature">$i18n.getString( "hue_bieu_CoverSignature" )</option>
27
<option value="Hue_bieu_1">$i18n.getString( "hue_bieu_1" )</option>
28
<option value="Hue_bieu_2">$i18n.getString( "hue_bieu_2" )</option>
29
<option value="Hue_bieu_3">$i18n.getString( "hue_bieu_3" )</option>
30
<option value="Hue_bieu_4">$i18n.getString( "hue_bieu_4" )</option>
31
<option value="Hue_bieu_5">$i18n.getString( "hue_bieu_5" )</option>
32
<option value="Hue_bieu_7">$i18n.getString( "hue_bieu_7" )</option>
33
<option value="Hue_bieu_9">$i18n.getString( "hue_bieu_9" )</option>
34
<option value="Hue_bieu_10">$i18n.getString( "hue_bieu_10" )</option>
35
<option value="Hue_bieu_11">$i18n.getString( "hue_bieu_11" )</option>
36
<option value="Hue_bieu_12">$i18n.getString( "hue_bieu_12" )</option>
37
<option value="Hue_bieu_13">$i18n.getString( "hue_bieu_13" )</option>
38
<option value="Hue_bieu_14">$i18n.getString( "hue_bieu_14" )</option>
39
#foreach ( $design in $designs )
40
<option value="$design"
41
#if ( $report == $design ) selected="selected"#end
42
>$encoder.htmlEncode( $design )</option>
50
<td><label for="startDate">$i18n.getString('start_date') ($i18n.getString( "format.date.label" ))</label></td>
51
<td><input type="text" id="startDate" name="startDate" value="$!startDate" style="width:230px"></td>
52
<td><img src="../images/calendar_icon.gif" width="16" height="16" id="getStartDate" cursor: pointer;" title="$i18n.getString( "date_selector" )" onmouseover="this.style.background='orange';" onmouseout="this.style.background=''"></td>
56
<td><label for="endDate">$i18n.getString('end_date') ($i18n.getString( "format.date.label" ))</label></td>
57
<td><input type="text" id="endDate" name="endDate" value="$!endDate" style="width:230px"></td>
58
<td><img src="../images/calendar_icon.gif" width="16" height="16" id="getEndDate" cursor: pointer;" title="$i18n.getString( "date_selector" )" onmouseover="this.style.background='orange';" onmouseout="this.style.background=''"></td>
61
<script type="text/javascript">
63
inputField : "startDate", // id of the input field
64
ifFormat : "$i18n.getString("format.date.label")", // format of the input field
65
button : "getStartDate" // trigger for the calendar (button ID)
69
inputField : "endDate", // id of the input field
70
ifFormat : "$i18n.getString("format.date.label")", // format of the input field
71
button : "getEndDate" // trigger for the calendar (button ID)
77
<td><input type="button" value="$i18n.getString( "preview" )" style="width:115px" onclick="previewReport()"><input type="button" value="$i18n.getString( "generate" )" style="width:115px" onclick="generateReport()"></td>
82
<td colspan="3" height="40"></td>
89
<span id="message"#if ( $message ) style="display:block"#end>$!message</span>