]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Убираем createdByAttribute
authorVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 15 Dec 2025 14:40:10 +0000 (17:40 +0300)
committerVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 15 Dec 2025 14:40:10 +0000 (17:40 +0300)
erp24/records/ReplacementInvoice.php

index b1e5f976088c0a605ef4a7fba35c13678a5f7028..4949be5a12bc2d5774824c76fc2927c4c6753023 100644 (file)
@@ -53,7 +53,7 @@ class ReplacementInvoice extends \yii\db\ActiveRecord
             ],
             [
                 'class' => BlameableBehavior::class,
-                'createdByAttribute' => 'created_admin_id',
+                // createdByAttribute отключен, так как created_admin_id всегда устанавливается вручную в setData()
                 'updatedByAttribute' => 'updated_admin_id',
             ],
         ];