X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fct%2F_contact.html;h=a7d395e96334784e1043c865725b12b09486dc11;hb=22519cf64d2afdbd3482a324b8e4c9d1a641d4b0;hp=528ad8ddcc5a6a6f7bfb22e933eb9ab0621c225c;hpb=dedbaf15f42352898a20035ec552f07f51d42abd;p=kivitendo-erp.git diff --git a/templates/webpages/ct/_contact.html b/templates/webpages/ct/_contact.html index 528ad8ddc..a7d395e96 100644 --- a/templates/webpages/ct/_contact.html +++ b/templates/webpages/ct/_contact.html @@ -4,8 +4,8 @@ [% 'Contacts' | $T8 %] - [%- L.select_tag('cp_id', L.options_for_select(CONTACTS, default => cp_id, with_empty => 1, empty_title => LxERP.t8('New contact'), value => 'cp_id', title_sub => \contacts_label), - onchange => "\$('#contacts').load('ct.pl?action=get_contact&id=' + \$('#cvid').attr('value') + '&db=' + \$('#db').attr('value') + '&cp_id=' + \$('#cp_id').attr('value'))") %] + [%- L.select_tag('cp_id', CONTACTS, default = cp_id, with_empty = 1, empty_title = LxERP.t8('New contact'), value_key = 'cp_id', title_sub = \contacts_label, + onchange = "\$('#contacts').load('ct.pl?action=get_contact&id=' + \$('#cvid').val() + '&db=' + \$('#db').val() + '&cp_id=' + \$('#cp_id').val())") %] @@ -23,7 +23,7 @@ [% 'Title' | $T8 %]   - [% L.select_tag('selected_cp_title', L.options_for_select(TITLES, with_empty => 1)) %] + [% L.select_tag('selected_cp_title', TITLES, with_empty = 1) %] @@ -31,10 +31,15 @@ [% 'Department' | $T8 %]   - [% L.select_tag('selected_cp_abteilung', L.options_for_select(DEPARTMENT, with_empty => 1)) %] + [% L.select_tag('selected_cp_abteilung', DEPARTMENT, with_empty = 1) %] + + [% 'Function/position' | $T8 %] + [% L.input_tag('cp_position', cp_position, size=40, maxlength=75) %] + + [% 'Given Name' | $T8 %] @@ -115,17 +120,11 @@ [% 'Birthday' | $T8 %] - - - - -
+ + [% L.date_tag('cp_birthday', cp_birthday) %] + - - [% 'Bcc' | $T8 %] - - [% IF CUSTOM_VARIABLES.Contacts.size %]
@@ -141,8 +140,6 @@ -[% IF cp_id %] - -[% END %] - -
+ [% IF cp_id %] + + [% END %]