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:
a8d9f32
)
Bug gefixed #206 Fehler beim Dialogbuchen wenn Korrektur und Steuerinklusive
author
Philip Reetz
<p.reetz@linet-services.de>
Fri, 11 Nov 2005 08:51:08 +0000
(08:51 +0000)
committer
Philip Reetz
<p.reetz@linet-services.de>
Fri, 11 Nov 2005 08:51:08 +0000
(08:51 +0000)
bin/mozilla/gl.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/gl.pl
b/bin/mozilla/gl.pl
index
c66fdf9
..
7962daf
100644
(file)
--- a/
bin/mozilla/gl.pl
+++ b/
bin/mozilla/gl.pl
@@
-1631,6
+1631,12
@@
sub post {
} else {
$form->{"tax_$i"} = 0;
}
+ } elsif ($form->{taxincluded}) {
+ if ($debitcredit) {
+ $form->{"debit_$i"} = $form->{"debit_$i"} - $form->{"tax_$i"};
+ } else {
+ $form->{"credit_$i"} = $form->{"credit_$i"} - $form->{"tax_$i"};
+ }
}
for (@flds) { $a[$j]->{$_} = $form->{"${_}_$i"} }