From e4d9fea6ea4a2dd57815f5f5886db4c43dcde7db Mon Sep 17 00:00:00 2001 From: marina Date: Thu, 19 Jun 2025 10:18:56 +0300 Subject: [PATCH] =?utf8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/commands/CronController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/commands/CronController.php b/erp24/commands/CronController.php index 3b59512c..d931f7b6 100644 --- a/erp24/commands/CronController.php +++ b/erp24/commands/CronController.php @@ -1648,7 +1648,7 @@ class CronController extends Controller $details[$type] = $block; } - $total = (float) sprintf('%.2f', $total); // Нормализует -0 до 0 для $total + $total = (float) sprintf('%.2f', $total); $needsUpdate = !$model->isNewRecord && ( $model->calculate !== $quantity || -- 2.39.5