@extends('layouts.app', ['title' => __('User Profile')]) @section('content') @include('users.partials.header', [ 'title' => __('Welcome') . ' ' . auth()->user()->name, 'description' => __( 'You can see the progress you\'ve made with your work and manage your websites or payment methods' ), 'class' => 'col-lg-7', ])
{{ auth()->user()->websites()->count() }} Websites
${{ auth()->user()->earnings()->sum('earnings') }} Revenues
${{ auth()->user()->earnings()->whereBetween('date', [ now()->subMonth()->startOfMonth(), now()->subMonth()->endOfMonth(), ])->sum('earnings') }} This Month

{{ auth()->user()->name }}

Myanmar
{{--
{{ __('Solution Manager - Creative Tim Officer') }}
{{ __('University of Computer Science') }}
--}}
Approved websites

@foreach (auth()->user()->websites as $website)

@endforeach


{{--

{{ __('Ryan — the name taken by Melbourne-raised, Brooklyn-based Nick Murphy — writes, performs and records all of his own music.') }}

{{ __('Show more') }} --}}
Payment Methods
@foreach (auth()->user()->payment_methods as $payment_method)
{{ $payment_method->method }}
{{ $payment_method->account_number }}
{{ $payment_method->account_name }}
@endforeach Add new payment method

Edit Profile

@csrf @method('put')
User information
@if (session('status')) @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif

@csrf @method('put')
Password
@if (session('password_status')) @endif
@if ($errors->has('old_password')) {{ $errors->first('old_password') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@include('layouts.footers.auth')
@endsection