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

index 6b250bd9b7e67829ec31bd7dc0d0418f2048af65..75c81b1eb3a9e380059d03bf2af0f3ae95ea1d96 100644 (file)
@@ -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();