Bug fix for associating task with an invoice
This commit is contained in:
parent
40c30cce2f
commit
e619d1d541
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ class TaskController extends BaseController
|
|||
Session::flash('message', trans('texts.updated_task_status'));
|
||||
return $this->returnBulk($this->entityType, $action, $ids);
|
||||
} elseif ($action == 'invoice' || $action == 'add_to_invoice') {
|
||||
$tasks = Task::scope($ids)->with('account', 'client', 'project')->orderBy('project_id', 'id')->get();
|
||||
$tasks = Task::scope($ids)->with('account', 'client', 'project')->orderBy('project_id')->orderBy('id')->get();
|
||||
$clientPublicId = false;
|
||||
$data = [];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue