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
dbd6f9fe9a
commit
253d02c167
1 file changed
+5
-3
@@ -514,10 +514,12 @@ class SubTaskController extends Controller
|
|||||||
// Skopírujeme attachmenty z pôvodného draftu
|
// Skopírujeme attachmenty z pôvodného draftu
|
||||||
foreach ($draft->attachments as $attachment) {
|
foreach ($draft->attachments as $attachment) {
|
||||||
$newSubtask->attachments()->create([
|
$newSubtask->attachments()->create([
|
||||||
'name' => $attachment->name,
|
'original_name' => $attachment->original_name,
|
||||||
|
'disk_name' => $attachment->disk_name,
|
||||||
'path' => $attachment->path,
|
'path' => $attachment->path,
|
||||||
'size' => $attachment->size,
|
'extension' => $attachment->extension,
|
||||||
'type' => $attachment->type,
|
'content_type' => $attachment->content_type,
|
||||||
|
'file_size' => $attachment->file_size,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user