From: marina Date: Tue, 27 May 2025 07:06:47 +0000 (+0300) Subject: ERP-417 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=d1c9ee38c213b5130fd1fe203ccea45f79b7c0af;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 24833539..e426a00a 100644 --- a/erp24/views/write_offs_erp/_form.php +++ b/erp24/views/write_offs_erp/_form.php @@ -245,23 +245,25 @@ JS [ 'name' => 'videoFiles', 'title' => 'Видео: mp4, mov, avi', - 'type' => FileInput::class, + 'type' => FileInput::className(), 'options' => [ 'options' => [ 'multiple' => false, 'accept' => 'video/*', 'name' => 'video_name', + 'capture' => '', + 'class' => 'videos' ], 'pluginOptions' => [ 'showPreview' => true, 'showCaption' => true, 'showRemove' => true, 'showUpload' => false, + 'overwriteInitial' => true, 'browseLabel' => '', 'removeLabel' => '', 'cancelLabel' => '', 'browseIcon' => '+', - 'removeIcon' => '-', 'cancelIcon' => 'x', 'previewFileType' => 'video', 'allowedFileExtensions' => ['mp4', 'mov', 'avi'],