fixe duploads and attachments now with colors tab and enhancements
This commit is contained in:
@@ -233,7 +233,7 @@ final class TicketEdit extends Component
|
||||
->orWhereNull('company_id');
|
||||
})
|
||||
->when($this->agent_id !== null, function ($query): void {
|
||||
$query->orWhereKey($this->agent_id);
|
||||
$query->orWhere('id', $this->agent_id);
|
||||
})
|
||||
->get();
|
||||
|
||||
@@ -248,8 +248,8 @@ final class TicketEdit extends Component
|
||||
private function freshTicket(Ticket $ticket): Ticket
|
||||
{
|
||||
return $ticket->fresh([
|
||||
'owner',
|
||||
'agent',
|
||||
'owner.company',
|
||||
'agent.company',
|
||||
'status',
|
||||
'priority',
|
||||
'category',
|
||||
|
||||
Reference in New Issue
Block a user