]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
ERP-302 Редактирование букета add_delete_filter_on_sales_today origin/add_delete_filter_on_sales_today
authormarina <m.zozirova@gmail.com>
Tue, 4 Feb 2025 07:53:49 +0000 (10:53 +0300)
committermarina <m.zozirova@gmail.com>
Tue, 4 Feb 2025 07:53:49 +0000 (10:53 +0300)
erp24/actions/dashboard/SalesAction.php

index 23b6d87b409d9f67cc098b91fcefb0f618dfc822..670f9f2f0699d31b611590d9a9d831aec783d20d 100755 (executable)
@@ -140,7 +140,7 @@ class SalesAction extends Action
                 ->leftJoin(['a' => 'admin'], 't.admin_id = a.id')
                 ->leftJoin('export_import_table e', 'entity_id = t.store_id and entity = \'city_store\'')
                 ->where(['=', 'date', $date1])
-                ->andWhere(['active' => 1])
+                ->andWhere(['t.active' => 1])
                 ->select([
                     'e.export_val AS store_id',
                     new \yii\db\Expression(