@forelse($shops as $shop) @php $id = $shop->id; $name = $shop->name; $category = $shop->category->name ?? '뷰티 / 에스테틱'; $owner = $shop->ceo_name ?? '미등록'; $contact = $shop->tel ?? '연락처 없음'; $address = trim(($shop->address1 ?? '') . ' ' . ($shop->address2 ?? '')) ?: '주소 정보 없음'; $status = $shop->operating_status; $pinned = $shop->is_pinned ?? false; $createdAt = optional($shop->created_at)->format('Y-m-d'); $thumbPath = $shop->logo_path; @endphp
{{ $name }}
@if($pinned) 상단고정 @endif @if($status === 'active') 정상영업 @elseif($status === 'temp_closed') 일시중지 @else 운영정지 @endif
{{ $name }}
{{ $category }}
{{ $createdAt }}
대표: {{ $owner }}
연락처: {{ $contact }}
{{ $address }}
보기 수정
@csrf @method('DELETE')
@empty

등록된 뷰티샵이 없습니다.

@endforelse