@extends('website_builder.agency_template.admin.layout') @php $activeSlug = $agency->template_type ?? null; if (empty($activeSlug) || $activeSlug === 'digital_agency') { if (isset($customer) && $customer) { $cp = \App\Models\WebsiteBuilder\WbTemplatePurchase::where(function($q) use ($customer) { if (!empty($customer->id)) $q->where('customer_id', $customer->id); if (!empty($customer->email)) $q->orWhere('customer_email', $customer->email); })->latest()->first(); if ($cp && !empty($cp->template_slug) && $cp->template_slug !== 'digital_agency') { $activeSlug = $cp->template_slug; } } } if (empty($activeSlug)) { $activeSlug = session('demo_template', 'digital_agency'); } $tmplTitles = [ 'digital_agency' => 'Digital Agency', 'interior' => 'InteriorCRAFT', 'texigo' => 'TaxiGo Mobility', 'construction' => 'BuildCraft Construction', 'evently' => 'Evently', ]; $displayTmpl = $tmplTitles[$activeSlug] ?? ucfirst(str_replace('_', ' ', $activeSlug)); @endphp @section('title', 'Template Dashboard - ' . $displayTmpl) @section('content')
Overview of {{ $agency->site_title ?? $displayTmpl }} template analytics, pages & customer contact submissions.
User submitted data received directly from the frontend contact form.
| Date | Name | Phone | Subject | Message | Action | |
|---|---|---|---|---|---|---|
| {{ $inq->created_at->format('M d, Y h:i A') }} | {{ $inq->name }} | {{ $inq->email }} | {{ $inq->phone ?? 'N/A' }} | {{ $inq->subject ?? 'General Inquiry' }} |
When visitors fill out the Contact Us form on your live site, their messages will show up here.