From 2ffc69c4e423e8dc31bbb6a1ecc12653eda573fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Thu, 19 Feb 2026 17:06:52 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=EC=88=98=EB=8B=B9=20=ED=85=8C?= =?UTF-8?q?=EC=9D=B4=EB=B8=94=202=ED=96=89=E2=86=921=ED=96=89=20=EB=A0=88?= =?UTF-8?q?=EC=9D=B4=EC=95=84=EC=9B=83=20=EB=B3=80=EA=B2=BD=20+=20?= =?UTF-8?q?=EA=B3=84=EC=95=BD=EC=9D=BC=20=EC=97=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - rowspan 2행 구조를 단일 행으로 변경 - 테넌트 다음에 계약일(contracted_at) 열 추가 - 지급예정일/수당지급일/협업지원금/매니저지급일을 독립 열로 표시 Co-Authored-By: Claude Opus 4.6 --- .../manager-commission-table.blade.php | 66 +++++++------- .../partner-commission-table.blade.php | 87 ++++++++++--------- 2 files changed, 84 insertions(+), 69 deletions(-) diff --git a/resources/views/finance/settlement/partials/commission/manager-commission-table.blade.php b/resources/views/finance/settlement/partials/commission/manager-commission-table.blade.php index 07a914ae..c6a80ea0 100644 --- a/resources/views/finance/settlement/partials/commission/manager-commission-table.blade.php +++ b/resources/views/finance/settlement/partials/commission/manager-commission-table.blade.php @@ -1,4 +1,4 @@ -{{-- 매니저 수당 테이블 (2행 레이아웃) --}} +{{-- 매니저 수당 테이블 (1행 레이아웃) --}}
@@ -8,8 +8,11 @@ + + + @@ -57,17 +60,18 @@ ]; @endphp - {{-- Row 1: 메인 정보 --}} - + {{-- 테넌트 --}} + {{-- 계약일 --}} + + + {{-- 입금 --}} + {{-- 매니저 --}} + {{-- 지급예정일 --}} + + + {{-- 매니저지급일 --}} + + + {{-- 상태 --}} - - - {{-- Row 2: 지급 정보 --}} - - - {{-- 상태 빈칸 --}} - @empty - diff --git a/resources/views/finance/settlement/partials/commission/partner-commission-table.blade.php b/resources/views/finance/settlement/partials/commission/partner-commission-table.blade.php index 0299dec5..e0818abe 100644 --- a/resources/views/finance/settlement/partials/commission/partner-commission-table.blade.php +++ b/resources/views/finance/settlement/partials/commission/partner-commission-table.blade.php @@ -1,4 +1,4 @@ -{{-- 영업파트너 수당 테이블 (2행 레이아웃) --}} +{{-- 영업파트너 수당 테이블 (1행 레이아웃) --}}
테넌트계약일 입금 매니저지급예정일매니저지급일 상태 액션
+ {{-- 체크박스 --}} + @if (in_array($commission->status, ['pending', 'approved'])) + class="commission-checkbox rounded border-gray-300 text-emerald-600 focus:ring-emerald-500"> @endif
{{ $commission->management?->tenant?->company_name ?? $commission->management?->tenantProspect?->company_name ?? '-' }} @@ -81,6 +85,12 @@ class="commission-checkbox rounded border-gray-300 text-emerald-600 focus:ring-e
+ {{ $mgmt?->contracted_at?->format('Y-m-d') ?? '-' }} + @if ($displayPayment > 0)
{{ number_format($displayPayment) }}
@@ -90,6 +100,7 @@ class="commission-checkbox rounded border-gray-300 text-emerald-600 focus:ring-e
{{ $commission->payment_date->format('Y-m-d') }}
{{ $commission->manager?->name ?? $commission->management?->manager?->name ?? '-' }} (구독1월)
@@ -101,13 +112,32 @@ class="commission-checkbox rounded border-gray-300 text-emerald-600 focus:ring-e
+ {{ $commission->scheduled_payment_date->format('Y-m-d') }} + + @if($isGroup) + - + @else + + @endif + {{ $commission->status_label }} + {{-- 액션 --}} +
-
-
- 지급예정일: - {{ $commission->scheduled_payment_date->format('Y-m-d') }} -
-
- 매니저지급일: - @if($isGroup) - - - @else - - @endif -
-
-
+ 등록된 정산 내역이 없습니다.
@@ -8,9 +8,13 @@ + + + + @@ -84,17 +88,18 @@ ]; @endphp - {{-- Row 1: 메인 정보 --}} - + {{-- 테넌트 --}} + {{-- 계약일 --}} + + + {{-- 입금 --}} + {{-- 영업파트너 --}} + {{-- 유치파트너 --}} + {{-- 지급예정일 --}} + + + {{-- 수당지급일 --}} + + + {{-- 협업지원금 --}} + + + {{-- 상태 --}} - - - {{-- Row 2: 지급 정보 --}} - - - {{-- 상태 빈칸 --}} - @empty -
테넌트계약일 입금 영업파트너 유치파트너지급예정일수당지급일협업지원금 상태 액션
+ {{-- 체크박스 --}} + @if (in_array($commission->status, ['pending', 'approved'])) + class="commission-checkbox rounded border-gray-300 text-emerald-600 focus:ring-emerald-500"> @endif
{{ $commission->management?->tenant?->company_name ?? $commission->management?->tenantProspect?->company_name ?? '-' }} @@ -108,6 +113,12 @@ class="commission-checkbox rounded border-gray-300 text-emerald-600 focus:ring-e
+ {{ $mgmt?->contracted_at?->format('Y-m-d') ?? '-' }} + @if ($displayPayment > 0)
{{ number_format($displayPayment) }}
@@ -117,6 +128,7 @@ class="commission-checkbox rounded border-gray-300 text-emerald-600 focus:ring-e
{{ $commission->payment_date->format('Y-m-d') }}
{{ $partnerName }} ({{ $pRate }}%)
@@ -128,6 +140,7 @@ class="commission-checkbox rounded border-gray-300 text-emerald-600 focus:ring-e
@if ($referrerName)
{{ $referrerName }} ({{ $rRate }}%)
@@ -143,13 +156,42 @@ class="commission-checkbox rounded border-gray-300 text-emerald-600 focus:ring-e @endif
+ {{ $commission->scheduled_payment_date->format('Y-m-d') }} + + + + @if(!$isGroup) + + @else + - + @endif + {{ $commission->status_label }} + {{-- 액션 --}} +
-
-
- 지급예정일: - {{ $commission->scheduled_payment_date->format('Y-m-d') }} -
-
- 수당지급일: - -
-
- 협업지원금: - @if(!$isGroup) - - @else - - - @endif -
-
-
+ 등록된 정산 내역이 없습니다.