]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Правки
authorfomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 14 Apr 2025 07:53:23 +0000 (10:53 +0300)
committerfomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 14 Apr 2025 07:53:23 +0000 (10:53 +0300)
erp24/services/StorePlanService.php

index a3f1134c54e0e6cf6ce59f67bb26d8866d3b167b..6fcd365b2f9ba3f2135a7a1141cddd2a8c28b863 100755 (executable)
@@ -775,14 +775,14 @@ class StorePlanService
 
         if ($matrix_type) {
             $query->leftJoin(
-                'erp24.bouquet_composition_matrix_type_history mth', // Добавили схему
+                'erp24.bouquet_composition_matrix_type_history mth',
                 'mth.bouquet_id = bouquet_composition.id'
             )->andWhere([
                 'mth.matrix_type_id' => $matrix_type,
-                'mth.is_active' => true // Используем true без константы
+                'mth.is_active' => true
             ]);
         }
-        return $query->all();
+        return $query->asArray()->all();
     }