tmp commit

This commit is contained in:
iIronside
2023-01-19 14:50:55 +03:00
parent 097ecfe087
commit b5a9d4be40
2 changed files with 85 additions and 0 deletions

View File

@ -69,6 +69,8 @@ class ReportSearchForm extends Model
public function findByDate(): array
{
return Reports::find()
// ->joinWith('task')
->with('task')
->where(['user_card_id' => $this->user_card_id])
->andWhere(['created_at' => $this->date])
->all();