new helpdesk module

This commit is contained in:
Mark Gregory
2026-06-12 10:10:52 +01:00
parent 28a34cfa87
commit 67faed6165
26 changed files with 630 additions and 11 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ final class TicketIndex extends Component
$user = Auth::user();
return Ticket::query()
->with(['owner', 'agent', 'status', 'priority', 'category', 'project'])
->with(['owner', 'agent', 'status', 'priority', 'category', 'project', 'team'])
->visibleTo($user)
->when($this->scope === 'open', static fn (Builder $query): Builder => $query->whereNull('completed_at'))
->when($this->scope === 'closed', static fn (Builder $query): Builder => $query->whereNotNull('completed_at'))