From: marina Date: Wed, 18 Sep 2024 13:06:26 +0000 (+0300) Subject: переименование date_shift TimetableFactModel.php в date X-Git-Tag: 1.5~17^2~1 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=2a8c72167bb3bcd8df49893d070ce1c9aa9ac087;p=erp24_rep%2Fyii-erp24%2F.git переименование date_shift TimetableFactModel.php в date --- diff --git a/erp24/forms/timetable/TabelSearchForm.php b/erp24/forms/timetable/TabelSearchForm.php index 53147b2f..e9a41f32 100755 --- a/erp24/forms/timetable/TabelSearchForm.php +++ b/erp24/forms/timetable/TabelSearchForm.php @@ -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]); } }