{{__("messages.Edit")}} {{__("messages.task")}} {{$task->name}} update
task_status_id .defer @if (auth()->user()->id == $task->created_by && auth()->user()->id == $task->assigned_to ) @foreach (\App\Models\TaskStatus::whereNotIn("id" ,[1,3,4])->get() as $status) @endforeach @elseif (auth()->user()->id == $task->created_by ) @foreach (\App\Models\TaskStatus::whereNotIn("id" ,[2,5])->get() as $status) @endforeach @else @foreach (\App\Models\TaskStatus::whereNotIn("id" ,[1,3,4])->get() as $status) @endforeach @endif
@if (auth()->user()->id == $task->created_by || ! $task->account_id )
comment
@endif