From 42106b4e1dd015dfe1909654ad96327d8305721f Mon Sep 17 00:00:00 2001
From: Philip Reetz
Date: Wed, 27 May 2009 15:38:17 +0000
Subject: [PATCH] Fehler bei der Berechnung der Endsalden in der Susa
---
SL/RP.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SL/RP.pm b/SL/RP.pm
index 8ea8f4f7e..c201d8514 100644
--- a/SL/RP.pm
+++ b/SL/RP.pm
@@ -1111,7 +1111,7 @@ sub trial_balance {
} elsif ($ref->{soll_saldo} != 0) {
$ref->{soll_saldo} = $ref->{soll_saldo} - $ref->{beginning_balance};
if ($ref->{soll_saldo} < 0) {
- $ref->{haben_saldo} = $form->round_amount(($ref->{haben_saldo} * -1), 2);
+ $ref->{haben_saldo} = $form->round_amount(($ref->{soll_saldo} * -1), 2);
$ref->{soll_saldo} = 0;
}
}
--
2.20.1