X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fct%2F_shipto.html;h=cb0d59cf49baad347c7c26102bc4f3ff19d713c3;hb=4ab897fdb1a54cd753ec66ebc8fbd5ffdd883cd6;hp=c8db22df347cc12eaa12fba5a59a9edbd2df3e42;hpb=bf69042418d871fe7ad1e4ba13c6bcb45eaea171;p=kivitendo-erp.git
diff --git a/templates/webpages/ct/_shipto.html b/templates/webpages/ct/_shipto.html
index c8db22df3..cb0d59cf4 100644
--- a/templates/webpages/ct/_shipto.html
+++ b/templates/webpages/ct/_shipto.html
@@ -3,8 +3,8 @@
[% '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)") %]
+ [% L.select_tag('shipto_id', L.options_for_select(SHIPTO, default => shipto_id, value => 'shipto_id', title_sub => \shipto_label, with_empty => 1, empty_title => LxERP.t8('New shipto')),
+ 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 %]