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

Interest log

Interest log

@forelse (auth()->user()->investments as $investment) @empty @endforelse
# Plan Return Received Next payment
{{ $loop->iteration }} {{ $investment->plan->name }}
{{ number_format($investment->amount_invested, 2) }} USD
{{ number_format($investment->profit_rate, 2) }} USD every {{ $investment->plan->isDaily ? 'day' : 'week' }}
for {{ $investment->duration }} {{ $investment->plan->isDaily ? 'days' : 'weeks' }} + Capital
{{ $investment->counter .' * '. number_format($investment->profit_rate, 2) }} = {{ number_format($investment->amount_earned, 2) }} USD @if ($investment->is_completed) Completed @else {{ $investment->next_payout->format('M d, Y') }} @endif
No investment found
@endsection