1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-16 09:21:52 +01:00

Fix arrotondamento movimenti contabili

This commit is contained in:
loviuz 2024-02-12 10:32:39 +01:00
parent 801ed47ef8
commit 74ad2bd1e3

View File

@ -228,8 +228,8 @@ class Movimenti
$mastrino = $this->generateMastrino();
foreach ($movimenti as $element) {
$dare = round($element['dare'], 2);
$avere = round($element['avere'], 2);
$dare = round($element['dare'], 6);
$avere = round($element['avere'], 6);
$totale_dare += $dare;
$totale_avere += $avere;