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

User Investments

@foreach($investments as $invest) @endforeach
User Package Qty Duration Status Monthly Incentive Total Incentive Action
{{ $invest->user->name }} {{ $invest->package->title }} {{ $invest->quantity }} {{ $invest->bus_duration }} months {{ ucfirst($invest->status) }} ₦{{ number_format($invest->monthly_incentive * $invest->package->price * $invest->quantity, 2) }} ₦{{ number_format($invest->total_incentive, 2) }} @if($invest->status === 'pending')
@csrf
@else Approved @endif
@endsection