@extends('layouts.app') @section('title', 'Profit Distributions') @section('content')

Profit Distributions

Record and track profit distributions to investors

@can('create', App\Models\Investor::class) Record Distribution @endcan
{{-- Filters --}}
{{-- Table --}}
@forelse ($distributions as $dist) @empty @endforelse
# Date Investor Project Amount Method Type Actions
{{ $dist->id }} {{ $dist->distribution_date->format('d M Y') }} {{ $dist->investor?->name ?? 'N/A' }} {{ $dist->project?->project_name ?? 'N/A' }} {{ $dist->is_reversal ? '-' : '' }}{{ number_format($dist->amount, 2) }} {{ $dist->paymentMethod?->method_name ?? '—' }} @if ($dist->is_reversal) Reversal @else Distribution @endif
No distributions recorded.
@if ($distributions->hasPages()) @endif
@endsection