@extends('investor.layouts.app') @php $pageTitle = $investment->property->title; @endphp @section('content')
Portfolio / {{ Str::limit($investment->property->title, 40) }}
{{-- Main --}}
{{-- Hero card --}}
@php $img = $investment->property->images->first(); @endphp @if($img) @else
@endif

{{ $investment->property->title }}

{{ $investment->property->full_location }}

{{ \App\Models\InvestorInvestment::getStatuses()[$investment->status] }}
@foreach([ ['label' => 'Invested', 'val' => '₹'.number_format($investment->invested_amount)], ['label' => 'Current Value', 'val' => '₹'.number_format($investment->current_value ?? $investment->invested_amount)], ['label' => 'Growth', 'val' => ($investment->growth_percent >= 0 ? '▲ +' : '▼ ').abs($investment->growth_percent).'%'], ['label' => 'Investment Date', 'val' => $investment->investment_date->format('d M Y')], ] as $s)

{{ $s['label'] }}

{{ $s['val'] }}

@endforeach
@if($investment->unit_number || $investment->area_purchased || $investment->agreement_number)
@if($investment->unit_number)Unit: {{ $investment->unit_number }}@endif @if($investment->area_purchased){{ $investment->area_purchased }} {{ $investment->area_unit }}@endif @if($investment->agreement_number)Agreement: {{ $investment->agreement_number }}@endif
@endif
{{-- Construction Updates --}} @php $updates = $investment->property->constructionUpdates->where('is_published', true); @endphp @if($updates->count())
Construction Progress
@foreach($updates as $update)
@if($update->photo_url) @else
@endif

{{ $update->title }}

{{ $update->update_month }}
@if($update->description)

{{ $update->description }}

@endif
{{ $update->completion_percentage }}%
@endforeach
@endif {{-- Payment Schedule --}} @if($investment->payments->count())
Payment Schedule Pending: ₹{{ number_format($investment->pending_amount) }}
@foreach($investment->payments as $pay) @endforeach
Installment Amount Due Date Status
{{ $pay->installment_label }} ₹{{ number_format($pay->amount) }} {{ $pay->due_date->format('d M Y') }} {{ ucfirst($pay->status) }}
@endif
{{-- Sidebar --}}
{{-- Documents --}}
Documents All →
@if($investment->documents->count()) @foreach($investment->documents->where('is_visible_to_investor', true) as $doc)

{{ $doc->title }}

{{ \App\Models\InvestorDocument::getDocumentTypes()[$doc->document_type] ?? '' }}

@endforeach @else

No documents uploaded yet

@endif
{{-- Need help --}}

Questions about this investment?

Talk to your advisor for updates, documentation, or exit planning.

Contact Advisor
@endsection