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

index 435332cc7a7123d8abee9fb495dd24715b5112ab..e7b91af74a263c2966e1f0f6d7660641bfbad0a5 100644 (file)
@@ -271,16 +271,6 @@ JS
                                 ->scalar();
                         }
 
-                        $videoPreviewHtml = '';
-                        if ($videoUrl) {
-                            $videoPreviewHtml = '<div class="video-preview" style="margin-left: 20px;">
-                <video controls width="200">
-                    <source src="' . Html::encode($videoUrl) . '" type="video/mp4">
-                    Ваш браузер не поддерживает видео.
-                </video>
-            </div>';
-                        }
-
                         return [
                             'options' => [
                                 'multiple' => false,
@@ -311,10 +301,6 @@ JS
                                     'url' => Url::to(['delete-video', 'id' => $data['id']]),
                                 ]] : [],
                             ],
-                            'groupOptions' => [
-                                'class' => 'd-flex align-items-center',
-                                'template' => '{input}' . $videoPreviewHtml,
-                            ],
                         ];
                     }
                 ],