From c031d94c82d56d30dd02ab10fa8792d0b817b058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Tue, 3 Feb 2026 21:21:55 +0900 Subject: [PATCH] =?UTF-8?q?fix:partner-activity=20=EB=B7=B0=EC=97=90?= =?UTF-8?q?=EC=84=9C=20tenant=20=ED=83=80=EC=9E=85=20=EC=B2=98=EB=A6=AC=20?= =?UTF-8?q?=EB=88=84=EB=9D=BD=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - type이 'tenant'인 경우 $item['prospect']가 없어서 500 에러 발생 - $prospect->company_name 대신 $item['company_name'] 사용 - $tenant 변수도 추가하여 타입별 처리 가능하도록 수정 Co-Authored-By: Claude Opus 4.5 --- .../sales/dashboard/partials/partner-activity.blade.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/views/sales/dashboard/partials/partner-activity.blade.php b/resources/views/sales/dashboard/partials/partner-activity.blade.php index ee64b85d..9ac87e11 100644 --- a/resources/views/sales/dashboard/partials/partner-activity.blade.php +++ b/resources/views/sales/dashboard/partials/partner-activity.blade.php @@ -81,7 +81,8 @@
@foreach($managerOnlyProspects as $item) @php - $prospect = $item['prospect']; + $prospect = $item['prospect'] ?? null; + $tenant = $item['tenant'] ?? null; $management = $item['management']; $registeredBy = $item['registeredBy']; $progress = $item['progress']; @@ -94,8 +95,8 @@
-

{{ $prospect->company_name }}

-

{{ $prospect->business_number ?? '-' }}

+

{{ $item['company_name'] }}

+

{{ $item['business_number'] ?? '-' }}

매니저만 진행