@extends('layouts.app') @section('title', 'CRM Dashboard') @section('content')
{{-- Header CRM --}}

CRM Dashboard

Kelola relasi pelanggan, pantau deal, dan optimalkan pipeline penjualan.

Filter Tambah Deal
{{-- Stats Grid CRM dengan Custom Background --}}
@php $crmStats = [ [ 'label' => 'Total Pendapatan', 'value' => 'Rp 842M', 'growth' => '+24%', 'icon' => 'ti-report-money', 'bg' => 'from-emerald-500/20 via-emerald-500/5 to-transparent', 'color' => 'emerald' ], [ 'label' => 'Deal Aktif', 'value' => '156', 'growth' => '+8', 'icon' => 'ti-briefcase', 'bg' => 'from-indigo-500/20 via-indigo-500/5 to-transparent', 'color' => 'indigo' ], [ 'label' => 'Konversi Lead', 'value' => '12.4%', 'growth' => '+2.1%', 'icon' => 'ti-target-arrow', 'bg' => 'from-rose-500/20 via-rose-500/5 to-transparent', 'color' => 'rose' ], [ 'label' => 'Kepuasan CSAT', 'value' => '4.9/5', 'growth' => '+0.2', 'icon' => 'ti-stars', 'bg' => 'from-amber-500/20 via-amber-500/5 to-transparent', 'color' => 'amber' ], ]; @endphp @foreach($crmStats as $stat) {{-- Custom Gradient Background Layer --}}
{{-- Decorative Pattern --}}
{{ $stat['growth'] }}

{{ $stat['label'] }}

{{ $stat['value'] }}

@endforeach
{{-- Main Content Grid --}}
{{-- Sales Pipeline --}}
{{-- Recent Customers --}}
@foreach([ ['name' => 'Alex Rivera', 'email' => 'alex@company.com', 'deal' => 'Rp 12.5M', 'status' => 'Closing', 'color' => 'emerald'], ['name' => 'Sarah Johnson', 'email' => 'sarah@startup.io', 'deal' => 'Rp 8.2M', 'status' => 'Negotiation', 'color' => 'indigo'], ['name' => 'Michael Chen', 'email' => 'm.chen@tech.com', 'deal' => 'Rp 45.0M', 'status' => 'Proposal', 'color' => 'amber'], ['name' => 'Jessica Wong', 'email' => 'jess@design.co', 'deal' => 'Rp 3.5M', 'status' => 'Initial Contact', 'color' => 'rose'], ] as $customer)

{{ $customer['name'] }}

{{ $customer['email'] }}

{{ $customer['deal'] }}

{{ $customer['status'] }}

@endforeach
Lihat Semua Pelanggan
@endsection @push('scripts') @endpush