@extends('admin.layouts.app') @section('title', 'Investment #'.$investment->investment_number) @section('page_title', 'Investment Details') @push('styles')@endpush @section('content') @php($localizedName = app()->getLocale() === 'ar' ? 'name_ar' : 'name_en')
← Back to Startup Application

Investment #{{ $investment->investment_number }}

{{ $startup->display_name }} · Application #{{ $round->round_number }} · {{ $round->investmentStage?->{$localizedName} ?: $round->investmentStage?->name_en ?: 'Unspecified stage' }}

Application-linked
Investment Type{{ $investment->investmentType?->{$localizedName} ?: $investment->investmentType?->name_en ?: $investment->investmentType?->value }}
Start Date{{ $investment->start_date->format('Y-m-d') }}
Completion Date{{ $investment->completion_date->format('Y-m-d') }}
Computed Total{{ number_format((float) $investment->total_amount_sar, 2) }} SAR
Investors{{ $investment->participations_count }}
@if(auth('admin')->user()?->can('investments.manage'))

Shared investment terms

These terms belong to Investment #{{ $investment->investment_number }} and are entered once. Investor participations do not change them.

@csrf @method('PATCH')
@endif

Investor participations

Every participation preserves its eligible Investor Application, contribution, company equity, notes, and protected attachments.

{{ number_format((float) $investment->total_amount_sar, 2) }} SAR @if(auth('admin')->user()?->can('investments.manage') && $canAddParticipation && $picker->isNotEmpty()) @endif
@forelse($investment->participations as $participation)
Investor participation

{{ $participation->investor->display_name }}

Investor Application #{{ $participation->investorApplication->application_number }} · historical eligibility context

{{ number_format((float) $participation->amount_sar, 2) }} SAR{{ number_format((float) $participation->equity_percentage, 4) }}% whole-company equity
@if(auth('admin')->user()?->can('investments.manage'))
Edit participation
@csrf @method('PATCH')
@elseif($participation->notes)

{{ $participation->notes }}

@endif
Protected participation attachments @forelse($participation->files as $file)
{{ $file->file_name }} @if(auth('admin')->user()?->can('investments.manage'))
@csrf
@csrf @method('DELETE')
@endif
@empty

No attachments for this participation.

@endforelse @if(auth('admin')->user()?->can('investments.manage'))
@csrf
@endif
@empty

No Investor participations yet. Add the first Investor to record this Investment's amount and equity.

@endforelse
@if(auth('admin')->user()?->can('investments.manage') && !$canAddParticipation)

This historical Investment remains visible, but new participations require the Startup Application to resolve to round or investment.

@elseif(auth('admin')->user()?->can('investments.manage') && $picker->isEmpty())

No additional Investors currently resolve to semantic status member or investor.

@endif
@if(auth('admin')->user()?->can('investments.manage') && $canAddParticipation && $picker->isNotEmpty()) @endif @endsection @push('scripts') @endpush