X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fct%2F_contact.html;h=6b22e47805bc0154a17a218b71c37cfb7426ce3e;hb=075bd42af8885aee3c18fe055a2c82b8b43f4cea;hp=1c24fe1d4818479bb1700ac501c20a3e417853a5;hpb=67079598f8f98a12e12a8acddc3afbf12bb58c5d;p=kivitendo-erp.git diff --git a/templates/webpages/ct/_contact.html b/templates/webpages/ct/_contact.html index 1c24fe1d4..6b22e4780 100644 --- a/templates/webpages/ct/_contact.html +++ b/templates/webpages/ct/_contact.html @@ -4,27 +4,26 @@ [% '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').attr('value') + '&db=' + \$('#db').attr('value') + '&cp_id=' + \$('#cp_id').attr('value'))") %] - - [% 'Gender' | $T8 %] - - - - - + + [% 'Gender' | $T8 %] + + + + [% '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) %] @@ -32,7 +31,7 @@ [% '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) %] @@ -46,6 +45,11 @@ + + [% 'E-mail' | $T8 %] + + + [% 'Phone1' | $T8 %] @@ -87,8 +91,16 @@ - [% 'E-mail' | $T8 %] - + [% 'Street' | $T8 %] + + + + + [% 'Zip, City' | $T8 %] + + + + @@ -129,8 +141,8 @@ -[% IF cp_id %] - -[% END %] + [% IF cp_id %] + + [% END %]