mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Added resume option to tasks
This commit is contained in:
parent
fa27ed9657
commit
43556928ec
@ -60,7 +60,7 @@ class TaskRepository
|
|||||||
$task->description = trim($data['description']);
|
$task->description = trim($data['description']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$timeLog = $task->time_log ? json_decode($task->time_log) : [];
|
$timeLog = $task->time_log ? json_decode($task->time_log, true) : [];
|
||||||
|
|
||||||
if ($data['action'] == 'start') {
|
if ($data['action'] == 'start') {
|
||||||
$task->start_time = Carbon::now()->toDateTimeString();
|
$task->start_time = Carbon::now()->toDateTimeString();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user