@extends('admin.layouts.admin') @section('title','Payments') @section('page-title','Payments') @section('content') {{-- SUMMARY --}}
| # | 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 | |||||||