@extends('layouts.admin') @section('content')
{{ $user->name }}
@include('includes.admin.form-success') @if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
@if ($user->is_provider == 1) No Image @else No Image @endif {{ __('Send Message') }}
{{ __('ID#') }} {{ $user->id }}
{{ __('User Type') }} {{ ucfirst($user->user_type) }}
{{ __('Username') }} {{ $user->name }}
{{ __('Email') }} {{ $user->email }}
{{ __('Phone No.') }} {{ $user->phone }}
{{ __('Address') }} {{ $user->address }}
{{ __('City') }} {{ $user->city }}
{{ __('Zip Code') }} {{ $user->zip }}
@csrf
@if ($activePlan) @php $endDate = $user->plan_end_date ? \Carbon\Carbon::parse($user->plan_end_date) : null; $startDate = ($endDate && $activePlan->plan_type) ? $endDate->copy()->subDays($activePlan->plan_type) : null; @endphp
@lang('Active Plan')

Package For: {{ ucwords($activePlan->user_type ?? '?') }}

Property Type: {{ ucwords($activePlan->property_type ?? '?') }}

Sale Type: {{ ucwords(str_replace('_', ' ', $activePlan->sale_type ?? '?')) }}

Package Title: {{ ucwords($activePlan->title ?? '?') }}

Package Sub-Title: {{ ucwords($activePlan->subtitle ?? '?') }}

Add Validity: {{ $activePlan->plan_type ?? '?' }} days

Package Price: ₹{{ $activePlan->price ?? '?' }}

Listing Limit: {{ $activePlan->post_limit ?? '?' }}

Ad Duration: {{ $activePlan->post_duration ?? '?' }}

@lang('Activated At'): {{ $startDate ? $startDate->format('d M, Y h:i A') : '?' }}

@lang('Expires At'): {{ $endDate ? $endDate->format('d M, Y h:i A') : '?' }}

@lang('Slot'): {{ $activePlan->slot ?? '-' }}

@lang('Boost'): {{ $activePlan->boost ? $activePlan->boost."x" : '-' }}

@else

@lang('No active plan')

@endif
{{-- STATUS MODAL --}} {{-- STATUS MODAL ENDS --}} {{-- MESSAGE MODAL --}}
{{-- MESSAGE MODAL ENDS --}} {{-- DELETE MODAL --}} {{-- DELETE MODAL ENDS --}} @endsection