@extends('layouts.app') @section('title', 'Pembayaran') @section('content')
| No | Kode Bayar | Pelanggan | Invoice | Jumlah | Metode | Tanggal | Aksi |
|---|---|---|---|---|---|---|---|
| {{ $payments->firstItem() + $index }} | {{ $payment->payment_code }} |
{{ $payment->invoice->subscription->customer->name ?? '-' }}
{{ $payment->invoice->subscription->customer->customer_code ?? '-' }}
|
{{ $payment->invoice->invoice_number ?? '-' }} | Rp {{ number_format($payment->amount, 0, ',', '.') }} | @php $methodIcons = [ 'cash' => 'bi-cash', 'transfer' => 'bi-bank', 'qris' => 'bi-qr-code', 'other' => 'bi-three-dots', ]; $icon = $methodIcons[$payment->payment_method] ?? 'bi-credit-card'; @endphp {{ $payment->payment_method_label }} | {{ \Carbon\Carbon::parse($payment->payment_date)->format('d/m/Y') }} | |
| Belum ada data pembayaran. | |||||||