feat(tasks): complete task management system with Kanban, Calendar, notifications
- Add Task model with subtasks, priorities, status transitions, dates, hours - Add Comment polymorphic model for tasks/issues/projects - Livewire components: TaskManager (list+filters), TaskForm (modal), TaskDetail, TaskKanban (drag&drop), TaskCalendar (FullCalendar) - TaskPolicy with permissions (view/create/edit/delete/assign/manage all) - Notifications: assigned, status change, overdue, comment added - Daily overdue notification job scheduled - Dashboard widget unifies IssueTask + Task - i18n: en/es/fr/ru (393 keys each) - Routes, navigation, offline sync support - 101 tests passing, Pint compliant on new files
This commit is contained in:
@@ -418,6 +418,16 @@
|
||||
<x-heroicon-o-pencil class="w-4 h-4 mr-1" /> {{ __('Edit') }}
|
||||
</button>
|
||||
@endcan
|
||||
@can('delete inspections')
|
||||
<button
|
||||
wire:click="$dispatch('delete-inspection', { id: {{ $viewingInspection['id'] }} })"
|
||||
wire:loading.attr="disabled"
|
||||
class="btn btn-error btn-sm"
|
||||
onclick="return confirm('{{ __('Delete this inspection? This cannot be undone.') }}');"
|
||||
>
|
||||
<x-heroicon-o-trash class="w-4 h-4 mr-1" /> {{ __('Delete') }}
|
||||
</button>
|
||||
@endcan
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-backdrop bg-black/40" wire:click="closeViewInspection"></div>
|
||||
|
||||
Reference in New Issue
Block a user