3 [% USE HTML %]<body onload="fokus()">
5 <form method="post" action="ct.pl" name="Form">
7 <input type="hidden" name="db" value="[% HTML.escape(db) %]">
9 <div class="listtop">[% title %]</div>
13 <th align="right" nowrap>[% IF IS_CUSTOMER %][% 'Customer Number' | $T8 %][% ELSE %][% 'Vendor Number' | $T8 %][% END %]</th>
14 <td><input name="[% IF IS_CUSTOMER %]customer[% ELSE %]vendor[% END %]number" size="35"></td>
18 <th align="right" nowrap>[% IF IS_CUSTOMER %][% 'Customer Name' | $T8 %][%- ELSE %][% 'Vendor Name' | $T8 %][%- END %]</th>
19 <td><input name="name" size="35"></td>
23 <th align="right" nowrap>[% 'Contact' | $T8 %]</th>
24 <td><input name="contact" size="35"></td>
28 <th align="right" nowrap>[% 'E-mail' | $T8 %]</th>
29 <td><input name="email" size="35"></td>
32 <th align="right" nowrap>[% 'Contact person (surname)' | $T8 %]</th>
33 <td><input name="cp_name" size="35"></td>
36 <th align="right" nowrap>[% 'Billing/shipping address (street)' | $T8 %]</th>
37 <td><input name="addr_street" size="35"></td>
40 <th align="right" nowrap>[% 'Billing/shipping address (zipcode)' | $T8 %]</th>
41 <td><input name="addr_zipcode" size="35"></td>
44 <th align="right" nowrap>[% 'Billing/shipping address (city)' | $T8 %]</th>
45 <td><input name="addr_city" size="35"></td>
47 [% IF SHOW_BUSINESS_TYPES %]
49 <th align="right" nowrap>[% IF IS_CUSTOMER %][% 'Customer type' | $T8 %][% ELSE %][% 'Vendor type' | $T8 %][% END %]</th>
51 [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1) %]
56 [% CUSTOM_VARIABLES_FILTER_CODE %]
61 <input name="status" class="radio" type="radio" value="all" checked> [% 'All' | $T8 %]
62 <input name="status" class="radio" type="radio" value="orphaned"> [% 'Orphaned' | $T8 %]
68 <td><input name="obsolete" class="radio" type="radio" value="all"> [% 'All' | $T8 %]
69 <input name="obsolete" class="radio" type="radio" value="Y"> [% 'Obsolete' | $T8 %]
70 <input name="obsolete" class="radio" type="radio" value="N" checked> [% 'Not obsolete' | $T8 %]
75 <th align="right" nowrap>[% 'Include in Report' | $T8 %]</th>
80 <input name="l_id" id="l_id" type="checkbox" class="checkbox" value="Y">
81 <label for="l_id">[% 'ID' | $T8 %]</label>
84 <input name="l_[% db %]number" id="l_[% db %]number" type="checkbox" class="checkbox" value="Y" checked>
85 <label for="l_[% db %]number">[% IF IS_CUSTOMER %][% 'Customer Number' | $T8 %][% ELSE %][% 'Vendor Number' | $T8 %][% END %]</label>
88 <input name="l_name" id="l_name" type="checkbox" class="checkbox" value="Y" checked>
89 <label for="l_name">[% IF IS_CUSTOMER %][% 'Customer Name' | $T8 %][%- ELSE %][% 'Vendor Name' | $T8 %][%- END %]</label>
92 <input name="l_street" id="l_street" type="checkbox" class="checkbox" value="Y" checked>
93 <label for="l_street">[% 'Street' | $T8 %]</label>
99 <input name="l_contact" id="l_contact" type="checkbox" class="checkbox" value="Y" checked>
100 <label for="l_contact">[% 'Contact' | $T8 %]</label>
103 <input name="l_phone" id="l_phone" type="checkbox" class="checkbox" value="Y" checked>
104 <label for="l_phone">[% 'Phone' | $T8 %]</label>
107 <input name="l_fax" id="l_fax" type="checkbox" class="checkbox" value="Y">
108 <label for="l_fax">[% 'Fax' | $T8 %]</label>
111 <input name="l_zipcode" id="l_zipcode" type="checkbox" class="checkbox" value="Y" checked>
112 <label for="l_zipcode">[% 'Zipcode' | $T8 %]</label>
118 <input name="l_taxnumber" id="l_taxnumber" type="checkbox" class="checkbox" value="Y">
119 <label for="l_taxnumber">[% 'Tax Number' | $T8 %]</label>
122 <input name="l_email" id="l_email" type="checkbox" class="checkbox" value="Y" checked>
123 <label for="l_email">[% 'E-mail' | $T8 %]</label>
126 <input name="l_business" id="l_business" type="checkbox" class="checkbox" value="Y">
127 <label for="l_business">[% IF IS_CUSTOMER %][% 'Customer type' | $T8 %][% ELSE %][% 'Vendor type' | $T8 %][% END %]</label>
130 <input name="l_city" id="l_city" type="checkbox" class="checkbox" value="Y" checked>
131 <label for="l_city">[% 'City' | $T8 %]</label>
137 <input name="l_invnumber" id="l_invnumber" type="checkbox" class="checkbox" value="Y">
138 <label for="l_invnumber">[% 'Invoices' | $T8 %]</label>
141 <input name="l_ordnumber" id="l_ordnumber" type="checkbox" class="checkbox" value="Y">
142 <label for="l_ordnumber">[% IF IS_CUSTOMER %][% 'Sales Orders' | $T8 %][% ELSE %][% 'Purchase Orders' | $T8 %][% END %]</label>
145 <input name="l_quonumber" id="l_quonumber" type="checkbox" class="checkbox" value="Y">
146 <label for="l_quonumber">[% IF IS_CUSTOMER %][% 'Quotations' | $T8 %][% ELSE %][% 'RFQs' | $T8 %][% END %]</label>
152 [% CUSTOM_VARIABLES_INCLUSION_CODE %]
159 <input type="hidden" name="nextsub" value="list_names">
161 <input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]">