@extends('layouts.customer')
@section('title','Dashboard')
@section('page-title','Dashboard')
@section('styles')
@endsection
@section('content')
{{-- Credit Widget --}}
📋 Recent Activity
@if($recentPayments->isEmpty() && $recentDonations->isEmpty())
No recent activity
@else
@foreach($recentPayments as $p)
💳 Prepayment of ${{ number_format($p->amount,2) }} — {{ $p->invoice_no }}
{{ $p->created_at->diffForHumans() }}
@endforeach
@foreach($recentDonations as $d)
🤲 Donation of ${{ number_format($d->amount,2) }} ({{ ucfirst($d->type) }})
{{ $d->created_at->diffForHumans() }}
@endforeach
@endif
@endsection