@extends('frontend.layouts.app') @section('title') {{ __('plan') }} @endsection @section('main')
{{-- Sidebar --}}

{{ $userplan->plan->label }}

@if (isset($userplan->plan->descriptions) && isset($userplan->plan->descriptions[0])) {!! $userplan->plan->descriptions[0]->description !!} @else {!! __('no_description_has_been_added_to_this_language', ['current' => $current_language_code]) !!} @endif

{{ __('create_plan_benefits') }}

  • {{ $userplan->plan->job_limit }} {{ __('active_jobs') }}
  • {{ $userplan->plan->highlight_job_limit }} {{ __('highlight_jobs') }}
  • {{ $userplan->plan->featured_job_limit }} {{ __('featured_jobs') }}
  • {{ $userplan->plan->candidate_cv_view_limitation == 'limited' ? $userplan->plan->candidate_cv_view_limit : __('unlimited') }} {{ __('candidate_profile_view') }}

{{ __('remaining') }}

  • @if (!$userplan->job_limit) @else @endif {{ $userplan->job_limit }} {{ __('active_jobs') }}
  • @if (!$userplan->highlight_job_limit) @else @endif {{ $userplan->highlight_job_limit }} {{ __('highlight_jobs') }}
  • @if (!$userplan->featured_job_limit) @else @endif {{ $userplan->featured_job_limit }} {{ __('featured_jobs') }}
  • @if ($userplan->candidate_cv_view_limitation == 'unlimited') {{ __('unlimited') }} {{ __('candidate_profile_view') }} @else @if (!$userplan->candidate_cv_view_limit) @else @endif {{ $userplan->candidate_cv_view_limit }} {{ __('candidate_profile_view') }} @endif

{{ __('latest_invoice') }}

@if ($transactions->count() > 0) @foreach ($transactions as $transaction) @endforeach @else @endif
# {{ __('date') }} {{ __('plan') }} {{ __('amount') }} {{ __('payment_provider') }} {{ __('payment_status') }}
#{{ $transaction->order_id }} {{ formatTime($transaction->created_at, 'M, d Y') }} @if ($transaction->payment_type == 'per_job_based') {{ ucfirst(Str::replace('_', ' ', $transaction->payment_type)) }} @else {{ $transaction->plan->label }} @endif {{ currencyConversion($transaction->usd_amount, 'USD') }} {{ currentCurrencyCode() }} @if ($transaction->payment_provider == 'offline') {{ __('offline') }} @if (isset($transaction->manualPayment) && isset($transaction->manualPayment->name)) ({{ $transaction->manualPayment->name }}) @endif @else {{ ucfirst($transaction->payment_provider) }} @endif @if ($transaction->payment_status == 'paid') {{ __('paid') }} @else {{ __('unpaid') }} @endif
@if (request('perpage') != 'all' && $transactions->total() > $transactions->count())
@endif
@endsection