From 9165cbb088033567258f19a47fc160a34a4f79bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9?= Date: Fri, 31 Jul 2026 16:39:23 +0300 Subject: [PATCH] =?UTF-8?q?fix(=D0=B2=D0=BE=D1=80=D0=BE=D0=BD=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=BF=D1=80=D0=BE=D0=B4=D0=B0=D0=B6):=20=D0=B4=D0=BE=D1=81?= =?UTF-8?q?=D0=BE=D1=85=D1=80=D0=B0=D0=BD=D0=B5=D0=BD=D0=B0=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=BA=D0=B0=20=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D0=B8?= =?UTF-8?q?=20=E2=80=94=20=D0=BD=D0=BE=D0=B2=D1=8B=D0=B5=20=D0=BF=D0=BE?= =?UTF-8?q?=D0=BB=D1=8F=20=D0=B2=20fillable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Правка потерялась при замере статанализа: файл уходил в стэш и вернулся несохранённым, а коммит Task 1 прошёл без него. Поймано сверкой боевого с собранной папкой перед выкатом, а не тестами — тесты идут по рабочей папке и правку видели. Co-Authored-By: Claude Opus 5 (1M context) --- app/app/Models/SalesProspect.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/app/Models/SalesProspect.php b/app/app/Models/SalesProspect.php index 1880b0b4..012eafe3 100644 --- a/app/app/Models/SalesProspect.php +++ b/app/app/Models/SalesProspect.php @@ -36,6 +36,10 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo; * @property Carbon|null $next_call_at * @property string|null $reason * @property string|null $registered_email + * @property string|null $test_channel + * @property string|null $test_target + * @property string|null $kp_channel + * @property string|null $kp_target * @property int|null $linked_tenant_id * @property string|null $notes * @property Carbon $created_at @@ -52,6 +56,7 @@ class SalesProspect extends Model 'sales_user_id', 'assigned_by', 'stage', 'source', 'firm_name', 'legal_name', 'contacts', 'city', 'phone', 'site', 'inn', 'rating_label', 'payload', 'next_call_at', 'reason', 'registered_email', 'linked_tenant_id', 'notes', + 'test_channel', 'test_target', 'kp_channel', 'kp_target', ]; /** Дефолты in-memory (совпадают с DB DEFAULT), чтобы поля были доступны до refresh. */