@include('frontend.partials.head', ['title' => 'Fily | Package Details']) @include('frontend.dashboard.partials.styles') @php $categoryName = $plan->category?->name ?? 'Provider'; $icon = match ($listingType) { 'job' => 'work', 'rent' => 'apartment', 'hostel' => 'bed', 'service' => 'design_services', default => 'workspace_premium', }; $baseAmount = (float) $plan->price; $gstRate = (float) $plan->gst_percentage; $gstAmount = $plan->gst_included ? 0 : round($baseAmount * $gstRate / 100, 2); $payableAmount = $baseAmount + $gstAmount; $benefits = [ 'job' => ['Create job listings under this category', 'Receive candidate visibility after approval', 'Show provider profile details on listings', 'Admin-reviewed marketplace presence'], 'rent' => ['Create rental property listings', 'Show rent, location, and contact details', 'List room and property information', 'Admin-reviewed marketplace presence'], 'hostel' => ['Create hostel listings', 'Show beds, facilities, rent, and rules', 'Display owner and location information', 'Admin-reviewed marketplace presence'], 'service' => ['Create service listings', 'Show service area, rates, and working days', 'Display provider experience details', 'Admin-reviewed marketplace presence'], ][$listingType] ?? ['Create listings under this category', 'Admin-reviewed marketplace presence']; @endphp @include('frontend.partials.header')
@include('frontend.dashboard.provider.partials.hero', [ 'provider' => $provider, 'kicker' => 'Package details', 'title' => $categoryName.' '.$plan->title, 'description' => 'Review the package before continuing to payment.', 'icon' => $icon, ])
@include('frontend.dashboard.provider.partials.sidebar', ['provider' => $provider, 'active' => 'subscription'])
@if (session('status'))
{{ session('status') }}
@endif @if ($activeSubscription)
verified This category already has an active subscription until {{ $activeSubscription->end_date?->format('d M Y') }}.
@endif
{{ $plan->duration_months }} {{ Str::plural('month', $plan->duration_months) }}

{{ $categoryName }} listing access

{{ $plan->category?->description ?: 'Use this package to publish listings in the selected marketplace category.' }}

Rs {{ number_format($payableAmount, 0) }}
{{ $plan->gst_included ? 'GST included' : 'Payable amount' }}

What this package includes

@foreach ($benefits as $benefit)
check_circle
{{ $benefit }}
@endforeach
@include('frontend.partials.footer') @unless ($activeSubscription)
@csrf
@endunless