From d209a78bc44acd22c8231bda72adfdbe9f122086 Mon Sep 17 00:00:00 2001 From: fomichev Date: Wed, 18 Dec 2024 18:09:50 +0300 Subject: [PATCH] =?utf8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5?= =?utf8?q?=D0=BD=D0=B8=D0=B5=20=D0=B2=D1=8B=D0=B1=D0=BE=D1=80=D0=BA=D0=B8?= =?utf8?q?=20=D0=BF=D1=80=D0=BE=D0=B4=D0=B0=D0=B6=20=D0=B7=D0=B0=20=D0=B4?= =?utf8?q?=D0=B0=D1=82=D1=83=20(=D0=BC=D0=B5=D1=81-=D0=B4=D0=B5=D0=BD?= =?utf8?q?=D1=8C)=20=D0=BF=D0=BE=20=D0=B2=D1=81=D0=B5=D0=BC=20=D0=B3=D0=BE?= =?utf8?q?=D0=B4=D0=B0=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/records/Users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/records/Users.php b/erp24/records/Users.php index 4aaf17fd..749ebb99 100755 --- a/erp24/records/Users.php +++ b/erp24/records/Users.php @@ -303,7 +303,7 @@ class Users extends \yii\db\ActiveRecord $salesPhone = Sales::find() ->where(new \yii\db\Expression("TO_CHAR(date, 'MM-DD') = :monthDay", [':monthDay' => $monthDay])) - ->andWhere(new \yii\db\Expression("date <= NOW()")) + //->andWhere(new \yii\db\Expression("date <= NOW()")) ->distinct('phone') ->select('phone') ->column(); -- 2.39.5