X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fct%2F_contact.html;h=2b126c62ddfc8eb7aeb5cf1faf4b46a5e59620ab;hb=67643d0386e7ad051009af639cada8a5ad60d1ea;hp=2e61458b55726ddcbcce36e1dc3a9ecfc6c49b4d;hpb=5012aacc30fef055db86adfce748799c976222bc;p=kivitendo-erp.git
diff --git a/templates/webpages/ct/_contact.html b/templates/webpages/ct/_contact.html
index 2e61458b5..2b126c62d 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').attr('value') + '&db=' + \$('#db').attr('value') + '&cp_id=' + \$('#cp_id').attr('value'))") %]
|
@@ -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,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) %]
|
@@ -90,6 +90,19 @@
|
+
+ [% 'Street' | $T8 %] |
+ |
+
+
+
+ [% 'Zip, City' | $T8 %] |
+
+
+
+ |
+
+
[% 'Private Phone' | $T8 %] |
|
@@ -102,7 +115,9 @@
[% 'Birthday' | $T8 %] |
- |
+
+ [% L.date_tag('cp_birthday', cp_birthday) %]
+ |
@@ -128,8 +143,8 @@
-[% IF cp_id %]
-
-[% END %]
+ [% IF cp_id %]
+
+ [% END %]