From 6df9499905e4ab7e10e39a9c17dcaeabd584643f Mon Sep 17 00:00:00 2001 From: marina Date: Thu, 4 Jul 2024 09:44:38 +0300 Subject: [PATCH] =?utf8?q?=D0=BC=D0=B5=D0=BB=D0=BA=D0=BE=20=D0=BF=D1=80?= =?utf8?q?=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/controllers/TimetableFactController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/erp24/controllers/TimetableFactController.php b/erp24/controllers/TimetableFactController.php index 3f1ea30f..d9b53ec9 100644 --- a/erp24/controllers/TimetableFactController.php +++ b/erp24/controllers/TimetableFactController.php @@ -158,8 +158,7 @@ class TimetableFactController extends Controller ->andWhere(['is not', 'plan_id', null]) ->andWhere(['not in', 'id', (new Query())->select('plan_id')->from('timetable_fact')]); - if ($action == 'applyPlus' || true) { - + if ($action == 'applyPlus') { $timetables = Timetable::find() ->andWhere(['>=', 'date', '2024-06-01']) ->andWhere(['<', 'date', date('Y-m-d')]) -- 2.39.5