X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/b1d38913571c810a6e09fa2f756e8dd17b35a25a..0e723a19cf157a78a57458dda69fd1ea36e68ea1:/templates/webpages/ct/_shipto.html
diff --git a/templates/webpages/ct/_shipto.html b/templates/webpages/ct/_shipto.html
index 46d8444f8..6367cceaf 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', 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 %] |
|
@@ -67,3 +59,8 @@
|
+
+[%- IF shipto_id %]
+
+
+[%- END %]