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

Investments

Add Investment {{-- Filter Form --}}
Reset
{{-- Success Message --}} @if(session('success'))
{{ session('success') }}
@endif {{-- Investments Table --}} @forelse($investments as $investment) @empty @endforelse
ID Investor Type Amount Date Remarks Actions
{{ $investment->id }} {{ $investment->investor->name ?? 'N/A' }} {{ ucfirst($investment->type) }} {{ number_format($investment->amount, 2) }} {{ $investment->date }} {{ $investment->remarks }} Edit
@csrf @method('DELETE')
No investments found
@endsection