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:
94802c7
)
Wechselkurs bei Einkaufsrechnungen nach invdate und nicht nach transdate checken
author
Bernd Blessmann
<bibi@online.de>
Fri, 6 Jan 2012 15:00:08 +0000
(16:00 +0100)
committer
Bernd Blessmann
<bibi@online.de>
Fri, 6 Jan 2012 15:00:08 +0000
(16:00 +0100)
SL/IR.pm
patch
|
blob
|
history
diff --git
a/SL/IR.pm
b/SL/IR.pm
index
3b7f415
..
7f4389f
100644
(file)
--- a/
SL/IR.pm
+++ b/
SL/IR.pm
@@
-83,7
+83,7
@@
sub post_invoice {
if ($form->{currency} eq $defaultcurrency) {
$form->{exchangerate} = 1;
} else {
- $exchangerate = $form->check_exchangerate($myconfig, $form->{currency}, $form->{
trans
date}, 'sell');
+ $exchangerate = $form->check_exchangerate($myconfig, $form->{currency}, $form->{
inv
date}, 'sell');
}
$form->{exchangerate} = $exchangerate || $form->parse_amount($myconfig, $form->{exchangerate});