From 155aaef385873624e06b3735316b7b4c4660c3b2 Mon Sep 17 00:00:00 2001 From: marina Date: Tue, 27 May 2025 11:33:34 +0300 Subject: [PATCH] ERP-417 --- erp24/views/write_offs_erp/_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/views/write_offs_erp/_form.php b/erp24/views/write_offs_erp/_form.php index 0c1c2a94..a7f70f50 100644 --- a/erp24/views/write_offs_erp/_form.php +++ b/erp24/views/write_offs_erp/_form.php @@ -258,7 +258,7 @@ JS 'name' => 'videoFiles', 'title' => 'Видео: mp4, mov, avi', 'type' => FileInput::className(), - 'options' => function ($row, $index) use ($model) { + 'options' => function ($data) use ($model) { $videoUrl = null; if (!empty($model->id)) { -- 2.39.5