@extends('layouts.dashboard') @section('title', 'Pembayaran Program') @section('content')

{{ $serviceLabel }}

{{ $payment->payment_code }}

Nominal: {{ \App\Support\LocaleFormat::money($payment->amount) }}

Metode: {{ str($payment->payment_method)->replace('_', ' ')->title() }}

Rekening: {{ $bankAccount ?? 'Belum diatur admin' }}

QRIS: {{ $qrisText ?? 'Belum diatur admin' }}

@if($payable)

Detail Pendaftaran

@if($payable instanceof \App\Models\SwimmingSchoolRegistration)

Peserta: {{ $payable->participant_name }}

Program: {{ $payable->program_type }}

Pembayaran: {{ str($payable->payment_status)->replace('_', ' ')->title() }}

Pendaftaran: {{ str($payable->registration_status)->replace('_', ' ')->title() }}

@elseif($payable instanceof \App\Models\PrivateLessonRegistration)

Peserta: {{ $payable->participant_name }}

Paket: {{ $payable->package_name }}

Pelatih: {{ $payable->trainer?->name ?? '-' }}

Jadwal: {{ $payable->schedule?->day ?? '-' }} {{ $payable->schedule?->start_time }}-{{ $payable->schedule?->end_time }}

Pembayaran: {{ str($payable->payment_status)->replace('_', ' ')->title() }}

Pendaftaran: {{ str($payable->registration_status)->replace('_', ' ')->title() }}

@endif
@endif @if($payment->note)

Catatan admin: {{ $payment->note }}

@endif

Bukti Pembayaran

Upload gambar transfer/QRIS untuk diverifikasi admin.

@if($payment->proof_image) @endif @if($payment->status !== 'diterima')
@csrf
@else

Pembayaran sudah diterima.

@endif
@endsection