@extends('admin.layouts.admin') @section('title','Payments') @section('page-title','Payments') @section('content') {{-- SUMMARY --}}
Total Payments

LKR 0

Today

LKR 0

Pending

LKR 0

Failed

LKR 0

{{-- PAYMENT TABLE --}}
@forelse($payments as $payment) @empty @endforelse
# Payment ID Order Customer Method Amount Status Date
{{ $loop->iteration }} {{ $payment->reference }} #{{ $payment->order_id }} {{ $payment->customer_name ?? '-' }} {{ strtoupper($payment->method) }} LKR {{ number_format($payment->amount,2) }} @if($payment->status === 'success') Success @elseif($payment->status === 'pending') Pending @else Failed @endif {{ $payment->created_at->format('d M Y') }}
No payments found
{{ $payments->links() }}
@endsection