@extends('layouts.demo10.base') @section('styles') @endsection @section('content')

Pricing Packages

Home / Packages
@forelse ($packages as $package) @php $billingLabel = ucfirst(str_replace('_', ' ', (string) $package->billing_cycle)); $displayPrice = number_format((float) ($package->monthly_price ?? $package->price ?? 0), 0); $iconUrl = ! blank($package->icon_path) ? asset('storage/' . ltrim($package->icon_path, '/')) : null; @endphp @empty @endforelse
Name Price Billing Type Status
@if($iconUrl) @else @endif {{ $package->name }} $ {{ $displayPrice }} {{ $billingLabel }} {{ $package->is_active ? 'Active' : 'Inactive' }}
No packages found.
@endsection @section('scripts') @vite('resources/js/pages/packages.js') @endsection