From: marina Date: Tue, 17 Dec 2024 12:51:52 +0000 (+0300) Subject: ERP-259 Доработка второго шага передачи смен X-Git-Tag: 1.7~154^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=e637d60d485683dfb75dd6d02c70c673156d0635;p=erp24_rep%2Fyii-erp24%2F.git ERP-259 Доработка второго шага передачи смен --- 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;