@extends('superadmin.layouts.app') @section('title', $shop->domain) @section('page-title', 'Shop: ' . $shop->domain) @section('content')
← All Shops
{{-- Main info --}}
{{-- Shop card --}}

{{ $shop->name ?: $shop->domain }}

{{ $shop->domain }}

$shop->status === 'active', 'bg-amber-900/40 text-amber-400' => $shop->status === 'pending', 'bg-red-900/40 text-red-400' => $shop->status === 'suspended', ])>{{ ucfirst($shop->status ?? 'unknown') }}
Email
{{ $shop->email ?: '—' }}
Phone
{{ $shop->contact_phone ?: '—' }}
App Installed
@if($shop->isInstalled()) Yes @else Not yet @endif
Registered
{{ $shop->created_at->format('d M Y, H:i') }}
@if($shop->status === 'pending')
@csrf
@elseif($shop->status === 'active')
@csrf
@csrf
@elseif($shop->status === 'suspended')
@csrf
@endif
{{-- Recent orders --}}

Recent Orders

@forelse($shop->orders as $order) @empty @endforelse
Order Customer Amount Status Date
#{{ $order->id }} {{ $order->customer->name ?? '—' }} ₹{{ number_format($order->total_amount, 2) }} {{ ucfirst($order->status) }} {{ $order->created_at->format('d M, H:i') }}
No orders yet
{{-- Right sidebar --}}
{{-- Users --}}

Team Members

@forelse($shop->users as $user)
{{ strtoupper(substr($user->name, 0, 1)) }}

{{ $user->name }}

{{ $user->email }}

{{ $user->role }}
@empty

No team members

@endforelse
{{-- Settings preview --}}

Branding Config

@php $branding = $shop->settings['branding'] ?? []; @endphp
Primary Color
{{ $branding['primary_color'] ?? '#111111' }}
Button Color
{{ $branding['button_color'] ?? '#111111' }}
Logo URL {{ $branding['logo_url'] ?? 'none' }}
@endsection