]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
исправлена двойная вложенность items
authorAlexander Smirnov <fredeom@mail.ru>
Wed, 18 Dec 2024 08:28:56 +0000 (11:28 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Wed, 18 Dec 2024 08:28:56 +0000 (11:28 +0300)
erp24/api2/controllers/DataController.php

index b9948a3667714c2dba8fcf76bd0e051bdefd551c..c72aa2194541658bab6666a2dd3e021fb2fda614 100644 (file)
@@ -387,7 +387,7 @@ class DataController extends BaseController {
                         $waybillIncomingProductsRow = $waybillIncomingProducts[$row['id']];
                     }
                     if (!empty($waybillIncomingProductsRow)) {
-                        $waybillIncoming[$key]['items'][] = $waybillIncomingProductsRow;
+                        $waybillIncoming[$key]['items'] = $waybillIncomingProductsRow;
                     }
                 }