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:
728a02e
)
USTVA: kivi special fields auch für 7%
author
Jan Büren
<jan@kivitendo.de>
Wed, 16 Sep 2020 16:05:55 +0000
(18:05 +0200)
committer
Jan Büren
<jan@kivitendo.de>
Wed, 16 Sep 2020 16:05:55 +0000
(18:05 +0200)
SL/USTVA.pm
patch
|
blob
|
history
diff --git
a/SL/USTVA.pm
b/SL/USTVA.pm
index
b01ebac
..
22d12ce
100644
(file)
--- a/
SL/USTVA.pm
+++ b/
SL/USTVA.pm
@@
-875,6
+875,12
@@
sub get_accounts_ustva {
# Dont rely on dates of taxkeys
$corr = 1;
$form->{"81"} += $ref->{amount};
+ } elsif ($ref->{rate} == 0.07) {
+ # pos_ustva says 5, but rate says 7
+ # see comment above:
+ # Dont rely on dates of taxkeys
+ $corr = 1;
+ $form->{"86"} += $ref->{amount};
} else {die ("No valid tax rate for pos 35" . Dumper($ref)); }
}
# USTVA Pos 36 (Steuerkonten)