mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
no message
This commit is contained in:
1 parent
4f64d407f4
commit
804a4b76e8
1 file changed
+4
@@ -184,6 +184,10 @@ class SubTaskController extends Controller
|
||||
if ($request->file('data')) {
|
||||
$subtask->attachments()->createMany($attachments);
|
||||
}
|
||||
|
||||
// syncnutie timeblocks
|
||||
if ($data['data']['user_id'] == $subtask->user_id)
|
||||
$subtask->syncTimeblocks($data['data']['timeblocks']);
|
||||
}
|
||||
|
||||
return response()->json([
|
||||
|
||||
Reference in new issue
Block a user