3 [%- USE HTML %][%- USE LxERP -%]
6 <form method="post" action="ct.pl" name="Form" id="form">
8 <input type="hidden" name="db" value="[% HTML.escape(db) %]">
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>
17 <th align="right" nowrap>[% IF IS_CUSTOMER %][% 'Customer Name' | $T8 %][%- ELSE %][% 'Vendor Name' | $T8 %][%- END %]</th>
18 <td><input id="name" name="name" size="35" class="initial_focus"></td>
22 <th align="right" nowrap>[% 'Department' | $T8 %]</th>
23 <td><input type="text" name="department_1" size="35"></td>
27 <td><input type="text" name="department_2" size="35"></td>
31 <th align="right" nowrap>[% 'Contact' | $T8 %]</th>
32 <td><input name="contact" size="35"></td>
36 <th align="right" nowrap>[% 'E-mail' | $T8 %]</th>
37 <td><input name="email" size="35"></td>
40 <th align="right" nowrap>[% 'All phone numbers' | $T8 %]</th>
41 <td><input name="all_phonenumbers" size="35"></td>
44 <th align="right" nowrap>[% 'Contact person (surname)' | $T8 %]</th>
45 <td><input name="cp_name" size="35"></td>
48 <th align="right" nowrap>[% 'Billing/shipping address (street)' | $T8 %]</th>
49 <td><input name="addr_street" size="35"></td>
52 <th align="right" nowrap>[% 'Billing/shipping address (zipcode)' | $T8 %]</th>
53 <td><input name="addr_zipcode" size="35"></td>
56 <th align="right" nowrap>[% 'Billing/shipping address (city)' | $T8 %]</th>
57 <td><input name="addr_city" size="35"></td>
60 <th align="right" nowrap>[% 'Billing/shipping address (country)' | $T8 %]</th>
61 <td><input name="addr_country" size="35"></td>
64 <th align="right" nowrap>[% 'Billing/shipping address (GLN)' | $T8 %]</th>
65 <td><input name="addr_gln" size="35"></td>
68 [% IF SHOW_BUSINESS_TYPES %]
70 <th align="right" nowrap>[% IF IS_CUSTOMER %][% 'Customer type' | $T8 %][% ELSE %][% 'Vendor type' | $T8 %][% END %]</th>
72 [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1) %]
78 <th align="right" nowrap>[% 'Payment Term' | $T8 %]</th>
79 <td>[% L.select_tag('payment_id', ALL_PAYMENT_TERMS, with_empty=1, title_key='description', with_empty=1) %]</td>
83 <th align="right">[% 'Tax rate' | $T8 %]</th>
84 <td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description') %]</td>
89 <th align="right" nowrap>[% LxERP.t8("Factur-X/ZUGFeRD settings") %]</th>
90 <td>[% L.select_tag('create_zugferd_invoices', ZUGFERD_SETTINGS, with_empty = 1) %]</td>
94 [% IF IS_CUSTOMER && ALL_SALESMEN.size %]
96 <th align="right" nowrap>[% 'Salesman' | $T8 %]</th>
98 [% L.select_tag('salesman_id', ALL_SALESMEN, title_key = 'name', with_empty = 1) %]
104 <th align="right">[% 'Insert Date' | $T8 %] [% 'From' | $T8 %]</th>
106 [% L.date_tag('insertdatefrom') %]
108 <th align="right">[% 'Bis' | $T8 %]</th>
110 [% L.date_tag('insertdateto') %]
115 <th align="right" nowrap>[% 'Dunning lock' | $T8 %]</th>
116 <td>[% L.yes_no_tag('dunning_lock', dunning_lock, default='', with_empty=1) %]</td>
120 [% CUSTOM_VARIABLES_FILTER_CODE %]
125 <input name="status" class="radio" type="radio" value="all" checked> [% 'All' | $T8 %]
126 <input name="status" class="radio" type="radio" value="orphaned"> [% 'Orphaned' | $T8 %]
132 <td><input name="obsolete" class="radio" type="radio" value="all"> [% 'All' | $T8 %]
133 <input name="obsolete" class="radio" type="radio" value="Y"> [% 'Obsolete' | $T8 %]
134 <input name="obsolete" class="radio" type="radio" value="N" checked> [% 'Not obsolete' | $T8 %]
139 <th align="right" nowrap>[% 'Include in Report' | $T8 %]</th>
144 <input name="l_id" id="l_id" type="checkbox" class="checkbox" value="Y">
145 <label for="l_id">[% 'ID' | $T8 %]</label>
148 <input name="l_[% db | html %]number" id="l_[% db | html %]number" type="checkbox" class="checkbox" value="Y" checked>
149 <label for="l_[% db | html %]number">[% IF IS_CUSTOMER %][% 'Customer Number' | $T8 %][% ELSE %][% 'Vendor Number' | $T8 %][% END %]</label>
152 <input name="l_name" id="l_name" type="checkbox" class="checkbox" value="Y" checked>
153 <label for="l_name">[% IF IS_CUSTOMER %][% 'Customer Name' | $T8 %][%- ELSE %][% 'Vendor Name' | $T8 %][%- END %]</label>
156 <input name="l_street" id="l_street" type="checkbox" class="checkbox" value="Y" checked>
157 <label for="l_street">[% 'Street' | $T8 %]</label>
163 <input name="l_contact" id="l_contact" type="checkbox" class="checkbox" value="Y" checked>
164 <label for="l_contact">[% 'Contact' | $T8 %]</label>
167 <input name="l_phone" id="l_phone" type="checkbox" class="checkbox" value="Y" checked>
168 <label for="l_phone">[% 'Phone' | $T8 %]</label>
171 <input name="l_fax" id="l_fax" type="checkbox" class="checkbox" value="Y">
172 <label for="l_fax">[% 'Fax' | $T8 %]</label>
175 <input name="l_zipcode" id="l_zipcode" type="checkbox" class="checkbox" value="Y" checked>
176 <label for="l_zipcode">[% 'Zipcode' | $T8 %]</label>
182 <input name="l_taxnumber" id="l_taxnumber" type="checkbox" class="checkbox" value="Y">
183 <label for="l_taxnumber">[% 'Tax Number' | $T8 %]</label>
186 <input name="l_email" id="l_email" type="checkbox" class="checkbox" value="Y" checked>
187 <label for="l_email">[% 'E-mail' | $T8 %]</label>
190 <input name="l_business" id="l_business" type="checkbox" class="checkbox" value="Y">
191 <label for="l_business">[% IF IS_CUSTOMER %][% 'Customer type' | $T8 %][% ELSE %][% 'Vendor type' | $T8 %][% END %]</label>
194 <input name="l_city" id="l_city" type="checkbox" class="checkbox" value="Y" checked>
195 <label for="l_city">[% 'City' | $T8 %]</label>
201 <input name="l_invnumber" id="l_invnumber" type="checkbox" class="checkbox" value="Y">
202 <label for="l_invnumber">[% 'Invoices' | $T8 %]</label>
205 <input name="l_ordnumber" id="l_ordnumber" type="checkbox" class="checkbox" value="Y">
206 <label for="l_ordnumber">[% IF IS_CUSTOMER %][% 'Sales Orders' | $T8 %][% ELSE %][% 'Purchase Orders' | $T8 %][% END %]</label>
209 <input name="l_quonumber" id="l_quonumber" type="checkbox" class="checkbox" value="Y">
210 <label for="l_quonumber">[% IF IS_CUSTOMER %][% 'Quotations' | $T8 %][% ELSE %][% 'RFQs' | $T8 %][% END %]</label>
213 <input name="l_country" id="l_country" type="checkbox" class="checkbox" value="Y" checked>
214 <label for="l_country">[% 'Country' | $T8 %]</label>
219 <input name="l_discount" id="l_discount" type="checkbox" class="checkbox" value="Y">
220 <label for="l_discount">[% 'Discount' | $T8 %]</label>
223 <input name="l_payment" id="l_payment" type="checkbox" class="checkbox" value="Y">
224 <label for="l_payment">[% 'Payment Terms' | $T8 %]</label>
227 <input name="l_taxzone" id="l_taxzone" type="checkbox" class="checkbox" value="Y">
228 <label for="l_taxzone">[% 'Tax rate' | $T8 %]</label>
231 <input name="l_insertdate" id="l_insertdate" class="checkbox" type="checkbox" value="Y">
232 <label for="l_insertdate">[% 'Insert Date' | $T8 %]</label>
235 <input name="l_gln" id="l_gln" type="checkbox" class="checkbox" value="Y" checked>
236 <label for="l_gln">[% 'GLN' | $T8 %]</label>
242 <input name="l_salesman" id="l_salesman" type="checkbox" class="checkbox" value="Y">
243 <label for="l_salesman">[% 'Salesman' | $T8 %]</label>
246 <input name="l_pricegroup" id="l_pricegroup" type="checkbox" class="checkbox" value="Y">
247 <label for="l_pricegroup">[% 'Pricegroup' | $T8 %]</label>
250 <input name="l_contact_origin" id="l_contact_origin" type="checkbox" class="checkbox" value="Y">
251 <label for="l_contact_origin">[% 'Origin of personal data' | $T8 %]</label>
254 <input name="l_invoice_mail" id="l_invoice_mail" type="checkbox" class="checkbox" value="Y">
255 <label for="l_invoice_mail">[% 'Email of the invoice recipient' | $T8 %]</label>
261 <input name="l_ustid" id="l_ustid" type="checkbox" class="checkbox" value="Y">
262 <label for="l_ustid">[% 'VAT ID' | $T8 %]</label>
265 <input name="l_main_contact_person" id="l_main_contact_person" type="checkbox" class="checkbox" value="Y">
266 <label for="l_main_contact_person">[% 'Main Contact Person' | $T8 %]</label>
268 [% IF !IS_CUSTOMER %]
272 <input name="l_creditlimit" id="l_creditlimit" type="checkbox" class="checkbox" value="Y">
273 <label for="l_creditlimit">[% 'Credit Limit' | $T8 %]</label>
276 <input name="l_commercial_court" id="l_commercial_court" type="checkbox" class="checkbox" value="Y">
277 <label for="l_commercial_court">[% 'Commercial court' | $T8 %]</label>
283 <input name="l_delivery_order_mail" id="l_delivery_order_mail" type="checkbox" class="checkbox" value="Y">
284 <label for="l_delivery_order_mail">[% 'Email of the delivery order recipient' | $T8 %]</label>
287 <input name="l_department_1" id="l_department_1" type="checkbox" class="checkbox" value="Y">
288 <label for="l_department_1">[% 'Department' | $T8 %] 1</label>
291 <input name="l_department_2" id="l_department_2" type="checkbox" class="checkbox" value="Y">
292 <label for="l_department_2">[% 'Department' | $T8 %] 2</label>
295 <input name="l_dunning_lock" id="l_dunning_lock" type="checkbox" class="checkbox" value="Y">
296 <label for="l_dunning_lock">[% 'Dunning lock' | $T8 %]</label>
301 [% CUSTOM_VARIABLES_INCLUSION_CODE %]