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