@extends('website_builder.admin.layout') @section('title', 'Registered Clients & Secret Login') @section('content')
View registered customers and execute secret one-click SSO login into client panels.
| Client Name | Email & Subdomain | Purchased Plan & Limits | Company | Active Theme | Payment & Proof | Registered | Actions |
|---|---|---|---|---|---|---|---|
| {{ $c->name }} |
{{ $c->email }}
https://{{ $c->subdomain }}
|
@php
$planName = $c->package->name ?? null;
if (!$planName && $purch) {
if (!empty($purch->package_id)) {
$pkg = \App\Models\WebsiteBuilder\WbPackage::find($purch->package_id);
$planName = $pkg->name ?? null;
}
if (!$planName && !empty($purch->amount)) {
$amt = (float)$purch->amount;
$pkgMatch = \App\Models\WebsiteBuilder\WbPackage::where('monthly_price', $amt)->orWhere('yearly_price', $amt)->first();
$planName = $pkgMatch->name ?? null;
}
}
if (!$planName) {
$firstPkg = \App\Models\WebsiteBuilder\WbPackage::orderBy('id', 'asc')->first();
$planName = $firstPkg->name ?? 'Starter Plan';
}
@endphp
{{ $planName }}
Total Allowed Limits:
• Projects: {{ $c->portfolio_limit }} ({{ $c->package->portfolio_limit ?? 10 }} + {{ $c->extra_portfolio_limit ?? 0 }} extra) • Services: {{ $c->services_limit }} ({{ $c->package->services_limit ?? 10 }} + {{ $c->extra_services_limit ?? 0 }} extra) • Blogs: {{ $c->blog_limit }} ({{ $c->package->blog_limit ?? 10 }} + {{ $c->extra_blog_limit ?? 0 }} extra) |
{{ $c->company_name ?? 'Personal' }} | @php $tType = $c->agencySetting->template_type ?? ($purch->template_slug ?? null); $subLow = strtolower(trim($c->subdomain ?? '')); if (empty($tType) || $tType === 'digital_agency') { if (!empty($purch->template_slug) && $purch->template_slug !== 'digital_agency') { $tType = $purch->template_slug; } elseif (str_contains($subLow, 'evently') || str_contains($subLow, 'event')) { $tType = 'evently'; } elseif (str_contains($subLow, 'interior')) { $tType = 'interior'; } elseif (str_contains($subLow, 'texigo') || str_contains($subLow, 'taxi')) { $tType = 'texigo'; } elseif (str_contains($subLow, 'construction') || str_contains($subLow, 'build')) { $tType = 'construction'; } else { $tType = 'digital_agency'; } } $themeLabels = [ 'digital_agency' => ['Digital Agency', 'bg-primary'], 'texigo' => ['Texigo', 'bg-warning text-dark'], 'construction' => ['Construction', 'bg-danger'], 'interior' => ['Interior', 'bg-success'], 'evently' => ['Evently', 'text-white'], ]; $tLabel = $themeLabels[$tType] ?? [ucfirst(str_replace('_', ' ', $tType)), 'bg-secondary']; $tStyle = ($tType === 'evently') ? 'background:#6f42c1;' : ''; @endphp {{ $tLabel[0] }} |
@if($purch)
{{ strtoupper($purch->payment_method ?? 'Razorpay') }}
@if(($purch->status ?? '') === 'Pending Verification')
Pending Approval
@else
Verified
@endif
@if(!empty($purch->transaction_id))
Ref/UTR: {{ $purch->transaction_id }}
@endif
|
{{ $c->created_at ? $c->created_at->format('M d, Y') : 'N/A' }} {{ $c->created_at ? $c->created_at->format('h:i A') : '' }} |
|
| No registered client accounts found. | |||||||