@extends('backend.layouts.app') @section('title') {{ __('dashboard') }} @endsection @section('breadcrumbs')

{{ __('dashboard') }}

@endsection @section('content') @if($appSetup->where('status', 0)->count()) @endif
{{ __('earnings') }} {{ currencyPosition($data['earnings']) }} @if($data['earnings'] == null || $data['earnings'] == 0) 0 @endif --}} title="All the earnings are converted to '{{ config('templatecookie.currency') }}' currency">
{{ __('total_candidates') }} {{ $data['candidates'] }}
{{ __('total_employers') }} {{ $data['companies'] }}
{{ __('total_verified_users') }} {{ $data['verified_users'] }}
{{ __('active_jobs') }} {{ $data['active_jobs'] }}
{{ __('expired_jobs') }} {{ $data['expire_jobs'] }}
{{ __('pending_jobs') }} {{ $data['pending_jobs'] }}
{{ __('all_jobs') }} {{ $data['all_jobs'] }}

{{ __('your_earnings_overview_of_this_year') }}

{{ __('popular_location') }}

@if (count($popular_countries->pluck('country')->all()) == 0)
@else
@endif

{{ __('recently_published_jobs') }}

{{ __('view_all') }}
@if ($latest_jobs->count() > 0) @foreach ($latest_jobs as $latest) @endforeach @else @endif
{{ __('title') }} {{ __('experience') }} {{ __('job_type') }} {{ __('action') }}
{{ $latest->title }} {{ $latest->experience ? $latest->experience->name : '' }} {{ $latest->job_type ? $latest->job_type->name : '' }}

{{ __('recently_purchased_orders') }}

{{ __('view_all') }}
@if ($latest_earnings->count() > 0) @foreach ($latest_earnings as $earning) @endforeach @else @endif
{{ __('order_no') }} {{ __('amount') }} {{ __('plan_name') }} {{ __('payment_provider') }} {{ __('payment_status') }} {{ __('created_time') }} {{ __('actions') }}
#{{ $earning->order_id }} {{ currencyPosition( currencyConversion($earning->usd_amount, config('templatecookie.currency', 'USD') ), false, $current_currency ) }} @if ($earning->payment_type == 'per_job_based') {{ ucfirst(Str::replace('_', ' ', $earning->payment_type)) }} @else {{ $earning->plan->label }} @endif @if ($earning->payment_provider == 'offline') {{ __('offline') }} @if (isset($earning->manualPayment->name)) ({{ $earning->manualPayment->name }}) @endif @else {{ ucfirst($earning->payment_provider) }} @endif @if ($earning->payment_status == 'paid') {{ __('paid') }} @else {{ __('unpaid') }} @endif {{ $earning->created_at->diffForHumans() }}
@csrf
@if ($data['email_verification']) @endif @if ($users->count() > 0) @foreach ($users as $user) @if (userCan('candidate.update') && $data['email_verification']) @endif @endforeach @else @endif
# {{ __('name') }} {{ __('email') }} {{ __('role') }} {{ __('status') }}{{ __('email_verification') }}{{ __('created_time') }} {{ __('action') }}
{{ $loop->iteration }} {{ $user->name }} {{ $user->email }} @if ($user->role == 'company') {{ ucfirst($user->role) }} @else {{ ucfirst($user->role) }} @endif {{ $user->status ? __('active') : __('inactive') }} {{ $user->email_verified_at ? __('verified') : __('not_verified') }} {{ $user->created_at->diffForHumans() }} @if ($user->role == 'company') @if ($user->company && $user->company->id) @else - @endif @else @if ($user->candidate && $user->candidate->id) @else - @endif @endif
@endsection @section('script') @endsection @section('style') @endsection