X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/7cad87f84d2284d6836f17d672ce44c9c3418f2b..199bd497fa158b819070767fa737b2e23d164b96:/templates/webpages/common/_ship_to_dialog.html diff --git a/templates/webpages/common/_ship_to_dialog.html b/templates/webpages/common/_ship_to_dialog.html index c49aef743..cb21c4fbd 100644 --- a/templates/webpages/common/_ship_to_dialog.html +++ b/templates/webpages/common/_ship_to_dialog.html @@ -57,6 +57,18 @@ [% L.button_tag("kivi.SalesPurchase.copy_shipto_address()", LxERP.t8("Copy")) %]

+[% IF cs_obj ; + fields = ['shiptoname', 'shiptodepartment_1', 'shiptodepartment_2', + 'shiptostreet', 'shiptozipcode', 'shiptocity', 'shiptocountry', + 'shiptogln', 'shiptocontact', 'shiptocp_gender', 'shiptophone', + 'shiptofax', 'shiptoemail'] ; + FOREACH field = fields ; + $field = cs_obj.$field ; + END ; +END ; +'' %] + + @@ -145,7 +157,7 @@

- [% L.button_tag("kivi.SalesPurchase.submit_custom_shipto()", LxERP.t8("Apply")) %] + [% L.button_tag("kivi.SalesPurchase.submit_custom_shipto('" _ id_selector _ "')", LxERP.t8("Apply")) %] [% L.button_tag("kivi.SalesPurchase.reset_shipto_fields()", LxERP.t8("Reset")) %] [% L.button_tag("kivi.SalesPurchase.clear_shipto_fields()", LxERP.t8("Clear fields")) %] [% L.button_tag("\$('#shipto_dialog').dialog('close');", LxERP.t8("Abort")) %]