From e637d60d485683dfb75dd6d02c70c673156d0635 Mon Sep 17 00:00:00 2001 From: marina Date: Tue, 17 Dec 2024 15:51:52 +0300 Subject: [PATCH] =?utf8?q?ERP-259=20=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE?= =?utf8?q?=D1=82=D0=BA=D0=B0=20=D0=B2=D1=82=D0=BE=D1=80=D0=BE=D0=B3=D0=BE?= =?utf8?q?=20=D1=88=D0=B0=D0=B3=D0=B0=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B4?= =?utf8?q?=D0=B0=D1=87=D0=B8=20=D1=81=D0=BC=D0=B5=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/records/WaybillIncomingProducts.php | 2 ++ erp24/records/WaybillWriteOffsProducts.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/erp24/records/WaybillIncomingProducts.php b/erp24/records/WaybillIncomingProducts.php index 67566bce..6f7079c6 100644 --- a/erp24/records/WaybillIncomingProducts.php +++ b/erp24/records/WaybillIncomingProducts.php @@ -86,6 +86,8 @@ class WaybillIncomingProducts extends \yii\db\ActiveRecord if ($count == 0) { continue; } + } else { + continue; } } else { $count = $itemCount; diff --git a/erp24/records/WaybillWriteOffsProducts.php b/erp24/records/WaybillWriteOffsProducts.php index 2bdd4909..8837719b 100644 --- a/erp24/records/WaybillWriteOffsProducts.php +++ b/erp24/records/WaybillWriteOffsProducts.php @@ -87,6 +87,8 @@ class WaybillWriteOffsProducts extends \yii\db\ActiveRecord if ($count == 0) { continue; } + } else { + continue; } } else { $count = $itemCount; -- 2.39.5