@extends('layouts.admin') @section('title', 'Shop Details - ' . $shop->name) @section('content')
{{ $shop->shopDetail->shop_type ? ucfirst(str_replace('_', ' ', $shop->shopDetail->shop_type)) : 'Shop' }} • {{ $shop->getBizspotCategoryPath() ?? 'Uncategorized' }}
Total Products
{{ $productStats['active'] }} activeTotal Services
{{ $serviceStats['active'] }} activeTotal Bookings
{{ $bookingStats['today'] }} todayMonthly Revenue
{{ $bookingStats['completed'] }} completed{{ $shop->name }}
{{ $shop->getBizspotCategoryPath() ?? 'Uncategorized' }}
{{ $shop->user->name ?? 'N/A' }}
{{ $shop->address }}
{{ $shop->description }}
{{ number_format($shop->shopDetail->shop_area_sqft) }} sq ft
{{ $shop->shopDetail->staff_count }} employees
{{ $shop->shopDetail->specializations }}
@php $days = json_decode($shop->shopDetail->operating_days, true) ?? []; @endphp {{ implode(', ', array_map('ucfirst', $days)) }}
@php $methods = json_decode($shop->shopDetail->payment_methods, true) ?? []; @endphp {{ implode(', ', array_map(function($method) { return ucfirst(str_replace('_', ' ', $method)); }, $methods)) }}
{{ $shop->shopDetail->description }}
{{ $shop->shopDetail->shop_manager_name }}
{{ $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 @endifMonthly revenue
${{ number_format($bookingStats['revenue_this_month'], 2) }}