{{-- Header Section --}}

{{ __('t.investment_plans') }}

{{ __('t.dash') }} {{ __('t.my_plans') }}
{{-- Trade Mode Status --}}
@if (auth()->user()->trade_mode)
{{ __('t.trading_mode_active') }}
@else
{{ __('t.trading_mode_inactive') }}
@endif
{{-- Plans Grid --}}
@forelse ($plans as $plan)
{{-- Header --}}

{{ $plan->plan->name }}

@if ($plan->status == 'active')
{{ __('t.active') }}
@elseif($plan->status == 'expired')
{{ __('t.expired') }}
@else
{{ __('t.inactive') }}
@endif
{{ Number::currency($plan->amount, $settings->s_currency) }} {{ __('t.invested_amount') }}
{{-- Timeline --}}
{{ __('t.started') }}
{{ $plan->created_at->format('M d, Y') }}
{{ __('t.ends') }}
{{ $plan->expire_date->format('M d, Y') }}
{{-- Action --}}
@empty
{{ __('t.no_active_plans') }}
@if ($sort_value == 'All') {{ __('t.start_investing') }} @endif
@endforelse