public function teams(): BelongsToMany
{
return $this->belongsToMany(Team::class)->withTimestamps()->withPivot('team_id', 'user_id', 'status', 'created_at', 'updated_at')->where('team_user.status', '<>', 'B');
}
public function team() {
return Filament::getTenant();
}
public function teams(): BelongsToMany
{
return $this->belongsToMany(Team::class)->withTimestamps()->withPivot('team_id', 'user_id', 'status', 'created_at', 'updated_at')->where('team_user.status', '<>', 'B');
}
public function team() {
return Filament::getTenant();
}