From 7c4cf2291a9b194535ebeb58c77d52e16a705233 Mon Sep 17 00:00:00 2001 From: marina Date: Mon, 3 Feb 2025 16:48:19 +0300 Subject: [PATCH] =?utf8?q?=D1=84=D0=B8=D0=BB=D1=8C=D1=82=D1=80=D0=B0=D1=86?= =?utf8?q?=D0=B8=D1=8F=20=D0=BF=D0=BE=20=D1=83=D0=B4=D0=B0=D0=BB=D0=B5?= =?utf8?q?=D0=BD=D0=BD=D1=8B=D0=BC=20=D1=81=D0=BC=D0=B5=D0=BD=D0=B0=D0=BC?= =?utf8?q?=20=D0=BF=D1=80=D0=BE=D0=B4=D0=B0=D0=B6=D0=B8=20=D1=81=D0=B5?= =?utf8?q?=D0=B3=D0=BE=D0=B4=D0=BD=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/actions/dashboard/SalesAction.php | 1 + 1 file changed, 1 insertion(+) diff --git a/erp24/actions/dashboard/SalesAction.php b/erp24/actions/dashboard/SalesAction.php index 256da889..23b6d87b 100755 --- a/erp24/actions/dashboard/SalesAction.php +++ b/erp24/actions/dashboard/SalesAction.php @@ -140,6 +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]) ->select([ 'e.export_val AS store_id', new \yii\db\Expression( -- 2.39.5