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