]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
ERP-417
authormarina <m.zozirova@gmail.com>
Tue, 27 May 2025 08:35:20 +0000 (11:35 +0300)
committermarina <m.zozirova@gmail.com>
Tue, 27 May 2025 08:35:20 +0000 (11:35 +0300)
erp24/views/write_offs_erp/_form.php

index a7f70f500cc80a3bb3cc25eea08c6c15dcec665c..f2cea4c0796b4d3b546c93d7a69edbe70d4ab188 100644 (file)
@@ -295,6 +295,7 @@ JS
                                 'allowedFileExtensions' => ['mp4', 'mov', 'avi'],
                                 'initialPreview' => $videoUrl ? [$videoUrl] : [],
                                 'initialPreviewAsData' => true,
+                                'initialCaption' => $videoUrl ? basename($videoUrl) : '',
                                 'initialPreviewConfig' => $videoUrl ? [[
                                     'type' => 'video',
                                     'caption' => basename($videoUrl),