X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/06ebdd6a611506903b85bc65fe527c9446be0ac6..6d8fc7da66950248e9b01d42134ea26c6cda3d3f:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index 39f575f94..9bb946fdf 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -54,6 +54,7 @@ use SL::CVar; use SL::DB; use SL::DBUtils; use SL::DO; +use SL::IC; use SL::IS; use SL::Mailer; use SL::Menu; @@ -3538,6 +3539,9 @@ sub prepare_for_printing { $output_longdates = 1; } + # Retrieve accounts for tax calculation. + IC->retrieve_accounts(\%::myconfig, $self, map { $_ => $self->{"id_$_"} } 1 .. $self->{rowcount}); + if ($self->{type} =~ /_delivery_order$/) { DO->order_details(); } elsif ($self->{type} =~ /sales_order|sales_quotation|request_quotation|purchase_order/) {