From aa89be21fcca024f9408f2b60f47482da0bfe46f Mon Sep 17 00:00:00 2001 From: pro Date: Thu, 29 Jan 2026 14:18:49 +0900 Subject: [PATCH] =?UTF-8?q?fix:=ED=85=8C=EB=84=8C=ED=8A=B8=20=EB=A6=AC?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20UI=20=EA=B0=9C=EC=84=A0=20=EB=B0=8F=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C=20=EA=B6=8C=ED=95=9C=20=EC=A0=9C=ED=95=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 영업/매니저 프로그레스바를 2행에서 1행으로 변경 (각 50% 너비) - 삭제 버튼을 본사(HQ) 사용자만 표시하도록 제한 - belongsToHQ() 메서드 활용하여 권한 체크 - @click → x-on:click 변경 (Blade 충돌 방지) Co-Authored-By: Claude Opus 4.5 --- .../dashboard/partials/tenant-list.blade.php | 51 ++++++++++--------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/resources/views/sales/dashboard/partials/tenant-list.blade.php b/resources/views/sales/dashboard/partials/tenant-list.blade.php index 903cb5ec..bdf42b9a 100644 --- a/resources/views/sales/dashboard/partials/tenant-list.blade.php +++ b/resources/views/sales/dashboard/partials/tenant-list.blade.php @@ -117,25 +117,23 @@ @include('sales.dashboard.partials.manager-dropdown', ['tenant' => $tenant]) - -
-
- {{-- 영업 --}} -
- 영업 -
-
-
- {{ $progress['sales']['percentage'] }}% + +
+ {{-- 영업 --}} +
+ 영업 +
+
- {{-- 매니저 --}} -
- 매니저 -
-
-
- {{ $progress['manager']['percentage'] }}% + {{ $progress['sales']['percentage'] }}% +
+ {{-- 매니저 --}} +
+ 매니 +
+
+ {{ $progress['manager']['percentage'] }}%
@@ -215,7 +213,7 @@ class="inline-flex items-center gap-1 px-2 py-1 rounded text-xs font-medium bg-g 매니저 - {{-- 설정/수정/삭제 아이콘 --}} + {{-- 설정/삭제 아이콘 --}}
@@ -224,13 +222,16 @@ class="p-1 text-gray-400 hover:text-blue-600 transition-colors" title="상세설 - + {{-- 삭제 버튼: 본사(HQ)만 표시 --}} + @if(auth()->user()?->belongsToHQ()) + + @endif