]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
переименование date_shift TimetableFactModel.php в date
authormarina <m.zozirova@gmail.com>
Wed, 18 Sep 2024 13:06:26 +0000 (16:06 +0300)
committermarina <m.zozirova@gmail.com>
Wed, 18 Sep 2024 13:06:26 +0000 (16:06 +0300)
erp24/forms/timetable/TabelSearchForm.php

index 53147b2ff0c2206e75fd87c17d34bad13363f1b2..e9a41f32af8a13c7c0636c386348af5797c7b034 100755 (executable)
@@ -128,8 +128,8 @@ class TabelSearchForm extends Model
         } else {
             return $class::find()
                 ->andWhere(['store_id' => array_keys(self::stores())])
-                ->andFilterWhere(['>=', 'date_shift', $this->start])
-                ->andFilterWhere(['<=', 'date_shift', $this->end]);
+                ->andFilterWhere(['>=', 'date', $this->start])
+                ->andFilterWhere(['<=', 'date', $this->end]);
         }
     }