@extends('website_builder.admin.layout') @section('title', 'Website Builder Admin - Overview') @section('content')

Website Builder Admin Dashboard

Manage landing page, dynamic colors, client secret login, templates, and packages.

Live Landing Page
Registered Clients

{{ $totalCustomers }}

Template Purchases

{{ $totalPurchases ?? 0 }}

Active Templates

{{ $totalTemplates }}

Pricing Tiers

{{ $totalPackages }}

Recent Template Purchases (Razorpay & UPI)
Digital Agency
@forelse($recentPurchases ?? [] as $p) @empty @endforelse
Customer Name Email Template Payment ID Amount Status Date
{{ $p->customer_name }} {{ $p->customer_email }} {{ $p->template_name }} {{ $p->razorpay_payment_id }} ₹{{ number_format($p->amount, 2) }} @if(stripos($p->status, 'pending') !== false) Pending Approval @else Verified @endif {{ $p->created_at ? $p->created_at->format('M d, Y H:i') : 'Just now' }}
No template purchases recorded yet.
Recent Registered Clients
@forelse($recentCustomers as $c) @empty @endforelse
Name Email Company Subdomain Actions
{{ $c->name }} {{ $c->email }} {{ $c->company_name ?? 'N/A' }} {{ $c->subdomain }} Secret Login
No registered clients yet.
@endsection