@extends('layouts.admin') @section('title', 'Profil Klien: ' . $client->name) @section('page_title', 'Profil Klien 360°') @section('admin_content')
Kembali ke Direktori Klien
@if(session('success'))
{{ session('success') }}
@endif
{{ strtoupper(substr($client->name, 0, 1)) }}

{{ $client->name }}

@if($client->hasVerifiedEmail()) Email Terverifikasi @else Belum Verifikasi @endif
{{ $client->email }} @if($client->phone) {{ $client->phone }} @endif Bergabung: {{ $client->created_at->format('d M Y') }}
@if($cleanPhone) Chat WhatsApp @endif @if(!$client->hasVerifiedEmail())
@csrf
@endif
@csrf
Undangan Pernikahan

Detail Acara & Desain

@if($activeInvitation) @endif
@if($activeInvitation) @if($countdownDays !== null)
@if($countdownDays > 0) H-{{ $countdownDays }} Hari Menuju Hari Bahagia! @elseif($countdownDays === 0) Hari Bahagia Berlangsung Hari Ini! 🎉 @else Acara Telah Berlangsung ({{ abs($countdownDays) }} hari lalu) @endif Tanggal: {{ \Carbon\Carbon::parse($activeInvitation->event_datetime_1)->format('d F Y, H:i') }} WIB
{{ $activeInvitation->is_paid ? 'Published' : 'Draft Mode' }}
@endif
Pasangan Pengantin {{ $activeInvitation->groom_name }} & {{ $activeInvitation->bride_name }} Panggilan: {{ $activeInvitation->groom_nickname }} & {{ $activeInvitation->bride_nickname }}
Desain & Template {{ $activeInvitation->template->name ?? 'Default Template' }} Tier: {{ ucfirst($activeInvitation->template->package_tier ?? 'Simple') }}
Lokasi / Venue Akad {{ $activeInvitation->event_venue_1 ?? '-' }}
Masa Aktif Undangan {{ $activeInvitation->expires_at ? $activeInvitation->expires_at->format('d M Y') : '1 Tahun (Standar)' }}
@csrf
Perpanjang Masa Aktif Manual Berikan tambahan masa aktif sebagai bonus/kompensasi.
@csrf
Pengaturan Khusus VIP (Subdomain & Pengerjaan)
@if($activeInvitation->subdomain) Buka {{ $activeInvitation->subdomain }}.{{ config('app.vip_domain', 'janoerkoening.com') }} → @endif
.{{ config('app.vip_domain', 'janoerkoening.com') }}
Hanya huruf kecil, angka, dan minus. Klik cek untuk verifikasi.
@else
Klien belum membuat draf undangan.
@endif
Aktivitas & Interaksi

Statistik Penggunaan Platform

{{ $activeInvitation ? $activeInvitation->guests->count() : 0 }} Tamu di Buku Tamu
{{ $activeInvitation ? $activeInvitation->wishes->count() : 0 }} Doa & RSVP Masuk
{{ $activeInvitation && is_array($activeInvitation->gallery_photos) ? count($activeInvitation->gallery_photos) : 0 }} Foto Galeri Diunggah
Finansial & Pesanan

Riwayat Transaksi (LTV: Rp {{ number_format($totalSpent, 0, ',', '.') }})

@forelse($client->orders as $o) @empty @endforelse
Kode Order Paket Total Bayar Status Tanggal
{{ $o->order_code }} {{ $o->package->name ?? 'Paket' }} Rp {{ number_format($o->total_amount, 0, ',', '.') }} {{ $o->payment_status }} {{ $o->created_at->format('d M Y H:i') }}
Belum ada riwayat pesanan/transaksi.
Internal Admin

Catatan Follow-Up Klien

@csrf
Outreach & CRM

Template Chat WhatsApp

@if($cleanPhone)
1. Sapaan Ramah & Bantuan Kirim WA

{{ Str::limit($waTemplates['greeting'], 100) }}

2. Follow Up Draf Belum Bayar Kirim WA

{{ Str::limit($waTemplates['followup_draft'], 100) }}

3. Konfirmasi Bayar & Live Kirim WA

{{ Str::limit($waTemplates['payment_confirm'], 100) }}

4. Ucapan Menjelang Hari H Kirim WA

{{ Str::limit($waTemplates['h_countdown'], 100) }}

@else
Nomor WhatsApp klien tidak tersedia.
@endif
@endsection @push('scripts') @endpush