feat:영업파트너 승인 화면에 개인/단체 유형 열 추가
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -61,6 +61,7 @@ class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none foc
|
||||
<tr>
|
||||
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase">신청자</th>
|
||||
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase">역할</th>
|
||||
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase">유형</th>
|
||||
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase">유치자</th>
|
||||
<th class="px-4 py-2 text-center text-xs font-medium text-gray-500 uppercase">처리</th>
|
||||
</tr>
|
||||
@@ -94,6 +95,17 @@ class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none foc
|
||||
@endforeach
|
||||
</div>
|
||||
</td>
|
||||
<td class="px-4 py-3">
|
||||
@if($partner->salesPartner)
|
||||
@if($partner->salesPartner->partner_type === 'corporate')
|
||||
<span class="px-1.5 py-0.5 text-xs font-medium rounded bg-amber-100 text-amber-800">단체</span>
|
||||
@else
|
||||
<span class="px-1.5 py-0.5 text-xs font-medium rounded bg-sky-100 text-sky-800">개인</span>
|
||||
@endif
|
||||
@else
|
||||
<span class="text-xs text-gray-400">-</span>
|
||||
@endif
|
||||
</td>
|
||||
<td class="px-4 py-3 text-xs text-gray-500">
|
||||
@if($partner->parent)
|
||||
<span class="text-blue-600">{{ $partner->parent->name }}</span>
|
||||
@@ -123,7 +135,7 @@ class="px-2 py-1 bg-gray-400 hover:bg-gray-500 text-white text-xs font-medium ro
|
||||
</tr>
|
||||
@empty
|
||||
<tr>
|
||||
<td colspan="4" class="px-4 py-8 text-center text-gray-500 text-sm">
|
||||
<td colspan="5" class="px-4 py-8 text-center text-gray-500 text-sm">
|
||||
<svg class="w-12 h-12 mx-auto text-gray-300 mb-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" />
|
||||
</svg>
|
||||
@@ -156,6 +168,7 @@ class="px-2 py-1 bg-gray-400 hover:bg-gray-500 text-white text-xs font-medium ro
|
||||
<tr>
|
||||
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase">파트너</th>
|
||||
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase">역할</th>
|
||||
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase">유형</th>
|
||||
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase">유치자</th>
|
||||
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase">승인일</th>
|
||||
<th class="px-4 py-2 text-center text-xs font-medium text-gray-500 uppercase">상세</th>
|
||||
@@ -189,6 +202,17 @@ class="px-2 py-1 bg-gray-400 hover:bg-gray-500 text-white text-xs font-medium ro
|
||||
@endforeach
|
||||
</div>
|
||||
</td>
|
||||
<td class="px-4 py-3">
|
||||
@if($partner->salesPartner)
|
||||
@if($partner->salesPartner->partner_type === 'corporate')
|
||||
<span class="px-1.5 py-0.5 text-xs font-medium rounded bg-amber-100 text-amber-800">단체</span>
|
||||
@else
|
||||
<span class="px-1.5 py-0.5 text-xs font-medium rounded bg-sky-100 text-sky-800">개인</span>
|
||||
@endif
|
||||
@else
|
||||
<span class="text-xs text-gray-400">-</span>
|
||||
@endif
|
||||
</td>
|
||||
<td class="px-4 py-3 text-xs text-gray-500">
|
||||
@if($partner->parent)
|
||||
<span class="text-blue-600">{{ $partner->parent->name }}</span>
|
||||
@@ -213,7 +237,7 @@ class="px-2 py-1 bg-gray-400 hover:bg-gray-500 text-white text-xs font-medium ro
|
||||
</tr>
|
||||
@empty
|
||||
<tr>
|
||||
<td colspan="5" class="px-4 py-8 text-center text-gray-500 text-sm">
|
||||
<td colspan="6" class="px-4 py-8 text-center text-gray-500 text-sm">
|
||||
<svg class="w-12 h-12 mx-auto text-gray-300 mb-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0z" />
|
||||
</svg>
|
||||
|
||||
Reference in New Issue
Block a user