@extends('theme.master') @section('title', __('My Wallet')) @section('content') @include('admin.message') @php $gets = App\Breadcum::first(); @endphp @if(isset($gets)) @if($gets['img'] !== NULL && $gets['img'] !== '') @else @endif {{ __('My Wallet') }} @endif @if(Auth::user()->user_img != null || Auth::user()->user_img !='') @else @endif {{ Auth::user()->fname }} {{ Auth::user()->lname }} {{ __('My Courses') }} {{ __('My Wishlist') }} {{ __('Purchase History') }} {{ __('User Profile') }} @if(Auth::user()->role == "user") {{ __('Become An Instructor') }} @endif {{ __('My Wallet') }} {{ __('Current Balance') }} : @if(isset($user->wallet)) {{ sprintf("%.2f",strip_tags($user->wallet->balance)) }} @endif {{ __('Add balance To Wallet') }}: @csrf {{ __('Proceed') }} @endsection