{{ __('app.shareholder_report') }} {{ __('Download All PDF') }}
{{-- Summary Cards --}}
{{ __('Total Investment') }}
{{ number_format($totals['investment'], 2) }}
{{ __('Net') }}: {{ number_format($totals['net_investment'], 2) }}
{{ __('Total Withdrawal') }}
{{ number_format($totals['withdrawal'], 2) }}
{{ __('Total Profit') }}
{{ number_format($totals['profit'], 2) }}
{{ __('Net') }}: {{ number_format($totals['net_profit'], 2) }}
{{ __('Profit Withdrawn') }}
{{ number_format($totals['profit_withdrawal'], 2) }}
{{-- Per-Shareholder breakdown --}} @foreach($shareholders as $sh)
{{ $sh->name }}
{{ $sh->is_active ? __('Active') : __('Inactive') }} PDF
{{ __('Investment') }}
{{ number_format($sh->total_investment, 2) }}
{{ __('Withdrawal') }}
{{ number_format($sh->total_withdrawal, 2) }}
{{ __('Net Investment') }}
{{ number_format($sh->net_investment, 2) }}
{{ __('Net Profit') }}
{{ number_format($sh->net_profit, 2) }}
@if($sh->transactions->isNotEmpty())
@foreach($sh->transactions as $tx) @endforeach
{{ __('Date') }} {{ __('Type') }} {{ __('Amount') }} {{ __('Notes') }}
{{ $tx->transaction_date->format('Y-m-d') }} {{ $tx->type_label }} {{ number_format($tx->amount, 2) }} {{ $tx->notes }}
@else

{{ __('No transactions recorded.') }}

@endif
@endforeach @if($shareholders->isEmpty())
{{ __('No shareholders found.') }}
@endif