fokus gibt es nicht mehr als javascriptfunktion, also überall aus dem onload genommen.
[kivitendo-erp.git] / templates / webpages / ct / search.html
1 [%- USE T8 %]
2 [%- USE L %]
3 [%- USE HTML %]
4  <form method="post" action="ct.pl" name="Form">
5
6   <input type="hidden" name="db" value="[% HTML.escape(db) %]">
7
8   <div class="listtop">[% title %]</div>
9
10   <table>
11    <tr>
12     <th align="right" nowrap>[% IF IS_CUSTOMER %][% 'Customer Number' | $T8 %][% ELSE %][% 'Vendor Number' | $T8 %][% END %]</th>
13     <td><input name="[% IF IS_CUSTOMER %]customer[% ELSE %]vendor[% END %]number" size="35"></td>
14    </tr>
15
16    <tr>
17     <th align="right" nowrap>[% IF IS_CUSTOMER %][% 'Customer Name' | $T8 %][%- ELSE %][% 'Vendor Name' | $T8 %][%- END %]</th>
18     <td><input name="name" size="35"></td>
19    </tr>
20
21    <tr>
22     <th align="right" nowrap>[% 'Contact' | $T8 %]</th>
23     <td><input name="contact" size="35"></td>
24    </tr>
25
26    <tr>
27     <th align="right" nowrap>[% 'E-mail' | $T8 %]</th>
28     <td><input name="email" size="35"></td>
29    </tr>
30    <tr>
31     <th align="right" nowrap>[% 'Contact person (surname)' | $T8 %]</th>
32     <td><input name="cp_name" size="35"></td>
33    </tr>
34    </tr>
35     <th align="right" nowrap>[% 'Billing/shipping address (street)' | $T8 %]</th>
36     <td><input name="addr_street" size="35"></td>
37    </tr>
38  <tr>
39     <th align="right" nowrap>[% 'Billing/shipping address (zipcode)' | $T8 %]</th>
40     <td><input name="addr_zipcode" size="35"></td>
41  </tr>
42    <tr>
43     <th align="right" nowrap>[% 'Billing/shipping address (city)' | $T8 %]</th>
44     <td><input name="addr_city" size="35"></td>
45    </tr>
46    [% IF SHOW_BUSINESS_TYPES %]
47    <tr>
48     <th align="right" nowrap>[% IF IS_CUSTOMER %][% 'Customer type' | $T8 %][% ELSE %][% 'Vendor type' | $T8 %][% END %]</th>
49     <td>
50      [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1) %]
51     </td>
52    </tr>
53    [% END %]
54
55    [% CUSTOM_VARIABLES_FILTER_CODE %]
56
57    <tr>
58     <td></td>
59     <td>
60      <input name="status" class="radio" type="radio" value="all" checked> [% 'All' | $T8 %]
61      <input name="status" class="radio" type="radio" value="orphaned"> [% 'Orphaned' | $T8 %]
62     </td>
63    </tr>
64
65    <tr>
66     <td></td>
67     <td><input name="obsolete" class="radio" type="radio" value="all"> [% 'All' | $T8 %]
68      <input name="obsolete" class="radio" type="radio" value="Y"> [% 'Obsolete' | $T8 %]
69      <input name="obsolete" class="radio" type="radio" value="N" checked> [% 'Not obsolete' | $T8 %]
70     </td>
71    </tr>
72
73    <tr>
74     <th align="right" nowrap>[% 'Include in Report' | $T8 %]</th>
75     <td>
76      <table border="0">
77       <tr>
78        <td>
79         <input name="l_id" id="l_id" type="checkbox" class="checkbox" value="Y">
80         <label for="l_id">[% 'ID' | $T8 %]</label>
81        </td>
82        <td>
83         <input name="l_[% db %]number" id="l_[% db %]number" type="checkbox" class="checkbox" value="Y" checked>
84         <label for="l_[% db %]number">[% IF IS_CUSTOMER %][% 'Customer Number' | $T8 %][% ELSE %][% 'Vendor Number' | $T8 %][% END %]</label>
85        </td>
86        <td>
87         <input name="l_name" id="l_name" type="checkbox" class="checkbox" value="Y" checked>
88         <label for="l_name">[% IF IS_CUSTOMER %][% 'Customer Name' | $T8 %][%- ELSE %][% 'Vendor Name' | $T8 %][%- END %]</label>
89        </td>
90        <td>
91         <input name="l_street" id="l_street" type="checkbox" class="checkbox" value="Y" checked>
92         <label for="l_street">[% 'Street' | $T8 %]</label>
93        </td>
94       </tr>
95
96       <tr>
97        <td>
98         <input name="l_contact" id="l_contact" type="checkbox" class="checkbox" value="Y" checked>
99         <label for="l_contact">[% 'Contact' | $T8 %]</label>
100        </td>
101        <td>
102         <input name="l_phone" id="l_phone" type="checkbox" class="checkbox" value="Y" checked>
103         <label for="l_phone">[% 'Phone' | $T8 %]</label>
104        </td>
105        <td>
106         <input name="l_fax" id="l_fax" type="checkbox" class="checkbox" value="Y">
107         <label for="l_fax">[% 'Fax' | $T8 %]</label>
108        </td>
109        <td>
110         <input name="l_zipcode" id="l_zipcode" type="checkbox" class="checkbox" value="Y" checked>
111         <label for="l_zipcode">[% 'Zipcode' | $T8 %]</label>
112        </td>
113       </tr>
114
115       <tr>
116        <td>
117         <input name="l_taxnumber" id="l_taxnumber" type="checkbox" class="checkbox" value="Y">
118         <label for="l_taxnumber">[% 'Tax Number' | $T8 %]</label>
119        </td>
120        <td>
121         <input name="l_email" id="l_email" type="checkbox" class="checkbox" value="Y" checked>
122         <label for="l_email">[% 'E-mail' | $T8 %]</label>
123        </td>
124        <td>
125         <input name="l_business" id="l_business" type="checkbox" class="checkbox" value="Y">
126         <label for="l_business">[% IF IS_CUSTOMER %][% 'Customer type' | $T8 %][% ELSE %][% 'Vendor type' | $T8 %][% END %]</label>
127        </td>
128        <td>
129         <input name="l_city" id="l_city" type="checkbox" class="checkbox" value="Y" checked>
130         <label for="l_city">[% 'City' | $T8 %]</label>
131       </td>
132       </tr>
133
134       <tr>
135        <td>
136         <input name="l_invnumber" id="l_invnumber" type="checkbox" class="checkbox" value="Y">
137         <label for="l_invnumber">[% 'Invoices' | $T8 %]</label>
138        </td>
139        <td>
140         <input name="l_ordnumber" id="l_ordnumber" type="checkbox" class="checkbox" value="Y">
141         <label for="l_ordnumber">[% IF IS_CUSTOMER %][% 'Sales Orders' | $T8 %][% ELSE %][% 'Purchase Orders' | $T8 %][% END %]</label>
142        </td>
143        <td>
144         <input name="l_quonumber" id="l_quonumber" type="checkbox" class="checkbox" value="Y">
145         <label for="l_quonumber">[% IF IS_CUSTOMER %][% 'Quotations' | $T8 %][% ELSE %][% 'RFQs' | $T8 %][% END %]</label>
146        </td>
147        <td>
148        </td>
149       </tr>
150
151       [% CUSTOM_VARIABLES_INCLUSION_CODE %]
152
153      </table>
154     </td>
155    </tr>
156   </table>
157
158   <input type="hidden" name="nextsub" value="list_names">
159
160   <input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]">
161  </form>
162