@extends('investor.layouts.app') @php $pageTitle = 'My Portfolio'; @endphp @section('content')

My Portfolio

All your real estate investments in one place.

@if($investments->count())
@foreach($investments as $inv) @php $img = $inv->property->images->where('is_primary',true)->first() ?? $inv->property->images->first(); @endphp {{-- Image --}}
@if($img) @endif
{{-- Title + location --}}

{{ $inv->property->title }}

{{ $inv->property->full_location }}

{{-- Investment amount vs current value --}}

Invested

₹{{ number_format($inv->invested_amount/100000, 1) }}L

Current Value

₹{{ number_format(($inv->current_value ?? $inv->invested_amount)/100000, 1) }}L

{{-- Growth bar --}} @php $g = $inv->growth_percent; @endphp
Growth {{ $g >= 0 ? '▲ +' : '▼ ' }}{{ abs($g) }}%
{{-- Footer --}}
Invested {{ $inv->investment_date->format('M Y') }} {{ \App\Models\InvestorInvestment::getStatuses()[$inv->status] ?? $inv->status }}
@endforeach
@else

No investments in your portfolio yet

Once you invest through Kashi Housing, your advisor will add your investments here. You can track value, documents, and payments from this dashboard.

Explore Opportunities
@endif @endsection