@extends('layouts.admin') @section('title', 'Data Pembayaran | Admin Rental') @section('page_title', 'Data Pembayaran') @push('styles') @endpush @section('content') @php $paymentMethodsConfig = config('payment_methods', []); $paymentStatusOptions = [ \App\Models\Payment::STATUS_UNPAID => 'Unpaid', \App\Models\Payment::STATUS_UPLOADED => 'Uploaded', \App\Models\Payment::STATUS_VERIFIED => 'Verified', \App\Models\Payment::STATUS_REJECTED => 'Rejected', ]; $bookingStatusOptions = [ \App\Models\Booking::BOOKING_WAITING_PAYMENT => 'Waiting Payment', \App\Models\Booking::BOOKING_WAITING_VERIFICATION => 'Waiting Verification', \App\Models\Booking::BOOKING_CONFIRMED => 'Confirmed', \App\Models\Booking::BOOKING_ONGOING => 'Ongoing', \App\Models\Booking::BOOKING_COMPLETED => 'Completed', \App\Models\Booking::BOOKING_CANCELLED => 'Cancelled', ]; @endphp
Pantau dan verifikasi pembayaran booking pelanggan di halaman ini.
{{ $rentalCompany->company_name ?? 'Rental Company' }}| No | Booking Code | Customer | Kendaraan | Metode Pembayaran | Total Bayar | Bukti Pembayaran | Status Pembayaran | Status Booking | Tanggal Upload / Paid At | Aksi |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ ($bookings->firstItem() ?? 1) + $index }} | {{ $booking->booking_code }} | {{ $booking->customer_name }} | {{ $booking->vehicle->name ?? '-' }} | {{ $methodLabel }} | Rp {{ number_format((float) $booking->total_amount, 0, ',', '.') }} | @if ($payment?->proof_payment) Lihat Bukti @else Belum Upload @endif | {{ $payment?->status_label ?? 'Belum Bayar' }} | {{ $booking->booking_status_label }} | @if ($payment?->paid_at) {{ $payment->paid_at->format('d M Y H:i') }} @else - @endif |
Pembayaran dari customer akan muncul di halaman ini setelah booking dibuat.