@extends('layouts.app') @section('content')

Dividends

Calculate New Period

Total Dividend — {{ $selectedPeriod }}

{{ number_format($summary->total_dividend ?? 0, 2) }}

{{ $summary->member_count ?? 0 }} members paid

Total Shares — {{ $selectedPeriod }}

{{ number_format($summary->total_shares ?? 0, 2) }}

Rate: {{ number_format(($summary->total_shares ?? 0) > 0 ? ($summary->total_dividend / $summary->total_shares) : 0, 4) }} / share

All-Time Dividends Paid

{{ number_format($allTimeTotal, 2) }}

As of latest closed period

@foreach ($rows as $row) @endforeach
Member Shares Period Dividend Cumulative (all-time)
{{ $row->name }} {{ number_format($row->shares, 2) }} {{ number_format($row->period_dividend, 2) }} {{ number_format($row->cumulative_dividend, 2) }}
{{ $rows->links() }}

Calculate a New Period

This previews the dividend using current savings balances and real cash interest collected since the last closed period — nothing is saved until you confirm on the next screen.

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
@endsection