From: marina Date: Thu, 19 Jun 2025 07:18:56 +0000 (+0300) Subject: правки X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=e4d9fea6ea4a2dd57815f5f5886db4c43dcde7db;p=erp24_rep%2Fyii-erp24%2F.git правки --- 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 ||