Templates werden nicht mehr übersetzt gespeichert.
[kivitendo-erp.git] / templates / webpages / fu / search_master.html
1 [%- USE T8 %]
2 [% USE HTML %]
3 <body onload="on_load()">
4
5  <script type="text/javascript">
6   <!--
7       function on_load() {
8         Calendar.setup({ inputField : "follow_up_date_from", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "follow_up_date_from_trigger" });
9         Calendar.setup({ inputField : "follow_up_date_to",   ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "follow_up_date_to_trigger" });
10         Calendar.setup({ inputField : "itime_from",          ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "itime_from_trigger" });
11         Calendar.setup({ inputField : "itime_to",            ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "itime_to_trigger" });
12         document.Form.subject.focus();
13       }
14     -->
15  </script>
16
17  <div class="listtop">[% title %]</div>
18
19  <form action="fu.pl" method="post" name="Form">
20   <input type="hidden" name="nextsub" value="report">
21
22   <p>
23    <table>
24     <tr>
25      <td align="right">[% 'Created for' | $T8 %]</td>
26      <td>
27       <select name="created_for">
28        <option></option>
29        [%- FOREACH row = EMPLOYEES %]
30        <option value="[% HTML.escape(row.id) %]">
31         [%- IF row.name %]
32         [%- HTML.escape(row.name) %] ([% HTML.escape(row.login) %])
33         [%- ELSE %]
34         [%- HTML.escape(row.login) %]
35         [%- END %]
36        </option>
37        [%- END %]
38       </select>
39      </td>
40     </tr>
41
42     <tr>
43      <td align="right">[% 'Subject' | $T8 %]</td>
44      <td><input name="subject" size="20"></td>
45     </tr>
46
47     <tr>
48      <td align="right">[% 'Body' | $T8 %]</td>
49      <td><input name="body" size="20"></td>
50     </tr>
51
52     <tr>
53      <td align="right">[% 'Reference' | $T8 %]</td>
54      <td><input name="reference" size="20"></td>
55     </tr>
56
57     <tr>
58      <td align="right">[% 'Follow-Up Date' | $T8 %]</td>
59      <td>
60       [% 'From' | $T8 %]
61       <input name="follow_up_date_from" id="follow_up_date_from" size="12">
62       <input type="button" name="follow_up_date_from_button" id="follow_up_date_from_trigger" value="?">
63       [% 'To (time)' | $T8 %]
64       <input name="follow_up_date_to" id="follow_up_date_to" size="12">
65       <input type="button" name="follow_up_date_to_button" id="follow_up_date_to_trigger" value="?">
66      </td>
67     </tr>
68
69     <tr>
70      <td align="right">[% 'Created on' | $T8 %]</td>
71      <td>
72       [% 'From' | $T8 %]
73       <input name="itime_from" id="itime_from" size="12">
74       <input type="button" name="itime_from_button" id="itime_from_trigger" value="?">
75       [% 'To (time)' | $T8 %]
76       <input name="itime_to" id="itime_to" size="12">
77       <input type="button" name="itime_to_button" id="itime_to_trigger" value="?">
78      </td>
79     </tr>
80
81     <tr>
82      <td align="right">[% 'Include in Report' | $T8 %]</td>
83      <td>
84
85       <table>
86        <tr>
87         <td>
88          <input type="checkbox" name="due_only" id="due_only" value="1" checked>
89          <label for="due_only">[% 'Only due follow-ups' | $T8 %]</label>
90         </td>
91
92         <td>
93          <input type="checkbox" name="all_users" id="all_users" value="1" checked>
94          <label for="all_users">[% 'Other users\' follow-ups' | $T8 %]</label>
95         </td>
96        </tr>
97
98        <tr>
99         <td>
100          <input type="checkbox" name="not_done" id="not_done" value="1" checked>
101          <label for="not_done">[% 'Not done yet' | $T8 %]</label>
102         </td>
103
104         <td>
105          <input type="checkbox" name="done" id="done" value="1">
106          <label for="done">[% 'Done' | $T8 %]</label>
107         </td>
108        </tr>
109       </table>
110
111      </td>
112     </tr>
113
114    </table>
115   </p>
116
117   <p>
118    <input type="submit" name="action" value="[% 'Continue' | $T8 %]">
119   </p>
120  </form>
121
122 </body>
123 </html>