Symlink für Brieffunktion. Ferner vergessenes template-Verzeichnis
[kivitendo-erp.git] / templates / webpages / letter / search.html
1 [% USE HTML %]
2 [% USE T8 %]
3 <body onload="on_load()">
4
5  <script type="text/javascript">
6   <!--
7       function on_load() {
8         Calendar.setup({ inputField : "date_from", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "date_from_trigger" });
9         Calendar.setup({ inputField : "date_to",   ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "date_to_trigger" });
10         document.Form.subject.focus();
11       }
12     -->
13  </script>
14
15  <div class="listtop">[% title %]</div>
16
17  <form action="letter.pl" method="post" name="Form">
18   <input type="hidden" name="nextsub" value="report">
19
20   <p>
21    <table>
22     <tr>
23      <th align='right'>[% 'Letternumber' | $T8 %]</th>
24      <td><input name='letternumber' style='width:250px' value='[% letternumber %]'></th>
25     </tr>
26     <tr>
27      <td align="right">[% 'Customer' | $T8 %]</td>
28      <td>
29         [%- INCLUDE 'generic/multibox.html'
30              name          = 'customer',
31              style         = 'width:250px',
32              DATA          = ALL_CUSTOMERS,
33              id_key        = 'id',
34              label_key     = 'name',
35              select        = vc_select,
36              limit         = myconfig_vclimit,
37              allow_textbox = 1,
38              show_empty    = 1,
39              force_textbox = limit_exceeded_all_customer
40              onChange      = "document.getElementById('update_button').click();" -%]
41 [%- IF myconfig_vclimit > ALL_CUSTOMERS.size %]
42        <input type="hidden" name='selectcustomer' value="1">
43 [%- END %]
44      </td>
45     </tr>
46
47     <tr>
48      <td align="right">[% 'Contact' | $T8 %]</td>
49      <td><input name="contact" style='width:250px'></td>
50     </tr>
51
52     <tr>
53      <td align="right">[% 'Subject' | $T8 %]</td>
54      <td><input name="subject" style='width:250px'></td>
55     </tr>
56
57     <tr>
58      <td align="right">[% 'Body' | $T8 %]</td>
59      <td><input name="body" style='width:250px'></td>
60     </tr>
61
62     <tr>
63      <td align='right'>[% 'From' | $T8 %]</td>
64      <td>
65       <input name="date_from" id="date_from" size="12">
66       <input type="button" name="date_from_button" id="date_from_trigger" value="?">
67       [% 'To (time)' | $T8 %]
68       <input name="date_to" id="date_to" size="12">
69       <input type="button" name="date_to_button" id="date_to_trigger" value="?">
70      </td>
71     </tr>
72 <!--
73     <tr>
74      <td align="right">[% 'Include in Report' | $T8 %]</td>
75      <td>
76
77       <table>
78       </table>
79
80      </td>
81     </tr>
82 -->
83    </table>
84   </p>
85
86   <p>
87    <input type="submit" name="action" value="[% 'Continue' | $T8 %]">
88   </p>
89  </form>
90
91 </body>
92 </html>