@extends('layouts.customer') @section('title','Dashboard') @section('page-title','Dashboard') @section('styles') @endsection @section('content') {{-- Credit Widget --}}
Available Credit Balance
${{ number_format($user->credit_balance, 2) }} AUD
🤲 Donation
{{-- Quick Actions --}}

Quick Actions

➕ Add Credit 📄 Payment History ⚙️ Account Settings 🤲 Donate
{{-- Recent Activity --}}
📋 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