@extends('layouts.user.profile.layout') @section('title') {{ $websiteLang->where('lang_key','dashboard')->first()->custom_text }} @endsection @section('user-dashboard')

{{ $websiteLang->where('lang_key','dashboard')->first()->custom_text }}

{{ $publishProperty }}

{{ $websiteLang->where('lang_key','publish_pro')->first()->custom_text }}

{{ $expiredProperty }}

{{ $websiteLang->where('lang_key','expired_pro')->first()->custom_text }}

{{ $myReviews->count() }}

{{ $websiteLang->where('lang_key','my_review')->first()->custom_text }}

{{ $clientReviews }}

{{ $websiteLang->where('lang_key','client_review')->first()->custom_text }}

{{ $wishlists->count() }}

{{ $websiteLang->where('lang_key','wishlist')->first()->custom_text }}

{{ $orders->count() }}

{{ $websiteLang->where('lang_key','order')->first()->custom_text }}

@if ($activeOrder)
@php $package=$activeOrder->package; @endphp
{{ $websiteLang->where('lang_key','active_order')->first()->custom_text }}
{{ $websiteLang->where('lang_key','package_name')->first()->custom_text }} {{ $package->package_name }}
{{ $websiteLang->where('lang_key','price')->first()->custom_text }} {{ $currency->currency_icon }}{{ $package->price }}
{{ $websiteLang->where('lang_key','expired_date')->first()->custom_text }} @if ($activeOrder->expired_day==-1) {{ $websiteLang->where('lang_key','unlimited')->first()->custom_text }} @else {{ $activeOrder->expired_date }} @endif
{{ $websiteLang->where('lang_key','property')->first()->custom_text }} @if ($package->number_of_property==-1) {{ $websiteLang->where('lang_key','unlimited')->first()->custom_text }} @else {{ $package->number_of_property }} @endif
{{ $websiteLang->where('lang_key','aminity')->first()->custom_text }} @if ($package->number_of_aminities==-1) {{ $websiteLang->where('lang_key','unlimited')->first()->custom_text }} @else {{ $package->number_of_aminities }} @endif
{{ $websiteLang->where('lang_key','nearest_place')->first()->custom_text }} @if ($package->number_of_nearest_place==-1) {{ $websiteLang->where('lang_key','unlimited')->first()->custom_text }} @else {{ $package->number_of_nearest_place }} @endif
{{ $websiteLang->where('lang_key','photo')->first()->custom_text }} @if ($package->number_of_photo==-1) {{ $websiteLang->where('lang_key','unlimited')->first()->custom_text }} @else {{ $package->number_of_photo }} @endif
{{ $websiteLang->where('lang_key','featured_property')->first()->custom_text }} @if ($package->is_featured==1) {{ $websiteLang->where('lang_key','available')->first()->custom_text }} @else {{ $websiteLang->where('lang_key','not_available')->first()->custom_text }} @endif
{{ $websiteLang->where('lang_key','featured_property')->first()->custom_text }} @if ($package->number_of_feature_property==-1) {{ $websiteLang->where('lang_key','unlimited')->first()->custom_text }} @else {{ $package->number_of_feature_property }} @endif
{{ $websiteLang->where('lang_key','top_property')->first()->custom_text }} @if ($package->is_top==1) {{ $websiteLang->where('lang_key','available')->first()->custom_text }} @else {{ $websiteLang->where('lang_key','not_available')->first()->custom_text }} @endif
{{ $websiteLang->where('lang_key','top_property')->first()->custom_text }} @if ($package->number_of_top_property==-1) {{ $websiteLang->where('lang_key','unlimited')->first()->custom_text }} @else {{ $package->number_of_top_property }} @endif
{{ $websiteLang->where('lang_key','urgent_property')->first()->custom_text }} @if ($package->is_urgent==1) {{ $websiteLang->where('lang_key','available')->first()->custom_text }} @else {{ $websiteLang->where('lang_key','not_available')->first()->custom_text }} @endif
{{ $websiteLang->where('lang_key','urgent_property')->first()->custom_text }} @if ($package->number_of_urgent_property==-1) {{ $websiteLang->where('lang_key','unlimited')->first()->custom_text }} @else {{ $package->number_of_urgent_property }} @endif
@endif
@endsection