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

{{ $user->name }} Investment Plans

{{-- --}} @foreach ($plans as $plan) {{-- --}} @endforeach
Client namePlan Amount Active Duration Created on Expire At Option
{{$plan->duser->name}}{{ $plan->dplan->name }} {{ $settings->currency }}{{ number_format($plan->amount) }} @if ($plan->active == 'yes') {{ $plan->active }} @else {{ $plan->active }} @endif {{ $plan->inv_duration }} {{ \Carbon\Carbon::parse($plan->created_at)->toDayDateTimeString() }} {{ \Carbon\Carbon::parse($plan->expire_date)->toDayDateTimeString() }} Delete Plan @if ($plan->active == 'yes') Mark as expired @else Mark as active @endif
@endsection