{{-- resources/views/savings/index.blade.php --}} @extends('layouts.dashboard') @section('title', 'Savings Wallet - PangoQ') @section('content')

Savings Wallet

Track your travel savings and reach your dream destinations

Total Savings

Your journey to amazing destinations

${{ number_format($totalBalance, 0) }}

of ${{ number_format($totalTarget, 0) }} goal

Overall Progress {{ $progressPercentage }}%
${{ number_format($totalTarget - $totalBalance, 0) }} remaining {{ $wallets->count() }} {{ Str::plural('wallet', $wallets->count()) }}

This Month

${{ number_format(($totalTarget - $totalBalance) / 12, 0) }}

suggested saving

Active Trips

{{ $wallets->count() }}

with savings goals

Avg Progress

{{ $wallets->count() > 0 ? round($wallets->avg('progress_percentage'), 0) : 0 }}%

across all trips

Your Trip Wallets

@forelse ($wallets as $wallet)
@if($wallet->trip->image_url) {{ $wallet->trip->title }} @endif
{{ $wallet->progress_percentage }}%

{{ $wallet->trip->title }}

{{ $wallet->trip->destination_name }}

Savings Progress ${{ number_format($wallet->current_amount, 0) }} / ${{ number_format($wallet->target_amount, 0) }}
${{ number_format($wallet->remaining_amount, 0) }} remaining @if($wallet->target_date) Due {{ \Carbon\Carbon::parse($wallet->target_date)->diffForHumans() }} @endif
{{ $wallet->trip->duration ?? 'N/A' }}
Days
${{ $wallet->target_amount > 0 ? number_format($wallet->target_amount / ($wallet->trip->duration ?? 1), 0) : 0 }}
Per Day
@empty

No savings wallets yet

Start your savings journey! Create wallets for your trips and watch your travel dreams become reality.

@endforelse

Quick Actions

View History

All transactions

💡 Savings Tips

Maximize your travel savings with smart strategies

@endsection