@extends('admin.layouts.main') @section('panel')
{{ __('admin.dashboard.content.invest.payable_one') }}

{{ getCurrencySymbol() }}{{ shortAmount($investment->payable) }}

{{ __('admin.dashboard.content.invest.payable_title', ['amount' => shortAmount($investment->payable)]) }}

    @php $investments = [ 'today_invest' => ['wallet text--primary', 'admin.dashboard.content.invest.today_invest'], 'running' => ['wallet text--primary', 'admin.dashboard.content.invest.running'], 'profit' => ['chart-line text--success', 'admin.dashboard.content.invest.profit'], 'closed' => ['comment-dollar text--warning', 'admin.dashboard.content.invest.closed'], 're_invest' => ['sort-amount-up text--info', 'admin.dashboard.content.invest.re_invest'], ]; @endphp @foreach($investments as $key => $details)
  • {{ __($details[1]) }}
    {{ getCurrencySymbol() }}{{ shortAmount($investment->$key) }}
  • @endforeach

{{ __('admin.report.statistics.investment.one') }}

{{ __('admin.report.statistics.investment.three') }}

@forelse($investmentPlans as $investmentPlan)
{{ __($investmentPlan->name) }}

{{ __('admin.dashboard.content.invest.total_one') }}

{{ getCurrencySymbol() }}{{ shortAmount($investmentPlan->investmentLogs->sum('amount')) }}

{{ __('admin.dashboard.content.invest.profit') }}

{{ getCurrencySymbol() }}{{ shortAmount($investmentPlan->investmentLogs->sum('profit')) }}
@empty

{{ __('No Data Found') }}

@endforelse

{{ __('admin.report.statistics.investment.five') }}

{{ __('admin.report.statistics.investment.four') }}

{{ __('admin.button.view') }}
@forelse($investmentLogs as $key => $investmentLog)
{{ __('admin.report.statistics.investment.interest_rate', ['rate' => shortAmount($investmentLog->interest_rate)]) }}
{{ __('admin.table.plan') }}
{{ __('admin.table.amount') }}

{{ getCurrencySymbol() }}{{ shortAmount($investmentLog->amount) }}

{{ __('admin.table.created_at') }}

{{ showDateTime($investmentLog->created_at, 'Y-mm-dd') }}

{{ __('admin.table.expiration_date') }}

{{ showDateTime($investmentLog->expiration_date, 'Y-mm-dd') }}

{{ __('admin.table.net_profit') }}

{{ getCurrencySymbol() }}{{ shortAmount($investmentLog->profit) }}

@empty

{{ __('No Data Found') }}

@endforelse
@endsection @push('script-push') @endpush