@extends('layouts.admin.base') @section('page-title') Investments @endsection @section('content')
@foreach ($investments as $investment) @endforeach
User Plan Invested Split Payment Method Start Next Payout End Status Action
{{ $investment->user->name }} {{ $investment->plan->name }} {{ formatMoney($investment->amount) }} {{ formatMoney(calculate_percentage(80,$investment->amount)) }}/{{ formatMoney(calculate_percentage(20,$investment->amount)) }} {{ $investment->payment_method }} {{ $investment->start_date($investment->payouts) }} {{ $investment->next_payout_date($investment->payouts) }} {{ $investment->end_date($investment->payouts) }} {{ $investment->status_data()->message }}
@endsection @section('scripts') @endsection