mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 06:20:21 +00:00
no message
This commit is contained in:
1 parent
dbd6f9fe9a
commit
253d02c167
1 file changed
+5
-3
@@ -514,10 +514,12 @@ class SubTaskController extends Controller
|
||||
// Skopírujeme attachmenty z pôvodného draftu
|
||||
foreach ($draft->attachments as $attachment) {
|
||||
$newSubtask->attachments()->create([
|
||||
'name' => $attachment->name,
|
||||
'original_name' => $attachment->original_name,
|
||||
'disk_name' => $attachment->disk_name,
|
||||
'path' => $attachment->path,
|
||||
'size' => $attachment->size,
|
||||
'type' => $attachment->type,
|
||||
'extension' => $attachment->extension,
|
||||
'content_type' => $attachment->content_type,
|
||||
'file_size' => $attachment->file_size,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user