Commit 6e650583 by Azhan Hannan

changes

parent 2c941372
......@@ -18,7 +18,7 @@ class Pteam extends Model
protected $table = 'project_team';
public function toProject()
{
return $this->hasOne('Portal\Timesheet\Model\Project','id','fk_project_id')->where('p_project_sts', 1);
return $this->hasOne('Portal\Timesheet\Model\Project','id','fk_project_id')->where('p_project_sts', 1)->withTrashed();
}
public function toRole()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment