@extends('layouts.app') @section('title', 'Products Management') @section('content')

Products & Hosting Plans

Add New Product
@if(session('success'))
{{ session('success') }}
@endif
@forelse($products as $product) @empty @endforelse
Name Type Server Pricing Status Actions
{{ $product->name }}
{{ Str::limit($product->description ?? 'No description', 50) }}
{{ strtoupper($product->type) }} {{ $product->server ? $product->server->name : 'N/A' }} {{ $product->pricing->count() }} cycle(s) {{ $product->active ? 'Active' : 'Inactive' }} Edit View
@csrf @method('DELETE')
No products found. Add your first product
@if($products->hasPages())
{{ $products->links() }}
@endif
@endsection