@extends('admin.layout') @section('title', 'Payments') @section('admin-content')
Manage customer payments
| User | Order | Amount | Method | Status | Date | Actions |
|---|---|---|---|---|---|---|
|
{{ strtoupper(substr($payment->user->name, 0, 1)) }}
{{ $payment->user->name }}
|
{{ $payment->order->order_number }} | ₦{{ number_format($payment->amount, 0) }} | {{ ucfirst(str_replace('_', ' ', $payment->payment_method)) }} | {{ ucfirst($payment->status) }} | {{ $payment->created_at->format('M d, Y') }} |
@if($payment->status === 'pending')
|