@extends('layouts.admin') @section('title', 'Daftar Invoice Manual (VIP)') @section('page_title', 'Invoice Manual (VIP)') @section('admin_content')

Invoice Manual (VIP)

Kelola tagihan custom klien VIP, kirim link via WhatsApp/Email, dan verifikasi pembayaran.

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
Daftar Tagihan

Semua Invoice Manual ({{ $invoices->total() }})

Semua Verifikasi (TF) Lunas
@forelse($invoices as $inv) @empty @endforelse
No. Invoice Klien / Pelanggan Undangan & Subdomain Tgl Terbit / Tempo Total Tagihan Status Aksi
{{ $inv->invoice_number }} {{ $inv->customer_name }} {{ $inv->customer_phone ?: $inv->customer_email ?: '-' }} @if($inv->invitation) {{ $inv->invitation->title }} @if($inv->invitation->subdomain) {{ $inv->invitation->subdomain }}.{{ config('app.vip_domain', 'janoerkoening.com') }} @else /u/{{ $inv->invitation->slug }} @endif @else - Belum Ditautkan - @endif
{{ $inv->issue_date->format('d M Y') }}
@if($inv->due_date) Tempo: {{ $inv->due_date->format('d M Y') }} @endif
Rp {{ number_format($inv->total, 0, ',', '.') }} @php $badgeClass = match($inv->status) { 'paid' => 'bg-emerald-100 text-emerald-800', 'pending_verification' => 'bg-amber-100 text-amber-800', 'sent' => 'bg-blue-100 text-blue-800', 'cancelled' => 'bg-red-100 text-red-800', default => 'bg-gray-100 text-gray-800', }; @endphp {{ $inv->status_label }}
@if($inv->status !== 'paid')
@csrf
@endif
Belum ada invoice manual yang dibuat.
@if($invoices->hasPages())
{{ $invoices->links() }}
@endif
@endsection