ui updates for ticket layout

This commit is contained in:
Mark Gregory
2026-06-17 13:15:55 +01:00
parent 0b4c821187
commit a87c9762c9
8 changed files with 202 additions and 84 deletions
@@ -55,9 +55,12 @@ final class KanbanBoard extends Component
Auth::user()
);
$this->board_id = $board?->id;
$message = 'Ticket '.$ticket->reference.' moved from '.$oldStatusName.' to '.$status->name.'.';
session()->flash('success', $message);
$this->dispatch('wms:toast', type: 'success', title: 'Ticket moved', message: $message);
$this->dispatch('helpdesk-kanban-ticket-moved', ticketId: (int) $ticket->id, statusId: (int) $status->id);
}
/**
@@ -95,6 +98,7 @@ final class KanbanBoard extends Component
$message = 'Ticket '.$fresh->reference.' moved from '.$oldBoardName.' to '.$board->name.'.';
session()->flash('success', $message);
$this->dispatch('wms:toast', type: 'success', title: 'Board changed', message: $message);
$this->dispatch('helpdesk-kanban-ticket-moved', ticketId: (int) $fresh->id, statusId: (int) $fresh->status_id);
}
/**