Merge branch 'master' of ssh://git-jbueren@lx-office.linet-services.de/~/lx-office-erp
[kivitendo-erp.git] / templates / webpages / ct / form_header_de.html
1 [% USE HTML %][% USE LxERP %]
2 <body onLoad="fokus()">
3
4  <div class="listtop">[% title %]</div>
5
6  <form method="post" name="ct" action="ct.pl" onKeyUp="highlight(event)" onClick="highlight(event)">
7
8   <ul id="maintab" class="shadetabs">
9    <li class="selected"><a href="#" rel="billing">Rechnungsadresse</a></li>
10    <li><a href="#" rel="shipto">Lieferadresse</a></li>
11    <li><a href="#" rel="contacts">Ansprechpartner</a></li>
12    <li><a href="#" rel="deliveries">Lieferungen</a></li>
13    <li><a href="#" rel="vcnotes">Bemerkungen</a></li>
14    [%- IF CUSTOM_VARIABLES.size %]
15    <li><a href="#" rel="custom_variables">Benutzerdefinierte Variablen</a></li>
16    [%- END %]
17   </ul>
18
19   <div class="tabcontentstyle">
20
21    <div id="billing" class="tabcontent">
22
23     <table width="100%">
24      <tr height="5"></tr>
25      [% IF conf_vertreter %]
26       <tr>
27        <th align="right">[% IF is_customer %]Kundentyp[%- ELSE %]Lieferantentyp[%- END %]</th>
28        <td>
29         [%- INCLUDE generic/multibox.html
30               name       = 'business',
31               DATA       = all_business,
32               show_empty = 1,
33               id_key     = 'id',
34               label_key  = 'description',
35         -%]
36        </td>
37       </tr>
38       <tr>
39        <th align="right">Vertreter</th>
40        <td>
41         [%- INCLUDE generic/multibox.html
42               name      = 'salesman_id',
43               DATA      = ALL_SALESMAN_CUSTOMERS,
44               id_key    = 'id',
45               label_key = 'name',
46         -%]
47        </td>
48       </tr>
49      [%- END %]
50      <tr>
51       [%- IF is_customer %]
52       <th align="right" nowrap>Kundennummer</th>
53       <td><input name="customernumber" size="35" value="[% HTML.escape(customernumber) %]"></td>
54       [%- ELSE %]
55       <th align="right" nowrap>Lieferantennummer</th>
56       <td><input name="vendornumber" size="35" value="[% HTML.escape(vendornumber) %]"></td>
57       [%- END %]
58      </tr>
59
60      <tr>
61       <th align="right" nowrap>Anrede</th>
62       <td>
63        <input id="greeting" name="greeting" size="30" value="[% HTML.escape(greeting) %]">&nbsp;
64        [%- INCLUDE generic/multibox.html
65              name       = 'selected_company_greeting',
66              DATA       = MB_COMPANY_GREETINGS,
67              show_empty = 1,
68              id_key     = 'id',
69              label_key  = 'description',
70        -%]
71       </td>
72      </tr>
73
74      <tr>
75       <th align="right" nowrap>[% IF is_customer %]Kundenname[%- ELSE %]Lieferantenname[%- END %]</th>
76       <td><input name="name" size="35" maxlength="75" value="[% HTML.escape(name) %]"></td>
77      </tr>
78
79      <tr>
80       <th align="right" nowrap>Abteilung</th>
81       <td>
82        <input name="department_1" size="16" maxlength="75" value="[% HTML.escape(department_1) %]">
83        <input name="department_2" size="16" maxlength="75" value="[% HTML.escape(department_2) %]">
84       </td>
85      </tr>
86
87      <tr>
88       <th align="right" nowrap>Straße</th>
89       <td><input name="street" size="35" maxlength="75" value="[% HTML.escape(street) %]"></td>
90      </tr>
91
92      <tr>
93       <th align="right" nowrap>PLZ/Stadt</th>
94       <td>
95        <input name="zipcode" size="5" maxlength="10" value="[% HTML.escape(zipcode) %]">
96        <input name="city" size="30" maxlength="75" value="[% HTML.escape(city) %]">
97       </td>
98      </tr>
99
100      <tr>
101       <th align="right" nowrap>Land</th>
102       <td><input name="country" size="35" maxlength="75" value="[% HTML.escape(country) %]"></td>
103      </tr>
104
105      <tr>
106       <th align="right" nowrap>Kontakt</th>
107       <td><input name="contact" size="28" maxlength="75" value="[% HTML.escape(contact) %]"></td>
108      </tr>
109
110      <tr>
111       <th align="right" nowrap>Telefon</th>
112       <td><input name="phone" size="30" maxlength="30" value="[% HTML.escape(phone) %]"></td>
113      </tr>
114
115      <tr>
116       <th align="right" nowrap>Fax</th>
117       <td><input name="fax" size="30" maxlength="30" value="[% HTML.escape(fax) %]"></td>
118      </tr>
119
120      <tr>
121       <th align="right" nowrap>eMail</th>
122       <td><input name="email" size="45" value="[% HTML.escape(email) %]"></td>
123      </tr>
124
125      <tr>
126       <th align="right" nowrap>Homepage</th>
127       <td><input name="homepage" size="45" value="[% HTML.escape(homepage) %]"></td>
128      </tr>
129     </table>
130
131     <table>
132      <tr>
133       <th align="right">Kreditlimit</th>
134       <td><input name="creditlimit" size="9" value="[% LxERP.format_amount(creditlimit, 0) %]"></td>
135       <input type="hidden" name="terms" value="[% HTML.escape(terms) %]">
136       <th align="right">Zahlungskonditionen</th>
137       <td>
138        [%- INCLUDE generic/multibox.html
139              name       = 'payment_id',
140              DATA       = payment_terms,
141              show_empty = 1,
142              id_key     = 'id',
143              label_key  = 'description',
144        -%]
145       </td>
146
147       <th align="right">Rabatt</th>
148       <td><input name="discount" size="4" value="[% LxERP.format_amount(discount) %]"> %</td>
149      </tr>
150
151      <tr>
152       <th align="right">Steuernummer</th>
153       <td><input name="taxnumber" size="20" value="[% HTML.escape(taxnumber) %]"></td>
154       <!-- Anm.: R&B 15.11.2008     VAT Reg No ist Ust-ID in GB, aber generell sollte es laut Richardson die sales tax id sein -->
155       <th align="right">USt-IdNr.</th>
156       <td><input name="ustid" maxlength="14" size="20" value="[% HTML.escape(ustid) %]"></td>
157       [%- IF is_customer %]
158       <th align="right">unsere Lieferanten-Nr. beim Kunden</th>
159       <td><input name="c_vendor_id" size="10" value="[% HTML.escape(c_vendor_id) %]"></td>
160       [%- ELSE %]
161       <th align="right">Kundennummer</th>
162       <td><input name="v_customer_id" size="10" value="[% HTML.escape(v_customer_id) %]"></td>
163       [%- END %]
164      </tr>
165
166      <tr>
167       <th align="right">Kontonummer</th>
168       <td><input name="account_number" size="10" maxlength="100" value="[% HTML.escape(account_number) %]"></td>
169       <th align="right">Bankleitzahl</th>
170       <td><input name="bank_code" size="10" maxlength="100" value="[% HTML.escape(bank_code) %]"></td>
171       <th align="right">Bank</th>
172       <td><input name="bank" size="20" value="[% HTML.escape(bank) %]"></td>
173      </tr>
174
175      <tr>
176       <th align="right">IBAN</th>
177       <td><input name="iban" size="10" maxlength="100" value="[% HTML.escape(iban) %]"></td>
178       <th align="right">BIC</th>
179       <td><input name="bic" size="10" maxlength="100" value="[% HTML.escape(bic) %]"></td>
180      </tr>
181
182      [%- IF conf_vertreter %]
183       <tr>
184              <th align="right">Benutzername</th>
185              <td><input name="username" maxlength="50" value="[% HTML.escape(username) %]"></td>
186              <th align="right">Passwort</th>
187              <td><input name="user_password" value="[% HTML.escape(user_password) %]"></td>
188       </tr>
189      [%- END %]
190
191      <tr>
192       [% UNLESS conf_vertreter %]
193        <th align="right">[% IF is_customer %]Kundentyp[% ELSE %]Lieferantentyp[%- END %]</th>
194        <td>
195         [%- INCLUDE generic/multibox.html
196               name       = 'business',
197               DATA       = all_business,
198               show_empty = 1,
199               id_key     = 'id',
200               label_key  = 'description',
201         -%]
202        </td>
203       [%- END %]
204       <th align="right">Sprache</th>
205       <td>
206        [%- INCLUDE generic/multibox.html
207              name       = 'language_id',
208              DATA       = languages,
209              show_empty = 1,
210              id_key     = 'id',
211              label_key  = 'description',
212        -%]
213       </td>
214
215       [%- IF is_customer %]
216       <th align="right">Preisgruppe</th>
217       <td>
218        [%- INCLUDE generic/multibox.html
219              name       = 'klass',
220              DATA       = all_pricegroup,
221              show_empty = 1,
222              id_key     = 'id',
223              label_key  = 'pricegroup',
224        -%]
225       </td>
226       [%- END  %]
227      </tr>
228
229      <tr>
230       <td align="right">Ungültig</td>
231       <td><input name="obsolete" class="checkbox" type="checkbox" value="1" [% IF obsolete %]checked[% END %]></td>
232       <td align="right">Lastschrift</td>
233       <td><input name="direct_debit" class="checkbox" type="checkbox" value="1" [% IF direct_debit %]checked[% END %]></td>
234      </tr>
235
236      <tr>
237       <th align="right">Steuersatz</th>
238       <td>
239        [%- INCLUDE generic/multibox.html
240              name       = 'taxzone_id',
241              DATA       = ALL_TAXZONES,
242              show_empty = 1,
243              id_key     = 'id',
244              label_key  = 'description',
245        -%]
246       </td>
247       [%- IF is_customer && !conf_vertreter %]
248       <th align="right">Verkäufer/in</th>
249       <td>
250        [%- INCLUDE generic/multibox.html
251              name       = 'salesman_id',
252              DATA       = ALL_SALESMEN,
253              show_empty = 1,
254              id_key     = 'id',
255              label_sub  = 'salesman_label',
256        -%]
257       </td>
258       [%- END %]
259      </tr>
260     </table>
261
262     <table>
263      <tr>
264       <th align="left" nowrap>Bemerkungen</th>
265      </tr>
266
267      <tr>
268       <td><textarea name="notes" rows="3" cols="60" wrap="soft">[% HTML.escape(notes) %]</textarea></td>
269      </tr>
270     </table>
271
272     <br style="clear: left" />
273    </div>
274
275    <div id="shipto" class="tabcontent">
276
277     <table width="100%">
278      <tr>
279       <th align="right">Lieferadresse</th>
280       <td>
281        [%- INCLUDE generic/multibox.html
282              name       = 'shipto_id',
283              id         = 'shipto_id',
284              DATA       = SHIPTO,
285              onChange   = "get_shipto(['shipto_id__' + this.value], ['shiptoname','shiptodepartment_1', 'shiptodepartment_2','shiptostreet','shiptozipcode','shiptocity','shiptocountry','shiptocontact','shiptophone','shiptofax','shiptoemail',enable_delete_shipto,set_gender])",
286              id_key     = 'shipto_id',
287              label_sub  = 'shipto_label',
288              label_key  = 'shipto_label',
289        -%]
290       </td>
291      </tr>
292
293      <tr>
294       <th align="right" nowrap>Firmenname</th>
295       <td><input id="shiptoname" name="shiptoname" size="35" maxlength="75" value="[% HTML.escape(shiptoname) %]"></td>
296      </tr>
297
298      <tr>
299       <th align="right" nowrap>Abteilung</th>
300       <td>
301        <input id="shiptodepartment_1" name="shiptodepartment_1" size="16" maxlength="75" value="[% HTML.escape(shiptodepartment_1) %]">
302        <input id="shiptodepartment_2" name="shiptodepartment_2" size="16" maxlength="75" value="[% HTML.escape(shiptodepartment_2) %]">
303       </td>
304      </tr>
305
306      <tr>
307       <th align="right" nowrap>Straße</th>
308       <td><input id="shiptostreet" name="shiptostreet" size="35" maxlength="75" value="[% HTML.escape(shiptostreet) %]"></td>
309      </tr>
310
311      <tr>
312       <th align="right" nowrap>PLZ/Stadt</th>
313       <td>
314        <input id="shiptozipcode" name="shiptozipcode" size="5" maxlength="75" value="[% HTML.escape(shiptozipcode) %]">
315        <input id="shiptocity" name="shiptocity" size="30" maxlength="75" value="[% HTML.escape(shiptocity) %]">
316       </td>
317      </tr>
318
319      <tr>
320       <th align="right" nowrap>Land</th>
321       <td><input id="shiptocountry" name="shiptocountry" size="35" maxlength="75" value="[% HTML.escape(shiptocountry) %]"></td>
322      </tr>
323
324      <tr>
325       <th align="right" nowrap>Kontakt</th>
326       <td><input id="shiptocontact" name="shiptocontact" size="30" maxlength="75" value="[% HTML.escape(shiptocontact) %]"></td>
327      </tr>
328
329      <tr>
330       <th align="right" nowrap>Telefon</th>
331       <td><input id="shiptophone" name="shiptophone" size="30" maxlength="30" value="[% HTML.escape(shiptophone) %]"></td>
332      </tr>
333
334      <tr>
335       <th align="right" nowrap>Fax</th>
336       <td><input id="shiptofax" name="shiptofax" size="30" maxlength="30" value="[% HTML.escape(shiptofax) %]"></td>
337      </tr>
338
339      <tr>
340       <th align="right" nowrap>eMail</th>
341       <td><input id="shiptoemail" name="shiptoemail" size="45" value="[% HTML.escape(shiptoemail) %]"></td>
342      </tr>
343
344      <tr>
345       <td>&nbsp;</td>
346      </tr>
347      <tr>
348       <td>&nbsp;</td>
349      </tr>
350     </table>
351
352     <input type="submit" id="delete_shipto" name="action" value="Lieferadresse löschen" disabled>
353     <br style="clear: left" />
354    </div>
355
356    <div id="contacts" class="tabcontent">
357     <table>
358      <input type="hidden" name="cp_id" value="[% HTML.escape(cp_id) %]">
359      <tr>
360       <th align="right">Ansprechpartner</th>
361       <td>
362        [%- INCLUDE generic/multibox.html
363              name       = 'cp_id',
364              id         = 'cp_id',
365              DATA       = CONTACTS,
366              onChange   = "get_contact(['cp_id__'+this.value],['cp_name','cp_title','cp_givenname','cp_phone1','cp_phone2','cp_email','cp_abteilung','cp_fax','cp_mobile1','cp_mobile2','cp_satphone','cp_satfax','cp_project','cp_privatphone','cp_privatemail','cp_birthday',enable_delete_contact,set_gender])",
367              id_key     = 'cp_id',
368              label_sub  = 'contacts_label',
369        -%]
370       </td>
371      </tr>
372
373     <tr>
374      <th align="left" nowrap>Geschlecht</th>
375      <td>
376       <select id="cp_gender" name="cp_gender">
377        <option value="m"[% IF cp_gender == 'm' %] selected[% END %]>männlich</option>
378        <option value="f"[% IF cp_gender == 'f' %] selected[% END %]>weiblich</option>
379       </select>
380      </td>
381     </tr>
382     <tr>
383
384      <tr>
385       <th align="left" nowrap>Titel</th>
386       <td>
387        <input id="cp_title" name="cp_title" size="40" maxlength="75" value="[% HTML.escape(cp_title) %]">&nbsp;
388        [%- INCLUDE generic/multibox.html
389              name       = 'selected_cp_title',
390              DATA       = MB_TITLES,
391              show_empty = 1,
392              id_key     = 'id',
393              label_key  = 'description',
394        -%]
395       </td>
396      </tr>
397
398      <tr>
399       <th align="left" nowrap>Abteilung</th>
400       <td>
401        <input id="cp_abteilung" name="cp_abteilung" size="40" value="[% HTML.escape(cp_abteilung) %]">&nbsp;
402        [%- INCLUDE generic/multibox.html
403              name       = 'selected_cp_abteilung',
404              DATA       = MB_DEPARTMENT,
405              show_empty = 1,
406              id_key     = 'id',
407              label_key  = 'description',
408        -%]
409       </td>
410      </tr>
411
412      <tr>
413       <th align="left" nowrap>Vorname</th>
414       <td><input id="cp_givenname" name="cp_givenname" size="40" maxlength="75" value="[% HTML.escape(cp_givenname) %]"></td>
415      </tr>
416
417      <tr>
418       <th align="left" nowrap>Name</th>
419       <td><input id="cp_name" name="cp_name" size="40" maxlength="75" value="[% HTML.escape(cp_name) %]"></td>
420      </tr>
421
422      <tr>
423       <th align="left" nowrap>Telefon 1 </th>
424       <td><input id="cp_phone1" name="cp_phone1" size="40" maxlength="75" value="[% HTML.escape(cp_phone1) %]"></td>
425      </tr>
426
427      <tr>
428       <th align="left" nowrap>Telefon 2</th>
429       <td><input id="cp_phone2" name="cp_phone2" size="40" maxlength="75" value="[% HTML.escape(cp_phone2) %]"></td>
430      </tr>
431
432      <tr>
433       <th align="left" nowrap>Fax</th>
434       <td><input id="cp_fax" name="cp_fax" size="40" value="[% HTML.escape(cp_fax) %]"></td>
435      </tr>
436
437      <tr>
438       <th align="left" nowrap>Mobile 1</th>
439       <td><input id="cp_mobile1" name="cp_mobile1" size="40" value="[% HTML.escape(cp_mobile1) %]"></td>
440      </tr>
441
442      <tr>
443       <th align="left" nowrap>Mobile 2</th>
444       <td><input id="cp_mobile2" name="cp_mobile2" size="40" value="[% HTML.escape(cp_mobile2) %]"></td>
445      </tr>
446
447      <tr>
448       <th align="left" nowrap>Sat. Tel.</th>
449       <td><input id="cp_satphone" name="cp_satphone" size="40" value="[% HTML.escape(cp_satphone) %]"></td>
450      </tr>
451
452      <tr>
453       <th align="left" nowrap>Sat. Fax</th>
454       <td><input id="cp_satfax" name="cp_satfax" size="40" value="[% HTML.escape(cp_satfax) %]"></td>
455      </tr>
456
457      <tr>
458       <th align="left" nowrap>Projekt</th>
459       <td><input id="cp_project" name="cp_project" size="40" value="[% HTML.escape(cp_project) %]"></td>
460      </tr>
461
462      <tr>
463       <th align="left" nowrap>eMail</th>
464       <td><input id="cp_email" name="cp_email" size="40" value="[% HTML.escape(cp_email) %]"></td>
465      </tr>
466
467      <tr>
468       <th align="left" nowrap>Privates Tel.</th>
469       <td><input id="cp_privatphone" name="cp_privatphone" size="40" value="[% HTML.escape(cp_privatphone) %]"></td>
470      </tr>
471
472      <tr>
473       <th align="left" nowrap>Private eMail</th>
474       <td><input id="cp_privatemail" name="cp_privatemail" size="40" value="[% HTML.escape(cp_privatemail) %]"></td>
475      </tr>
476
477      <tr>
478       <th align="left" nowrap>Geburtstag</th>
479       <td><input id="cp_birthday" name="cp_birthday" size="40" value="[% HTML.escape(cp_birthday) %]"></td>
480      </tr>
481
482      <tr>
483       <td colspan="2"><hr></td>
484      </tr>
485
486      <tr>
487       <th align="left" nowrap>Bcc</th>
488       <td><input name="bcc" size="40" value="[% HTML.escape(bcc) %]"></td>
489      </tr>
490     </table>
491
492     <input type="submit" id="delete_contact" name="action" value="Ansprechpartner löschen" disabled>
493     <br style="clear: left" />
494    </div>
495
496    <div id="deliveries" class="tabcontent">
497     <table>
498      <tr>
499       <th align="right">Lieferadresse</th>
500       <td>
501        [%- INCLUDE generic/multibox.html
502              name       = 'delivery_id',
503              id         = 'delivery_id',
504              DATA       = SHIPTO,
505              onChange   = "get_delivery(['shipto_id__' + this.value, 'from__' + from.value, 'to__' + to.value, 'id__' + cvid.value, 'db__' + db.value], ['delivery'])",
506              id_key     = 'shipto_id',
507              label_sub  = 'shipto_label',
508        -%]
509       </td>
510      </tr>
511
512      <tr>
513       <th align="right" nowrap>Von</th>
514       <td>
515        <input id="from" name="from" size="10" maxlength="10" onChange="get_delivery(['shipto_id__' + delivery_id.value, 'from__' + this.value, 'to__' + to.value, 'id__' + cvid.value, 'db__' + db.value], ['delivery'])" value="[% HTML.escape(from) %]">
516        <input type="button" name="fromB" id="trigger_from" value="?">
517       </td>
518       <th align="right" nowrap>Bis</th>
519       <td>
520        <input id="to" name="to" size="10" maxlength="10" onChange="get_delivery(['shipto_id__' + delivery_id.value, 'from__' + from.value, 'to__' + this.value, 'id__' + cvid.value, 'db__' + db.value], ['delivery'])" value="[% HTML.escape(to) %]">
521        <input type="button" name="toB" id="trigger_to" value="?">
522       </td>
523      </tr>
524
525      <tr>
526       <td colspan="4">
527        <div id="delivery">
528        </div>
529       </td>
530      </tr>
531     </table>
532
533     <br style="clear: left" />
534    </div>
535
536    <div id="vcnotes" class="tabcontent">
537
538     [%- IF NOTES && NOTES.size %]
539     <p>
540      <table>
541       <tr>
542        <th class="listheading">Löschen</th>
543        <th class="listheading">Betreff</th>
544        <th class="listheading">Erstellt am</th>
545        <th class="listheading">Erstellt von</th>
546        <th class="listheading">Wiedervorlagedatum</th>
547        <th class="listheading">Wiedervorlage f&uuml;r</th>
548        <th class="listheading">Wiedervorlage erledigt</th>
549       </tr>
550
551       [%- FOREACH row = NOTES %]
552       <tr class="listrow[% loop.count % 2 %]">
553        <input type="hidden" name="NOTE_id_[% loop.count %]" value="[% HTML.escape(row.id) %]">
554        <td>[% UNLESS NOTE_id && (NOTE_id == row.id) %]<input type="checkbox" name="NOTE_delete_[% loop.count %]" value="1">[% END %]</td>
555        <td><a href="ct.pl?action=edit&db=[% HTML.url(db) %]&id=[% HTML.url(id) %]&edit_note_id=[% HTML.url(row.id) %]">[% HTML.escape(row.subject) %]</a></td>
556        <td>[% HTML.escape(row.created_on) %]</td>
557        <td>[% IF row.created_by_name %][% HTML.escape(row.created_by_name) %][% ELSE %][% HTML.escape(row.created_by_login) %][% END %]</td>
558        <td>[% HTML.escape(row.follow_up_date) %]</td>
559        <td>[% IF row.created_for_name %][% HTML.escape(row.created_for_name) %][% ELSE %][% HTML.escape(row.created_for_login) %][% END %]</td>
560        <td>[% IF row.follow_up_date %][% IF row.follow_up_done %]Ja[% ELSE %]Nein[% END %][% END %]</td>
561       </tr>
562       [%- END %]
563
564       <input type="hidden" name="NOTES_rowcount" value="[% NOTES.size %]">
565
566      </table>
567     </p>
568     [%- END %]
569
570     <div class="listtop">[% IF NOTE_id %]Notiz bearbeiten[% ELSE %]Notiz erfassen[% END %]</div>
571
572     <input type="hidden" name="NOTE_id" value="[% HTML.escape(NOTE_id) %]">
573     <input type="hidden" name="FU_id" value="[% HTML.escape(FU_id) %]">
574
575     <p>
576      <table>
577       <tr>
578        <td valign="right">Betreff</td>
579        <td><input name="NOTE_subject" value="[% HTML.escape(NOTE_subject) %]" size="50"></td>
580       </tr>
581
582       <tr>
583        <td valign="right" align="top">Text</td>
584        <td align="top"><textarea cols="50" rows="10" name="NOTE_body">[% HTML.escape(NOTE_body) %]</textarea></td>
585       </tr>
586
587       <tr>
588        <td valign="right">Wiedervorlage am</td>
589        <td>
590         <input name="FU_date" id="FU_date" value="[% HTML.escape(FU_date) %]" size="12">
591         <input type="button" name="FU_date_button" id="FU_date_trigger" value="?">
592         f&uuml;r
593         <select name="FU_created_for_user">
594          [%- FOREACH row = ALL_EMPLOYEES %]
595          <option value="[% HTML.escape(row.id) %]"[% IF (NOTE_id && (row.id == FU_created_for_user)) || (row.login == login) %] selected[% END %]>
596           [%- IF row.name %][%- HTML.escape(row.name) %] ([% HTML.escape(row.login) %])[% ELSE %][% HTML.escape(row.login) %][% END %]
597          </option>
598          [%- END %]
599         </select>
600        </td>
601       </tr>
602
603       <tr>
604        <td>&nbsp;</td>
605        <td>
606         <input type="checkbox" name="FU_done" id="FU_done" value="1"[% IF FU_done %] checked[% END %]>
607         <label for="FU_done">Wiedervorlage erledigt</label>
608        </td>
609       </tr>
610      </table>
611     </p>
612
613     <br style="clear: left" />
614    </div>
615
616    [%- IF CUSTOM_VARIABLES.size %]
617    <div id="custom_variables" class="tabcontent">
618
619     <p>
620      <table>
621       [%- FOREACH var = CUSTOM_VARIABLES %]
622       <tr>
623        <td align="right" valign="top">[% HTML.escape(var.description) %]</td>
624        <td valign="top">[% var.HTML_CODE %]</td>
625       </tr>
626       [%- END %]
627      </table>
628     </p>
629
630     <br style="clear: left" />
631    </div>
632    [%- END %]
633
634   </div>
635
636   <script type="text/javascript">
637    <!--
638    function set_gender(gender) {
639      var s = document.getElementById('cp_gender');
640      if (s) {
641        s.selectedIndex = (gender == 'f') ? 1 : 0;
642      }
643    }
644   -->
645
646   </script>
647
648
649