mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Bug fix for associating task with an invoice
This commit is contained in:
parent
40c30cce2f
commit
e619d1d541
@ -276,7 +276,7 @@ class TaskController extends BaseController
|
|||||||
Session::flash('message', trans('texts.updated_task_status'));
|
Session::flash('message', trans('texts.updated_task_status'));
|
||||||
return $this->returnBulk($this->entityType, $action, $ids);
|
return $this->returnBulk($this->entityType, $action, $ids);
|
||||||
} elseif ($action == 'invoice' || $action == 'add_to_invoice') {
|
} 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;
|
$clientPublicId = false;
|
||||||
$data = [];
|
$data = [];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user