@php($page = 'receipts') {{env('APP_NAME')}} | Receipts
@include("components.navbar")
@include("components.sidebar")
{{-- Revenue Stats --}}

Total Revenue

₦ {{ number_format($stats['total_revenue'], 2) }}

Today's Revenue

₦ {{ number_format($stats['today_revenue'], 2) }}

This Month

₦ {{ number_format($stats['this_month'], 2) }}

{{-- Filter --}}
{{-- Table --}}

All Receipts

Record Payment
@forelse ($receipts as $receipt) @empty @endforelse
Date Ref # Payer Method Amount Status Action
{{ $receipt->date->format('Y-m-d') }} {{ $receipt->reference }} {{ $receipt->payer }} {{ $receipt->payment_method }} ₦ {{ number_format($receipt->amount, 2) }} @if($receipt->status == 'Successful') {{ $receipt->status }} @elseif($receipt->status == 'Cancelled' || $receipt->status == 'Failed') {{ $receipt->status }} @else {{ $receipt->status }} @endif
No receipts found.
{{ $receipts->links() }}
@include("components.footer")