name('workflow.open'); Route::get('/', HelpdeskController::class)->name('index'); Route::get('/settings', SettingsManager::class)->name('settings'); Route::get('/kanban', KanbanBoard::class)->name('kanban'); Route::get('/tickets', TicketIndex::class)->name('tickets.index'); Route::get('/tickets/archived', ArchivedTicketIndex::class)->name('tickets.archived'); Route::post('/tickets', TicketStoreController::class)->name('tickets.store'); Route::get('/tickets/create', TicketCreate::class)->name('tickets.create'); Route::get('/tickets/{ticket}/edit', TicketEdit::class)->name('tickets.edit'); Route::post('/tickets/{ticket}/agent', [TicketControlsController::class, 'updateAgent'])->name('tickets.agent.update'); Route::post('/tickets/{ticket}/status', [TicketControlsController::class, 'updateStatus'])->name('tickets.status.update'); Route::post('/tickets/{ticket}/priority', [TicketControlsController::class, 'updatePriority'])->name('tickets.priority.update'); Route::post('/tickets/{ticket}/board', TicketBoardController::class)->name('tickets.board.update'); Route::post('/tickets/{ticket}/comments', TicketCommentStoreController::class)->name('tickets.comments.store'); Route::post('/tickets/{ticket}/attachments', TicketAttachmentStoreController::class)->name('tickets.attachments.store'); Route::delete('/tickets/{ticket}/comments/{comment}', TicketCommentDeleteController::class)->name('tickets.comments.destroy'); Route::get('/tickets/{ticket}', TicketShow::class)->name('tickets.show'); Route::get('/attachments/{attachment}/download', AttachmentDownloadController::class) ->whereNumber('attachment') ->name('attachments.download'); Route::get('/attachments/{attachment}/preview', [AttachmentDownloadController::class, 'preview']) ->whereNumber('attachment') ->name('attachments.preview'); Route::delete('/attachments/{attachment}', [AttachmentDownloadController::class, 'destroy']) ->whereNumber('attachment') ->name('attachments.destroy'); Route::post('/tickets/{ticket}/time-logs', [TicketTimeLogController::class, 'store']) ->name('tickets.time-logs.store');