mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on task kanban
This commit is contained in:
parent
b8b319c671
commit
e170cb2a78
@ -148,9 +148,12 @@ class TaskController extends BaseController
|
|||||||
public function edit(TaskRequest $request)
|
public function edit(TaskRequest $request)
|
||||||
{
|
{
|
||||||
$this->checkTimezone();
|
$this->checkTimezone();
|
||||||
|
|
||||||
$task = $request->entity();
|
$task = $request->entity();
|
||||||
|
|
||||||
|
if (! $task) {
|
||||||
|
return redirect('/');
|
||||||
|
}
|
||||||
|
|
||||||
$actions = [];
|
$actions = [];
|
||||||
if ($task->invoice) {
|
if ($task->invoice) {
|
||||||
$actions[] = ['url' => URL::to("invoices/{$task->invoice->public_id}/edit"), 'label' => trans('texts.view_invoice')];
|
$actions[] = ['url' => URL::to("invoices/{$task->invoice->public_id}/edit"), 'label' => trans('texts.view_invoice')];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user