From: Vladimir Fomichev Date: Mon, 15 Dec 2025 14:40:10 +0000 (+0300) Subject: Убираем createdByAttribute X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=715d5f30b48790b81d2194be4492847fac885ee2;p=erp24_rep%2Fyii-erp24%2F.git Убираем createdByAttribute --- diff --git a/erp24/records/ReplacementInvoice.php b/erp24/records/ReplacementInvoice.php index b1e5f976..4949be5a 100644 --- a/erp24/records/ReplacementInvoice.php +++ b/erp24/records/ReplacementInvoice.php @@ -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', ], ];