fix reports
This commit is contained in:
parent
bb9959edf1
commit
2f8e6466f4
@ -70,6 +70,7 @@ class ReportSearchForm extends Model
|
||||
public function reportsByDate()
|
||||
{
|
||||
return Reports::find()->with('task')
|
||||
->where(['reports.user_card_id' => $this->user_card_id])
|
||||
->where(['reports.user_card_id' => $this->user_card_id])
|
||||
->where(['between', 'reports.created_at', $this->fromDate, $this->toDate])
|
||||
->asArray()->all();
|
||||
|
Loading…
Reference in New Issue
Block a user