@extends($activeTemplate . 'layouts.master') @section('content') @php $kyc = getContent('kyc.content', true); @endphp @if (auth()->check() && $author->isAuthor()) @if ($pendingProducts) @lang('You have') {{ $pendingProducts }} @lang('pending') {{ __(str()->plural('product', $pendingProducts)) }} @endif @if ($downProducts) @lang('You have') {{ $downProducts }} @lang('down') {{ __(str()->plural('product', $downProducts)) }} @endif @if ($softRejectedProducts) @lang('You have') {{ $softRejectedProducts }} @lang('soft rejected') {{ __(str()->plural('product', $softRejectedProducts)) }} @endif @if ($unRepliedComments) @lang('You have') {{ $unRepliedComments }} @lang('unreplied') {{ __(str()->plural('comment', $unRepliedComments)) }} @endif @if ($unRepliedReviews) @lang('You have') {{ $unRepliedReviews }} @lang('unreplied') {{ __(str()->plural('review', $unRepliedReviews)) }} @endif @endif
@if ($author->kv == Status::KYC_UNVERIFIED && $author->kyc_rejection_reason)
@elseif($author->kv == Status::KYC_UNVERIFIED)
@elseif($author->kv == Status::KYC_PENDING)
@endif
@include($activeTemplate . 'user.dashboard.widgets')
@if ($author->is_author) @include($activeTemplate . 'user.dashboard.recent_sales') @else
@php $becomeAuthor = getContent('become_author.content', true); $becomeAuthor = @$becomeAuthor->data_values; @endphp

{{ __($becomeAuthor->heading) }}

{{ __($becomeAuthor->details) }}

{{ __($becomeAuthor->button_text) }}
@endif
@if (auth()->user()->kv == Status::KYC_UNVERIFIED && auth()->user()->kyc_rejection_reason) @endif @endsection