@extends('layouts.user_type.auth') @section('pageActions') @endsection @section('packages')
@include('components.alert')
@if ($packages->count())
@foreach ($packages as $package) @php $pkStatus = $package->package_status; $pkTone = $pkStatus === 'active' ? 'z-badge--success' : ($pkStatus === 'deleted' ? 'z-badge--danger' : ''); $pkFeatures = array_values(array_filter(array_map('trim', explode(',', (string) $package->included_features)))); @endphp
{{ ucfirst($pkStatus) }}
@if ($package->package_status !== 'deleted')
@csrf @method('DELETE')
@endif

{{ $package->package_name }}

@if ($package->description)

{{ $package->description }}

@endif
₹{{ number_format($package->pricing) }} / {{ strtolower($package->billing_cycle) }}
{{ $package->user_limit }} {{ \Illuminate\Support\Str::plural('user', (int) $package->user_limit) }} {{ $package->duration }} {{ \Illuminate\Support\Str::plural('month', (int) $package->duration) }} {{ $package->support_level ?: 'Basic' }} support
@if (count($pkFeatures))
Includes {{ count($pkFeatures) }}
    @foreach ($pkFeatures as $feature)
  • {{ $feature }}
  • @endforeach
@endif
@endforeach
@include('components.pagination', ['paginator' => $packages])
@else
No packages found
Try a different search or status filter, or create a new package.
@endif
Create Package
Set the price, limits and features clients on this package get.
@csrf
Basics
Name and description shown on plan comparison.
Pricing
Price charged per billing cycle, in rupees.
Limits & support
How many people can use the workspace and the support tier.
Included features *
Shown as bullet points on the package card. Separate with commas.
@endsection