@extends('layouts.user.base') @section('page-title') Plans @endsection @php $system_wallets = App\Models\Wallet\SystemWallet::get()->toArray(); $user = auth()->user(); $is_first_timer = $user->investments->count() == 0; $last_calculated_plan = App\Models\Investments\CalculatorLog::where('user_id', $user->id)->orderBy('id', 'DESC')->with(['plan'])->first(); $show_calculator_reminder = $last_calculated_plan ? 1 : 0; @endphp @section('content') @if($last_calculated_plan)