Merge pull request #5453 from turbo124/v5-develop

Log Task status
This commit is contained in:
David Bomba 2021-04-17 08:40:40 +10:00 committed by GitHub
commit 8588ba9969
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -608,9 +608,12 @@ class TaskController extends BaseController
$sort_status_id = $this->decodePrimaryKey($key); $sort_status_id = $this->decodePrimaryKey($key);
nlog($task_list);
foreach ($task_list as $key => $task) foreach ($task_list as $key => $task)
{ {
nlog($task);
$task = Task::where('id', $this->decodePrimaryKey($task)) $task = Task::where('id', $this->decodePrimaryKey($task))
->where('company_id', auth()->user()->company()->id) ->where('company_id', auth()->user()->company()->id)
->first(); ->first();