X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fct%2F_shipto.html;h=6367cceaf60a09ddc012dade0fe463a0ff981a00;hb=67643d0386e7ad051009af639cada8a5ad60d1ea;hp=23f42cd8b4a735c7064637b76c53e3e481863fdc;hpb=10af2ad629db956ab294479051398cfca7d22ff0;p=kivitendo-erp.git diff --git a/templates/webpages/ct/_shipto.html b/templates/webpages/ct/_shipto.html index 23f42cd8b..6367cceaf 100644 --- a/templates/webpages/ct/_shipto.html +++ b/templates/webpages/ct/_shipto.html @@ -3,13 +3,13 @@ [% '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', SHIPTO, default = shipto_id, value_key = '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)") %] - [% 'Company Name' | $T8 %] + [% 'Name' | $T8 %] @@ -59,3 +59,8 @@ + +[%- IF shipto_id %] + +
+[%- END %]