bugfix fibu_buchungen rounding

This commit is contained in:
OpenXE 2023-05-12 12:23:43 +02:00
parent 38cf7c3bc2
commit 011f2915c1

View File

@ -976,7 +976,9 @@ class Fibu_buchungen {
}
}
$override = $this->app->Secure->GetPOST('override');
$diff = $gesamtnum-$von_saldonum;
$diff = round($gesamtnum-$von_saldonum,2);
$gesamtnum = round($von_saldonum,2);
$von_saldonum = round($von_saldonum,2);
if (
($von_saldonum < 0 && ($gesamtnum < $von_saldonum)) ||