X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fct%2F_shipto.html;h=c8db22df347cc12eaa12fba5a59a9edbd2df3e42;hb=b1b4e6878345cc1a8b590dd7362e4a50048f2417;hp=46d8444f83c372e82261d32673c042681daef32e;hpb=b1d38913571c810a6e09fa2f756e8dd17b35a25a;p=kivitendo-erp.git diff --git a/templates/webpages/ct/_shipto.html b/templates/webpages/ct/_shipto.html index 46d8444f8..c8db22df3 100644 --- a/templates/webpages/ct/_shipto.html +++ b/templates/webpages/ct/_shipto.html @@ -3,21 +3,13 @@ [% 'Shipping Address' | $T8 %] - [%- INCLUDE generic/multibox.html - name = 'shipto_id', - id = 'shipto_id', - DATA = SHIPTO, - onChange = "\$('#shipto_table').load('ct.pl?action=get_shipto&id=' + \$('#cvid').attr('value') + '&db=' + \$('#db').attr('value') + '&shipto_id=' + this.value)", - id_key = 'shipto_id', - label_sub = 'shipto_label', - label_key = 'shipto_label', - show_empty = 1, - -%] + [% 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)") %] - [% 'Company Name' | $T8 %] + [% 'Name' | $T8 %]