@extends('layouts.app') @section('title', 'Investor Ledger: ' . $investor->name) @section('content')
| Date | Type | Description | Debit | Credit | Balance |
|---|---|---|---|---|---|
| {{ $entry['date'] }} | @if ($entry['type'] === 'investment') Investment @else Distribution @endif | {{ $entry['description'] }} | {{ $entry['debit'] > 0 ? number_format($entry['debit'], 2) : '—' }} | {{ $entry['credit'] > 0 ? number_format($entry['credit'], 2) : '—' }} | {{ number_format($entry['balance'], 2) }} |
| No ledger entries found for this period. | |||||