fix reports
This commit is contained in:
1 parent
bb9959edf1
commit
2f8e6466f4
1 file changed
+1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user