From: Moritz Bunkus Date: Mon, 22 Nov 2010 17:02:48 +0000 (+0100) Subject: Steuerkonten beim Drucken richtig setzen X-Git-Tag: release-2.6.3~61^2~7^2~1^2~2^2~22 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6d8fc7da66950248e9b01d42134ea26c6cda3d3f;p=kivitendo-erp.git Steuerkonten beim Drucken richtig setzen --- 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/) {