From: marina Date: Tue, 27 May 2025 08:45:42 +0000 (+0300) Subject: ERP-417 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=8bc5c669b7de1516f857b8b3042e4e8f03aa0a1f;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 6b250bd9..75c81b1e 100644 --- a/erp24/views/write_offs_erp/_form.php +++ b/erp24/views/write_offs_erp/_form.php @@ -262,10 +262,10 @@ JS $videoUrl = null; if (!empty($data['id'])) { - $videoUrl = \common\models\Files::find() + $videoUrl = Files::find() ->select('url') ->where([ - 'entity' => \common\models\WriteOffsProductsErp::WRITE_OFFS_VIDEO, + 'entity' => WriteOffsProductsErp::WRITE_OFFS_VIDEO, 'entity_id' => $data['id'] ]) ->scalar();