Renamed jetstream team to organization

This commit is contained in:
Constantin Graf
2024-01-21 19:52:19 +01:00
parent 6377df1f44
commit 0a8d958ccc
63 changed files with 461 additions and 329 deletions

View File

@@ -19,7 +19,7 @@ use Illuminate\Support\Carbon;
* @property bool $billable
* @property array $tags
* @property-read User $user
* @property-read Team $organization
* @property-read Organization $organization
* @property-read Project|null $project
* @property-read Task|null $task
*
@@ -52,11 +52,11 @@ class TimeEntry extends Model
}
/**
* @return BelongsTo<Team, TimeEntry>
* @return BelongsTo<Organization, TimeEntry>
*/
public function organization(): BelongsTo
{
return $this->belongsTo(Team::class, 'organization_id');
return $this->belongsTo(Organization::class, 'organization_id');
}
/**