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