X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fct%2F_contact.html;h=a7d395e96334784e1043c865725b12b09486dc11;hb=9ed4151c4e81902d73a56304fa6375b1c4c809dd;hp=8da17e9cbdd550231695fcefd0ae3fb88de1953b;hpb=a65c8e991906fc1ad47af84decc066672348ce1b;p=kivitendo-erp.git diff --git a/templates/webpages/ct/_contact.html b/templates/webpages/ct/_contact.html index 8da17e9cb..a7d395e96 100644 --- a/templates/webpages/ct/_contact.html +++ b/templates/webpages/ct/_contact.html @@ -1,30 +1,29 @@ [% USE L %][% USE HTML %][% USE T8 %][% USE LxERP %] - +
- - - - - + + + + @@ -32,10 +31,15 @@ + + + + + @@ -46,6 +50,11 @@ + + + + + @@ -87,8 +96,16 @@ - - + + + + + + + @@ -103,15 +120,26 @@ - + + [% IF CUSTOM_VARIABLES.Contacts.size %] + [%- FOREACH var = CUSTOM_VARIABLES.Contacts %] - - + + + [%- END %] + [%- END %] +
[% '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 => "\$('#contact_table').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())") %]
[% '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) %]
[% '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 %]
[% 'E-mail' | $T8 %]
[% 'Phone1' | $T8 %]
[% 'E-mail' | $T8 %][% 'Street' | $T8 %]
[% 'Zip, City' | $T8 %] + + +
[% 'Birthday' | $T8 %] + [% L.date_tag('cp_birthday', cp_birthday) %] +

[% 'Bcc' | $T8 %][% HTML.escape(var.description) %][% var.HTML_CODE %]
+ + [% IF cp_id %] + + [% END %]