]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
мелко правки
authormarina <m.zozirova@gmail.com>
Thu, 4 Jul 2024 06:44:38 +0000 (09:44 +0300)
committermarina <m.zozirova@gmail.com>
Thu, 4 Jul 2024 06:44:38 +0000 (09:44 +0300)
erp24/controllers/TimetableFactController.php

index 3f1ea30fce5fe29631985d6d4d7f8b6bd2c382ee..d9b53ec99572448aac5a3f0af1a5a3d8851ac9cd 100644 (file)
@@ -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')])