fix bug sync data

This commit is contained in:
2020-11-03 17:16:51 +07:00
parent cf95ab15ee
commit 65aced8ccf
2 changed files with 15 additions and 0 deletions

View File

@@ -65,6 +65,8 @@ class LogsSearch extends Logs {
$query->andFilterWhere(['department_id' => $this->staff_department]);
if ($this->staff_code)
$query->andFilterWhere(['code' => $this->staff_code]);
if ($this->card_number)
$query->andFilterWhere(['logs.card_number' => $this->card_number]);
// grid filtering conditions
$query->andFilterWhere([