@extends('layouts.admin') @section('title', 'Shop Details - ' . $shop->name) @section('content')

{{ $shop->name }}

{{ $shop->shopDetail->shop_type ? ucfirst(str_replace('_', ' ', $shop->shopDetail->shop_type)) : 'Shop' }} • {{ $shop->getBizspotCategoryPath() ?? 'Uncategorized' }}

Edit Shop Back to List
@if($shop->shopDetail->business_model) {{ ucfirst(str_replace('_', ' ', $shop->shopDetail->business_model)) }} @endif @if($shop->shopDetail->appointment_required) Appointment Required @endif @if($shop->shopDetail->walk_ins_accepted) Walk-ins Welcome @endif @if($shop->shopDetail->online_ordering) Online Ordering @endif
@if($shop->shopDetail->opening_time && $shop->shopDetail->closing_time) {{ $shop->shopDetail->opening_time }} - {{ $shop->shopDetail->closing_time }} @endif

{{ $productStats['total'] }}

Total Products

{{ $productStats['active'] }} active

{{ $serviceStats['total'] }}

Total Services

{{ $serviceStats['active'] }} active

{{ $bookingStats['total'] }}

Total Bookings

{{ $bookingStats['today'] }} today

${{ number_format($bookingStats['revenue_this_month'], 2) }}

Monthly Revenue

{{ $bookingStats['completed'] }} completed
Basic Information

{{ $shop->name }}

@if($shop->website) @endif

{{ $shop->getBizspotCategoryPath() ?? 'Uncategorized' }}

{{ $shop->user->name ?? 'N/A' }}

{{ $shop->address }}

@if($shop->description)

{{ $shop->description }}

@endif
@if($shop->shopDetail)
Shop Details
@if($shop->shopDetail->shop_area_sqft)

{{ number_format($shop->shopDetail->shop_area_sqft) }} sq ft

@endif @if($shop->shopDetail->staff_count)

{{ $shop->shopDetail->staff_count }} employees

@endif @if($shop->shopDetail->specializations)

{{ $shop->shopDetail->specializations }}

@endif
@if($shop->shopDetail->operating_days)

@php $days = json_decode($shop->shopDetail->operating_days, true) ?? []; @endphp {{ implode(', ', array_map('ucfirst', $days)) }}

@endif @if($shop->shopDetail->payment_methods)

@php $methods = json_decode($shop->shopDetail->payment_methods, true) ?? []; @endphp {{ implode(', ', array_map(function($method) { return ucfirst(str_replace('_', ' ', $method)); }, $methods)) }}

@endif
@if($shop->shopDetail->description)

{{ $shop->shopDetail->description }}

@endif
@endif @if($shop->shopDetail && ($shop->shopDetail->shop_manager_name || $shop->shopDetail->shop_manager_phone || $shop->shopDetail->shop_manager_email))
Manager Information
@if($shop->shopDetail->shop_manager_name)

{{ $shop->shopDetail->shop_manager_name }}

@endif @if($shop->shopDetail->shop_manager_phone) @endif @if($shop->shopDetail->shop_manager_email) @endif
@endif
Recent Activity

{{ $bookingStats['today'] }} bookings today

{{ now()->format('M d, Y') }}

{{ $productStats['in_stock'] }} products in stock

@if($productStats['low_stock'] > 0) {{ $productStats['low_stock'] }} low stock items @else All products well stocked @endif

Monthly revenue

${{ number_format($bookingStats['revenue_this_month'], 2) }}
@if($shop->shopDetail)
Shop Features
@if($shop->shopDetail->appointment_required)
Appointment Required
@endif @if($shop->shopDetail->walk_ins_accepted)
Walk-ins Accepted
@endif @if($shop->shopDetail->online_ordering)
Online Ordering
@endif @if($shop->shopDetail->delivery_available)
Delivery Available
@endif @if($shop->shopDetail->pickup_available)
Pickup Available
@endif @if($shop->shopDetail->loyalty_program)
Loyalty Program
@endif
@endif
@endsection @section('scripts') @endsection