From d0930f31f253c6cdf3b6e4ab40e23abfa354d85b Mon Sep 17 00:00:00 2001 From: marina Date: Tue, 4 Feb 2025 10:53:49 +0300 Subject: [PATCH] =?utf8?q?ERP-302=20=D0=A0=D0=B5=D0=B4=D0=B0=D0=BA=D1=82?= =?utf8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=B1=D1=83?= =?utf8?q?=D0=BA=D0=B5=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/actions/dashboard/SalesAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/actions/dashboard/SalesAction.php b/erp24/actions/dashboard/SalesAction.php index 23b6d87b..670f9f2f 100755 --- a/erp24/actions/dashboard/SalesAction.php +++ b/erp24/actions/dashboard/SalesAction.php @@ -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( -- 2.39.5