{{-- Detail Pembayaran + QRIS/E-Wallet --}} {{-- Status sudah lunas — redirect ke receipt harusnya terjadi di controller, tapi sebagai fallback --}} @if ($booking->payment->status === 'paid')
Pembayaran Lunas

Pembayaran telah dikonfirmasi.

Lihat Bukti Pembayaran
@elseif ($booking->payment->status === 'unpaid')
{{-- Rincian Pembayaran --}}
Rincian Pembayaran
Kode Booking {{ $booking->booking_code }}
Nomor Antrian #{{ str_pad($booking->queue_number, 2, '0', STR_PAD_LEFT) }}
Paket {{ $booking->service->name }}
Jadwal {{ $booking->schedule->date->locale('id')->isoFormat('D MMM Y') }}, {{ substr($booking->schedule->time_slot, 0, 5) }}
Kendaraan {{ $booking->vehicle_type }} — {{ $booking->vehicle_plate }}

Total Bayar {{ $booking->payment->formatted_amount }}
@if ($booking->payment->expired_at)
Batas waktu: {{ $booking->payment->expired_at->format('d M Y, H:i') }} WIB
@endif
{{-- Status Booking --}}
Status Booking
@php $sb = $booking->status_badge; @endphp {{ $sb['label'] }}
{{-- Panel Pembayaran --}}
{{-- Pilih Metode --}}
Pilih Metode Pembayaran
@foreach ([ 'qris' => ['label' => 'QRIS', 'icon' => 'fas fa-qrcode', 'desc' => 'Scan QR untuk bayar'], 'gopay' => ['label' => 'GoPay', 'icon' => 'fas fa-g', 'desc' => 'Via aplikasi GoPay'], 'ovo' => ['label' => 'OVO', 'icon' => 'fas fa-circle-dot', 'desc' => 'Via aplikasi OVO'], 'dana' => ['label' => 'DANA', 'icon' => 'fas fa-d', 'desc' => 'Via aplikasi DANA'], 'transfer' => ['label' => 'Transfer Bank', 'icon' => 'fas fa-university','desc' => 'Transfer manual'], ] as $val => $opt)
@endforeach
{{-- Panel QRIS --}}
Scan QRIS untuk Membayar

Gunakan aplikasi e-wallet atau m-banking apapun yang mendukung QRIS

QRIS SparkWash
{{ $booking->payment->formatted_amount }}
a.n. SparkWash
Cara Bayar QRIS
  1. Buka aplikasi e-wallet atau m-banking Anda
  2. Pilih menu "Scan QR" atau "QRIS"
  3. Arahkan kamera ke QR Code di atas
  4. Masukkan nominal: {{ $booking->payment->formatted_amount }}
  5. Konfirmasi dan selesaikan pembayaran
  6. Klik tombol "Saya Sudah Membayar" di bawah
{{-- Panel E-Wallet --}} @foreach (['gopay' => ['name' => 'GoPay', 'num' => '0812-3456-7890', 'color' => '#00AED6'], 'ovo' => ['name' => 'OVO', 'num' => '0812-3456-7890', 'color' => '#4C3494'], 'dana' => ['name' => 'DANA', 'num' => '0812-3456-7890', 'color' => '#118EEA']] as $key => $wallet)
Bayar via {{ $wallet['name'] }}

Transfer ke nomor {{ $wallet['name'] }} berikut

Nomor {{ $wallet['name'] }}
{{ $wallet['num'] }}
a.n. SparkWash
{{ $booking->payment->formatted_amount }}
Cara Bayar {{ $wallet['name'] }}
  1. Buka aplikasi {{ $wallet['name'] }}
  2. Pilih menu Transfer / Kirim Uang
  3. Masukkan nomor: {{ $wallet['num'] }}
  4. Masukkan nominal: {{ $booking->payment->formatted_amount }}
  5. Konfirmasi dan selesaikan transfer
  6. Klik tombol "Saya Sudah Membayar" di bawah
@endforeach {{-- Panel Transfer Bank --}}
Transfer Bank

Transfer ke rekening berikut

BCA — SparkWash
1234 5678 90
a.n. SparkWash Indonesia
{{ $booking->payment->formatted_amount }}
Wajib transfer tepat {{ $booking->payment->formatted_amount }} tanpa pembulatan
{{-- Tombol Konfirmasi Bayar --}}
@csrf
@else {{-- Status lain (expired/refunded) --}}
@php $b = $booking->payment->status_badge; @endphp {{ $b['label'] }}

Silakan buat booking baru atau hubungi admin SparkWash jika ada pertanyaan.

Booking Baru
@endif @push('scripts') @endpush