From: Sven Schöling Date: Mon, 20 Feb 2012 16:00:50 +0000 (+0100) Subject: Ansprechpartner löschen im contact partial rendern. X-Git-Tag: release-2.7.0rc1~22 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1ada716c6a17daab395c6b7872174757e05ff761;p=kivitendo-erp.git Ansprechpartner löschen im contact partial rendern. --- diff --git a/templates/webpages/ct/_shipto.html b/templates/webpages/ct/_shipto.html index c8db22df3..00dfd962c 100644 --- a/templates/webpages/ct/_shipto.html +++ b/templates/webpages/ct/_shipto.html @@ -4,7 +4,7 @@ [% 'Shipping Address' | $T8 %] [% L.select_tag('shipto_id', L.options_for_select(SHIPTO, default => shipto_id, value => 'shipto_id', title_sub => \shipto_label, with_empty => 1), - onchange => "\$('#shipto_table').load('ct.pl?action=get_shipto&id=' + \$('#cvid').attr('value') + '&db=' + \$('#db').attr('value') + '&shipto_id=' + this.value)") %] + onchange => "\$('#shipto').load('ct.pl?action=get_shipto&id=' + \$('#cvid').attr('value') + '&db=' + \$('#db').attr('value') + '&shipto_id=' + this.value)") %] @@ -59,3 +59,8 @@ + +[%- IF shipto_id %] + +
+[%- END %] diff --git a/templates/webpages/ct/form_header.html b/templates/webpages/ct/form_header.html index 501ebaae1..814ccb0e3 100644 --- a/templates/webpages/ct/form_header.html +++ b/templates/webpages/ct/form_header.html @@ -299,9 +299,6 @@
[% INCLUDE 'ct/_shipto.html' %] - - -