@extends('layouts.app') @section('title', 'Investor: ' . $investor->name) @section('content')
| Project | Invested | Distributed | Net Capital |
|---|---|---|---|
| {{ $project['project_name'] }} | {{ number_format($project['invested'], 2) }} | {{ number_format($project['distributed'], 2) }} | {{ number_format($project['invested'] - $project['distributed'], 2) }} |
| Project | Type | Value | Description |
|---|---|---|---|
| {{ $rule->project?->project_name ?? 'N/A' }} | {{ ucfirst($rule->profit_type) }} | @if ($rule->profit_type === 'percentage') {{ number_format($rule->profit_value, 2) }}% @else {{ number_format($rule->profit_value, 2) }} @endif | {{ $rule->description ?? '—' }} |
| No profit rules configured. | |||
| Date | Project | Amount | Method |
|---|---|---|---|
| {{ $inv->investment_date->format('d M Y') }} | {{ $inv->project?->project_name ?? 'N/A' }} | {{ number_format($inv->amount, 2) }} | {{ $inv->paymentMethod?->method_name ?? '—' }} |
| No investments recorded. | |||
| Date | Project | Amount | Narration | Type |
|---|---|---|---|---|
| {{ $dist->distribution_date->format('d M Y') }} | {{ $dist->project?->project_name ?? 'N/A' }} | {{ $dist->is_reversal ? '-' : '' }}{{ number_format($dist->amount, 2) }} | {{ Str::limit($dist->narration, 50) }} | @if ($dist->is_reversal) Reversal @else Distribution @endif |
| No distributions recorded. | ||||