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
91d8758de1
commit
bb5124d1a4
1 file changed
+7
@@ -250,6 +250,13 @@ class SubTaskController extends Controller
|
|||||||
|
|
||||||
$subtask->update($request->all()['data']);
|
$subtask->update($request->all()['data']);
|
||||||
|
|
||||||
|
// upload attachmentu
|
||||||
|
if ($request->file('data')) {
|
||||||
|
$attachments = Attachment::uploadAttachmentsToS3($request->file('data')['files'], $subtask->mastertask);
|
||||||
|
|
||||||
|
$subtask->attachments()->createMany($attachments);
|
||||||
|
}
|
||||||
|
|
||||||
// syncnutie vykazu
|
// syncnutie vykazu
|
||||||
$subtask->syncTimesheets($data['data']['timesheets']);
|
$subtask->syncTimesheets($data['data']['timesheets']);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user