@extends('layouts.user') @push('css') @endpush @section('title')

@lang('Welcome')!

@lang('Welcome To Your Account')
@endsection @section('content') @if (session('message'))
{{ session('message') }}
@endif @if (auth()->check() && !auth()->user()->hasVerifiedEmail()) @endif

@lang('Your Current Package'): {{ auth()->user()->plan != null ? auth()->user()->plan->title . '(' . Carbon\Carbon::parse(auth()->user()->plan_end_date)->format('d-m-Y') . ')' : 'N/A' }}

@if (auth()->user()->plan == null) @endif
My Activity
@lang('Contacted Properties') : {{ $contactsCount ?? 0 }}
@lang('Seen Properties') : {{ $seenPropertyCount ?? 0 }}
@lang('Wishlisted Properties') : {{ $savedPropertyCount ?? 0 }}
Recent Searches

@lang('Contacted Properties')

@foreach ($contacts as $contact) @php $property = $contact->property; $routes = [ 'for_pg' => 'pg.details', 'for_rent' => 'rent.details', 'for_sell' => 'buy.details', 'plot' => 'plot.details', 'commercial' => 'commercial.details', ]; $propertyUrl = isset($routes[$property->looking_for]) ? route($routes[$property->looking_for], $property->slug) : '#'; // fallback @endphp
Property Image @if ($property->reviews->count() > 0)
@php $review = $property->reviews->sum('rate') / $property->reviews->count(); @endphp @for ($i = 1; $i <= $review; $i++) @endfor @if (is_float($review)) @endif
@endif @if ($property->looking_for == 'for_rent') {{ __('For Rent') }} @elseif ($property->looking_for == 'for_sell') {{ __('For Sell') }} @elseif ($property->looking_for == 'for_pg') {{ __('For PG') }} @else {{ __('Property') }} @endif
{{ $property->name ?? '' }}

{{ $property->locality ?? '' }}, {{ $property->location->name ?? '' }}

{{ $property->user->name ?? '' }}
{{ $property->user->user_type ?? '' }}
+91{{ $property->user->phone ?? '' }}
@php $features = []; if ($property->no_of_bhk) { $features[] = '

BHK
 ' . $property->no_of_bhk . '

'; } if ( $property->construction_status == 'under-construction' && $property->possession_date ) { $features[] = '

Possession Date
 ' . $property->possession_date . '

'; } elseif ( $property->construction_status == 'ready-to-move' && $property->property_age ) { $features[] = '

Age Of Property
 ' . $property->property_age . ' Years

'; } if ($property->construction_status) { $features[] = '

Construction Status
 ' . ucwords(str_replace('-', ' ', $property->construction_status)) . '

'; } if ($property->carpet_area) { $features[] = '

Carpet Area
 ' . $property->carpet_area . ' Sqft

'; } if ($property->price_per_sqft) { $features[] = '

Price Per Sqft
 ' . $property->price_per_sqft . ' Sqft

'; } if ($property->plot_area) { $features[] = '

Plot Area
 ' . $property->plot_area . ' ' . $property->area_unit . '

'; } if ($property->plot_length && $property->plot_width) { $features[] = '

Plot Dimensions
 ' . ucfirst($property->plot_length . ' X ' . $property->plot_width) . '

'; } if ($property->floors_allowed) { $features[] = '

Floors Allowed
 ' . $property->floors_allowed . ' ' . ($property->floors_allowed == 1 ? 'Floor' : 'Floors') . '

'; } if ($property->open_sides) { $features[] = '

No. Of Open Sides
 ' . $property->open_sides . ' ' . ($property->open_sides == 1 ? 'Side' : 'Sides') . '

'; } $features = array_slice($features, 0, 3); // Show only top 4 features @endphp @if (count($features) > 0)
@foreach ($features as $feature) {!! $feature !!} @endforeach
@endif
@endforeach
@lang('Referral URL')
@if (count($transactions) == 0) @else @foreach ($transactions as $key => $property) @endforeach @endif
@lang('No') @lang('Type') @lang('Txnid') @lang('Amount') @lang('Date')

{{ __('No Data Found') }}

{{ $loop->iteration }}
{{ strtoupper($property->type) }}
{{ $property->txnid }}

{{ $property->amount }}

{{ date('d M Y', strtotime($property->created_at)) }}
@endsection @push('js') @endpush