projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06ebdd6
)
Steuerkonten beim Drucken richtig setzen
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 22 Nov 2010 17:02:48 +0000
(18:02 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 13 Jan 2011 12:47:13 +0000
(13:47 +0100)
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
39f575f
..
9bb946f
100644
(file)
--- 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/) {