@extends('layouts.agent') @section('content')

All Packages for {{ ucwords(auth()->user()->user_type) }}

@forelse($packages as $package)
{{ ucwords($package->title) }}
@if ($package->subtitle)
{{ $package->subtitle }}
@endif
₹{{ number_format($package->price, 0) }}
per {{ str_replace('-', ' ', $package->plan_type) ?? '' }} days
  • Post Limit : {{ $package->post_limit }}
  • Ad Duration : {{ $package->post_duration }}
  • Deal Type : {{ ucwords(str_replace('_', ' ', $package->sale_type)) }}
  • Property Category : {{ ucwords($package->property_type ?? '-') }}
  • Highlights: @php $attrs = json_decode($package->attribute, true); @endphp @if (is_array($attrs))
      @foreach ($attrs as $attr)
    • {{ $attr }}
    • @endforeach
    @else {{ $package->attribute ?? '-' }} @endif
{{ $package->status == 1 ? 'Buy' : 'Get This Plan' }}
@empty

@lang('No packages found.')

@endforelse
@endsection