@extends('layouts.bootstrap') @section('title', 'Investment Management') @section('content')

Investment Management

Record Investment
Total Investments

${{ number_format($totalInvestments, 2) }}

Total Paid

${{ number_format($totalPaid, 2) }}

Outstanding Balance

${{ number_format($outstandingBalance, 2) }}

Active Investments

{{ $activeCount }}

@if($investments->count() > 0)
@foreach($investments as $investment) @if($investment->outstanding_balance > 0 && auth()->user()->canManageInvestments()) @endif @endforeach
Date Title Type Source Amount Outstanding Status Actions
{{ $investment->start_date->format('M d, Y') }} {{ $investment->title }} @if($investment->reference_number)
Ref: {{ $investment->reference_number }} @endif
{{ $investment->type_display_name }} {{ $investment->source ?? '-' }} ${{ number_format($investment->amount, 2) }} @if($investment->interest_rate)
{{ $investment->interest_rate }}% APR @endif
${{ number_format($investment->outstanding_balance, 2) }} @if($investment->total_paid > 0)
Paid: ${{ number_format($investment->total_paid, 2) }} @endif
{{ ucfirst($investment->status) }} @if($investment->term_months && $investment->status == 'active')
{{ $investment->term_months }} months @endif
@if(auth()->user()->canManageInvestments()) @endif @if($investment->outstanding_balance > 0 && auth()->user()->canManageInvestments()) @endif @if(auth()->user()->canManageInvestments())
@csrf @method('DELETE')
@endif
Showing {{ $investments->firstItem() }} to {{ $investments->lastItem() }} of {{ $investments->total() }} results
{{ $investments->links() }}
@else

No Investment Records Found

Start by recording your first investment or loan.

Record Investment
@endif
@endsection