From 2c95cfa86e943e6b5dcff99fc3bb7fe86eb1c1d5 Mon Sep 17 00:00:00 2001 From: fomichev Date: Fri, 6 Dec 2024 15:09:58 +0300 Subject: [PATCH] =?utf8?q?=D0=9C=D0=B5=D0=BD=D1=8F=D0=B5=D0=BC=20=D1=80?= =?utf8?q?=D0=B0=D0=B7=D0=BD=D0=B8=D1=86=D1=83=20=D1=86=D0=B5=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/controllers/crud/Product1cReplacementController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/controllers/crud/Product1cReplacementController.php b/erp24/controllers/crud/Product1cReplacementController.php index 966edfa7..0d1d5663 100644 --- a/erp24/controllers/crud/Product1cReplacementController.php +++ b/erp24/controllers/crud/Product1cReplacementController.php @@ -113,7 +113,7 @@ class Product1cReplacementController extends Controller $priceDifference = null; if ($productPrice !== null && $productReplacementPrice !== null) { - $priceDifference = (int)($productPrice->price) - (int)($productReplacementPrice->price); + $priceDifference = (int)($productReplacementPrice->price) - (int)($productPrice->price); } if ($lastLog) { -- 2.39.5