From: marina Date: Tue, 27 May 2025 06:53:38 +0000 (+0300) Subject: ERP-417 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=032da3b36f31ed87c1f0b0a81eaa07b2bef26ca3;p=erp24_rep%2Fyii-erp24%2F.git ERP-417 --- diff --git a/erp24/views/write_offs_erp/_form.php b/erp24/views/write_offs_erp/_form.php index 3a67777a..24833539 100644 --- a/erp24/views/write_offs_erp/_form.php +++ b/erp24/views/write_offs_erp/_form.php @@ -245,10 +245,13 @@ JS [ 'name' => 'videoFiles', 'title' => 'Видео: mp4, mov, avi', - 'type' => \kartik\file\FileInput::class, + 'type' => FileInput::class, 'options' => [ -// 'multiple' => false, - 'accept' => 'video/*', + 'options' => [ + 'multiple' => false, + 'accept' => 'video/*', + 'name' => 'video_name', + ], 'pluginOptions' => [ 'showPreview' => true, 'showCaption' => true, @@ -285,12 +288,8 @@ JS ), 'url' => Url::to(['delete-video', 'id' => $model->id]), ]] : [], - ], - 'style' => 'max-width: 150px; overflow: hidden;', - ], - 'columnOptions' => [ - 'style' => 'max-width: 150px;', - ], + ] + ] ], [ 'name' => 'comment',