@extends('layouts.admin') @section('title', '뷰티샵 신규 입점 관리') @section('content')

@yield('title')

@if(session('success')) @endif @if(session('error')) @endif
신청 및 심사 관리 건수: {{ isset($shops) ? $shops->total() : 0 }}
@php $pcShops = isset($shops) && method_exists($shops, 'items') ? $shops->items() : []; @endphp @forelse($pcShops as $shop) @php $id = $shop->id; $name = $shop->name; $ceoName = $shop->ceo_name; $introduction = $shop->introduction; $address = trim(($shop->address1 ?? '') . ' ' . ($shop->address2 ?? '')); $status = $shop->status; $applicantName = $shop->user->name ?? '정보 없음'; $applicantEmail = $shop->user->email ?? '-'; $applicantPhone = $shop->user->phone ?? '-'; $thumbPath = $shop->logo_path ?? null; @endphp @empty @endforelse
대표 이미지 뷰티샵 신청정보 신청자 정보 신청 일시 관리
{{ $name }} @if($status === 'rejected') 반려됨 @else 심사대기 @endif
샵 대표: {{ $ceoName }}
@if($status === 'rejected' && $shop->rejection_reason)
반려사유: {{ $shop->rejection_reason }}
@elseif($introduction)
{{ $introduction }}
@endif @if($address)
{{ $address }}
@endif
{{ $applicantName }}
{{ $applicantEmail }}
{{ $applicantPhone }}
{{ $shop->created_at->format('Y-m-d') }}
{{ $shop->created_at->format('H:i:s') }}
@if($status === 'pending')
@csrf @method('PATCH')
@endif
현재 신청 및 심사 대기 중인 뷰티샵이 없습니다.
@forelse($pcShops as $shop) @php $status = $shop->status; @endphp
{{ $shop->name }}
{{ $shop->name }}
@if($status === 'rejected') 반려됨 @else 대기중 @endif
대표: {{ $shop->ceo_name }} | {{ $shop->tel ?? '연락처 없음' }}
@if($status === 'rejected' && $shop->rejection_reason)
사유: {{ $shop->rejection_reason }}
@endif
@if($status === 'pending')
@csrf @method('PATCH')
@endif
@empty
신청 및 심사 대기 중인 뷰티샵이 없습니다.
@endforelse
@endsection @push('scripts') @endpush