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

Hello, {{ $user->name }}

{{ ucfirst($user->account_type) }} account · {{ $plan ? $plan->name.' plan' : 'No plan' }} · {{ $user->email }}{{ $user->phone ? ' · '.$user->phone.($user->phone_verified_at ? ' ✓' : ' (unverified)') : '' }}

@if($user->phone && !$user->phone_verified_at)

Verify your phone

@csrf
@csrf
@endif @if($profile)

My professional profile {{ ucfirst($profile->status) }} {{ ucfirst($profile->verification_status) }}

@csrf
status==='published'?'checked':'' }} style="width:auto;">
@if($profile->status==='published')View public profile@endif

Verification

@if($verification && $verification->status==='pending')

Your {{ $verification->registering_body }} verification was submitted {{ $verification->submitted_at?->diffForHumans() }} and is under review.

@elseif($profile->verification_status==='verified')

✓ Verified. Your profile carries the Verified badge.

@else
@csrf
@endif

Open job briefs

@forelse($openBriefs as $b)
{{ $b->title }} @if($b->urgent)Urgent@endif
{{ $b->county ?: $b->country_code }} · budget {{ $b->currency }} {{ number_format((float)$b->budget_min) }}–{{ number_format((float)$b->budget_max) }} · {{ $b->quotes_count }} quotes
@csrf
@empty

No open briefs right now.

@endforelse @if($quotes->count())

My quotes

@foreach($quotes as $q)@endforeach
{{ \App\Models\JobBrief::hybridFind($q->job_brief_id)?->title }}USD {{ number_format((float)$q->amount,2) }}{{ ucfirst($q->status) }}
@endif
@else

Post a job brief

@csrf

My briefs

@forelse($briefs as $b)
{{ $b->title }} {{ ucfirst($b->status) }}
{{ $b->quotes_count }} quotes · posted {{ $b->created_at?->diffForHumans() }}
@foreach(\App\Models\Quote::hybridQuery()->where('job_brief_id',$b->id)->get() as $q)
{{ \App\Models\Profile::hybridFind($q->profile_id)?->display_name }} — USD {{ number_format((float)$q->amount,2) }} {{ ucfirst($q->status) }}{{ $q->message ? ' · '.$q->message : '' }}
@endforeach
@empty

You haven't posted a brief yet.

@endforelse
@endif

Payments

@if($tx->count())@foreach($tx as $t)@endforeach
ReferenceDetailAmountStatusDate
{{ $t->reference }}{{ ucfirst($t->type) }} · {{ $t->description }}{{ $t->currency }} {{ number_format((float)$t->amount,2) }}{{ ucfirst($t->status) }}{{ $t->created_at?->format('d M Y') }}
@else

No payments yet. Subscriptions, verification fees and orders are paid via M-PESA or card through the mobile app / API.

@endif
@endsection