X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fct%2F_shipto.html;h=47eacee833a263dd0fee5313c0721a1fc3987681;hb=42ca4b6790baf76f507cc3675f4a171223cfde4c;hp=00dfd962c71d7d7ca6ec306c68e0aa661c09e73f;hpb=1ada716c6a17daab395c6b7872174757e05ff761;p=kivitendo-erp.git
diff --git a/templates/webpages/ct/_shipto.html b/templates/webpages/ct/_shipto.html
index 00dfd962c..47eacee83 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').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').val() + '&db=' + \$('#db').val() + '&shipto_id=' + this.value)") %]
|
@@ -62,5 +62,4 @@
[%- IF shipto_id %]
-
[%- END %]