@php if (!isset($author)) { $author = auth()->user(); } @endphp
{{ __(@$author->fullname) }}
@lang('Member since') {{ showDateTime(@$author->created_at, 'M, Y') }} @if ($author && $author->id != auth()->id())
@csrf
@endif @if (@$author->is_author)
@php echo displayRating($author->avg_rating ?? 0) @endphp {{ getAmount($author->reviews ? $author->reviews->count() : 0) }}
@endif
@if (auth()->check() && $author->is_author)
@lang(str()->plural('Sale', @$author->total_sold))

{{ @$author->total_sold }}

@endif
@if ($author->is_author) @endif