From: marina Date: Thu, 4 Jul 2024 06:44:38 +0000 (+0300) Subject: мелко правки X-Git-Tag: 1.3~23^2~6 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=6df9499905e4ab7e10e39a9c17dcaeabd584643f;p=erp24_rep%2Fyii-erp24%2F.git мелко правки --- 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')])