Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[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" id="form">
11   <p>
12    <table>
13     <tr>
14      <td align="right">[% 'Created for' | $T8 %]</td>
15      <td>
16       <select name="created_for">
17        <option></option>
18        [%- FOREACH row = EMPLOYEES %]
19        <option value="[% HTML.escape(row.id) %]">
20         [%- IF row.name %]
21         [%- HTML.escape(row.name) %] ([% HTML.escape(row.login) %])
22         [%- ELSE %]
23         [%- HTML.escape(row.login) %]
24         [%- END %]
25        </option>
26        [%- END %]
27       </select>
28      </td>
29     </tr>
30
31     <tr>
32      <td align="right">[% 'Subject' | $T8 %]</td>
33      <td><input name="subject" size="20"></td>
34     </tr>
35
36     <tr>
37      <td align="right">[% 'Body' | $T8 %]</td>
38      <td><input name="body" size="20"></td>
39     </tr>
40
41     <tr>
42      <td align="right">[% 'Reference' | $T8 %]</td>
43      <td><input name="reference" size="20"></td>
44     </tr>
45
46     <tr>
47      <td align="right">[% 'Follow-Up Date' | $T8 %]</td>
48      <td>
49       [% 'From' | $T8 %]
50       [% L.date_tag('follow_up_date_from') %]
51       [% 'To (time)' | $T8 %]
52       [% L.date_tag('follow_up_date_to') %]
53      </td>
54     </tr>
55
56     <tr>
57      <td align="right">[% 'Created on' | $T8 %]</td>
58      <td>
59       [% 'From' | $T8 %]
60       [% L.date_tag('itime_from') %]
61       [% 'To (time)' | $T8 %]
62       [% L.date_tag('itime_to') %]
63      </td>
64     </tr>
65
66     <tr>
67      <td align="right">[% 'Include in Report' | $T8 %]</td>
68      <td>
69
70       <table>
71        <tr>
72         <td>
73          <input type="checkbox" name="due_only" id="due_only" value="1" checked>
74          <label for="due_only">[% 'Only due follow-ups' | $T8 %]</label>
75         </td>
76
77         <td>
78          <input type="checkbox" name="all_users" id="all_users" value="1" checked>
79          <label for="all_users">[% 'Other users\' follow-ups' | $T8 %]</label>
80         </td>
81        </tr>
82
83        <tr>
84         <td>
85          <input type="checkbox" name="not_done" id="not_done" value="1" checked>
86          <label for="not_done">[% 'Not done yet' | $T8 %]</label>
87         </td>
88
89         <td>
90          <input type="checkbox" name="done" id="done" value="1">
91          <label for="done">[% 'Done' | $T8 %]</label>
92         </td>
93        </tr>
94       </table>
95
96      </td>
97     </tr>
98
99    </table>
100   </p>
101  </form>