8 <form method="post" action="ct.pl" name="Form" id="form">
9 <input type="hidden" name="db" value="[% HTML.escape(db) %]">
13 <table class="tbl-horizontal">
14 <caption> [% 'Customer & Contact' | $T8 %] </caption>
17 <th>[% IF IS_CUSTOMER %][% 'Customer Number' | $T8 %][% ELSE %][% 'Vendor Number' | $T8 %][% END %] </th>
18 <td><input type="text" name="[% IF IS_CUSTOMER %]customer[% ELSE %]vendor[% END %]number" class="wi-normal"></td>
21 <th>[% IF IS_CUSTOMER %][% 'Customer Name' | $T8 %][% ELSE %][% 'Vendor Name' | $T8 %][% END %] </th>
22 <td><input type="text" id="name" name="name" class="initial_focus wi-normal"></td>
25 <th>[% 'Department' | $T8 %]</th>
26 <td><input type="text" name="department_1" class="wi-normal"></td>
30 <td><input type="text" name="department_2" class="wi-normal"></td>
33 <th>[% 'Contact' | $T8 %] </th>
34 <td><input type="text" name="contact" class="wi-normal"></td>
37 <th>[% 'Contact person (surname)' | $T8 %] </th>
38 <td><input type="text" name="cp_name" class="wi-normal"></td>
41 <th>[% 'E-mail' | $T8 %] </th>
42 <td><input type="text" name="email" class="wi-normal"></td>
45 <th>[% 'All phone numbers' | $T8 %]</th>
46 <td><input type="text" name="all_phonenumbers" class="wi-normal"></td>
50 <th>[% 'Dunning lock' | $T8 %]</th>
51 <td>[% L.yes_no_tag('dunning_lock', dunning_lock, default='', with_empty=1, class="wi-normal") %]</td>
57 <table class="tbl-horizontal">
58 <caption> [% 'Billing/shipping address' | $T8 %] </caption>
61 <th>[% 'Street' | $T8 %] </th>
62 <td><input type="text" name="addr_street" class="wi-normal"></td>
65 <th>[% 'ZIPcode' | $T8 %] </th>
66 <td><input type="text" name="addr_zipcode" class="wi-normal"></td>
69 <th>[% 'City' | $T8 %] </th>
70 <td><input type="text" name="addr_city" class="wi-normal"></td>
73 <th>[% 'Country' | $T8 %] </th>
74 <td><input type="text" name="addr_country" class="wi-normal"></td>
77 <th>[% 'GLN' | $T8 %] </th>
78 <td><input type="text" name="addr_gln" class="wi-number"></td>
84 <table class="tbl-horizontal">
85 <caption> [% 'Handling & Scope' | $T8 %] </caption>
87 [% IF SHOW_BUSINESS_TYPES %]
89 <th>[% IF IS_CUSTOMER %][% 'Customer type' | $T8 %][% ELSE %][% 'Vendor type' | $T8 %][% END %] </th>
90 <td>[% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, class='wi-lightwide') %] </td>
95 <th>[% LxERP.t8("Factur-X/ZUGFeRD settings") %]</th>
96 <td>[% L.select_tag('create_zugferd_invoices', ZUGFERD_SETTINGS, with_empty = 1) %]</td>
99 [% IF IS_CUSTOMER && ALL_SALESMEN.size %]
101 <th>[% 'Salesman' | $T8 %] </th>
102 <td>[% L.select_tag('salesman_id', ALL_SALESMEN, title_key = 'name', with_empty = 1, class='wi-lightwide') %] </td>
106 <th>[% 'Insert Date' | $T8 %] [% 'From' | $T8 %] </th>
107 <td>[% L.date_tag('insertdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('insertdateto') %] <!-- PENDENT: Klassen implementieren in Funktion --></td>
110 <th>[% 'Payment Term' | $T8 %]</th>
111 <td>[% L.select_tag('payment_id', ALL_PAYMENT_TERMS, with_empty=1, title_key='description', with_empty=1, class="wi-lightwide") %]</td>
114 <th>[% 'Tax rate' | $T8 %]</th>
115 <td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', class="wi-lightwide") %]</td>
117 [% CUSTOM_VARIABLES_FILTER_CODE %]
119 <th>[% 'Scope' | $T8 %] </th>
121 <input name="status" type="radio" value="all" checked id="chckb1"> <label for="chckb1">[% 'All' | $T8 %]</label>
122 <input name="status" type="radio" value="orphaned" id="chckb2"> <label for="chckb2">[% 'Orphaned' | $T8 %]</label>
126 <th>[% 'Validity' | $T8 %] </th>
128 <input name="obsolete" type="radio" value="all" id="rd1"> <label for="rd1">[% 'All' | $T8 %]</label>
129 <input name="obsolete" type="radio" value="Y" id="rd2"> <label for="rd2">[% 'Obsolete' | $T8 %]</label>
130 <input name="obsolete" type="radio" value="N" checked id="rd3"> <label for="rd3">[% 'Not obsolete' | $T8 %]</label>
139 <div class="form-addition control-panel">
140 <h3>[% 'Include in Report' | $T8 %]</h3>
142 <div class="list col">
143 <h4> [% 'Numbers & IDs' | $T8 %] </h4>
145 <input name="l_id" id="l_id" type="checkbox" value="Y">
146 <label for="l_id"> [% 'ID' | $T8 %] </label>
149 <input name="l_[% db | html %]number" id="l_[% db | html %]number" type="checkbox" value="Y" checked>
150 <label for="l_[% db | html %]number"> [% IF IS_CUSTOMER %][% 'Customer Number' | $T8 %][% ELSE %][% 'Vendor Number' | $T8 %][% END %] </label>
153 <input name="l_taxnumber" id="l_taxnumber" type="checkbox" value="Y">
154 <label for="l_taxnumber"> [% 'Tax Number' | $T8 %] </label>
157 <input name="l_invnumber" id="l_invnumber" type="checkbox" value="Y">
158 <label for="l_invnumber"> [% 'Invoices' | $T8 %] </label>
162 <div class="list col">
163 <h4> [% 'Customer' | $T8 %] </h4>
165 <input name="l_name" id="l_name" type="checkbox" value="Y" checked>
166 <label for="l_name"> [% IF IS_CUSTOMER %][% 'Customer Name' | $T8 %][% ELSE %][% 'Vendor Name' | $T8 %][% END %] </label>
169 <input name="l_department_1" id="l_department_1" type="checkbox" value="Y">
170 <label for="l_department_1"> [% 'Department' | $T8 %] 1</label>
173 <input name="l_department_2" id="l_department_2" type="checkbox" value="Y">
174 <label for="l_department_2"> [% 'Department' | $T8 %] 2</label>
177 <input name="l_contact" id="l_contact" type="checkbox" value="Y" checked>
178 <label for="l_contact"> [% 'Contact' | $T8 %] </label>
182 <input name="l_contact_origin" id="l_contact_origin" type="checkbox" class="checkbox" value="Y">
183 <label for="l_contact_origin">[% 'Origin of personal data' | $T8 %]</label>
186 <input name="l_invoice_mail" id="l_invoice_mail" type="checkbox" class="checkbox" value="Y">
187 <label for="l_invoice_mail">[% 'Email of the invoice recipient' | $T8 %]</label>
191 <input name="l_ustid" id="l_ustid" type="checkbox" class="checkbox" value="Y">
192 <label for="l_ustid">[% 'VAT ID' | $T8 %]</label>
196 <input name="l_creditlimit" id="l_creditlimit" type="checkbox" class="checkbox" value="Y">
197 <label for="l_creditlimit">[% 'Credit Limit' | $T8 %]</label>
200 <input name="l_dunning_lock" id="l_dunning_lock" type="checkbox" class="checkbox" value="Y">
201 <label for="l_dunning_lock">[% 'Dunning lock' | $T8 %]</label>
204 <input name="l_commercial_court" id="l_commercial_court" type="checkbox" class="checkbox" value="Y">
205 <label for="l_commercial_court">[% 'Commercial court' | $T8 %]</label>
208 <input name="l_main_contact_person" id="l_main_contact_person" type="checkbox" class="checkbox" value="Y">
209 <label for="l_main_contact_person">[% 'Main Contact Person' | $T8 %]</label>
212 <input name="l_delivery_order_mail" id="l_delivery_order_mail" type="checkbox" class="checkbox" value="Y">
213 <label for="l_delivery_order_mail">[% 'Email of the delivery order recipient' | $T8 %]</label>
216 <input name="l_department_1" id="l_department_1" type="checkbox" class="checkbox" value="Y">
217 <label for="l_department_1">[% 'Department' | $T8 %] 1</label>
220 <input name="l_department_2" id="l_department_2" type="checkbox" class="checkbox" value="Y">
221 <label for="l_department_2">[% 'Department' | $T8 %] 2</label>
226 <div class="list col">
227 <h4> [% 'Address' | $T8 %] </h4>
229 <input name="l_street" id="l_street" type="checkbox" value="Y" checked>
230 <label for="l_street"> [% 'Street' | $T8 %] </label>
233 <input name="l_zipcode" id="l_zipcode" type="checkbox" value="Y" checked>
234 <label for="l_zipcode"> [% 'Zipcode' | $T8 %] </label>
237 <input name="l_city" id="l_city" type="checkbox" value="Y" checked>
238 <label for="l_city"> [% 'City' | $T8 %] </label>
241 <input name="l_country" id="l_country" type="checkbox" value="Y" checked>
242 <label for="l_country"> [% 'Country' | $T8 %] </label>
245 <input name="l_gln" id="l_gln" type="checkbox" value="Y" checked>
246 <label for="l_gln"> [% 'GLN' | $T8 %] </label>
250 <div class="list col">
251 <h4> [% 'Contact' | $T8 %] </h4>
253 <input name="l_phone" id="l_phone" type="checkbox" value="Y" checked>
254 <label for="l_phone"> [% 'Phone' | $T8 %] </label>
257 <input name="l_fax" id="l_fax" type="checkbox" value="Y">
258 <label for="l_fax"> [% 'Fax' | $T8 %] </label>
261 <input name="l_email" id="l_email" type="checkbox" value="Y" checked>
262 <label for="l_email"> [% 'E-mail' | $T8 %] </label>
266 <div class="list col">
267 <h4> [% 'Orders' | $T8 %] </h4>
269 <input name="l_ordnumber" id="l_ordnumber" type="checkbox" value="Y">
270 <label for="l_ordnumber"> [% IF IS_CUSTOMER %][% 'Sales Orders' | $T8 %][% ELSE %][% 'Purchase Orders' | $T8 %][% END %] </label>
273 <input name="l_quonumber" id="l_quonumber" type="checkbox" value="Y">
274 <label for="l_quonumber"> [% IF IS_CUSTOMER %][% 'Quotations' | $T8 %][% ELSE %][% 'RFQs' | $T8 %][% END %] </label>
277 <input name="l_discount" id="l_discount" type="checkbox" value="Y">
278 <label for="l_discount"> [% 'Discount' | $T8 %] </label>
281 <input name="l_payment" id="l_payment" type="checkbox" value="Y">
282 <label for="l_payment"> [% 'Payment Terms' | $T8 %] </label>
285 <input name="l_taxzone" id="l_taxzone" type="checkbox" value="Y">
286 <label for="l_taxzone"> [% 'Tax rate' | $T8 %] </label>
290 <div class="list col">
291 <h4> [% 'Handling & Scope' | $T8 %] </h4>
293 <input name="l_insertdate" id="l_insertdate" type="checkbox" value="Y">
294 <label for="l_insertdate"> [% 'Insert Date' | $T8 %] </label>
298 <input name="l_salesman" id="l_salesman" type="checkbox" value="Y">
299 <label for="l_salesman"> [% 'Salesman' | $T8 %] </label>
302 <input name="l_pricegroup" id="l_pricegroup" type="checkbox" value="Y">
303 <label for="l_pricegroup"> [% 'Pricegroup' | $T8 %] </label>
308 <div class="list col">
309 <h4> [% 'Custom Variables' | $T8 %] </h4>
310 <!-- PENDENT: bessere Loesung suchen -->
311 [% CUSTOM_VARIABLES_INCLUSION_CODE %]