update manage schedule

This commit is contained in:
2022-09-26 09:43:12 +07:00
parent ac0588b711
commit 33e439de8f
16 changed files with 677 additions and 25 deletions

View File

@@ -179,4 +179,8 @@ class ListManagement extends \yii\db\ActiveRecord {
];
}
public function getSchedule() {
return Schedule::find()->andWhere(['staff_id' => $this->id])->all();
}
}