@extends('layouts.admin') @section('title', 'Products & Packages - ' . $appName . ' Admin') @section('content')

Products & Packages Inventory

Manage official wellness catalog, product images, pricing, stock levels, and membership packages.

@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
Please correct the errors below:
@endif
Total Products

{{ $products->count() }}

In-Stock Units

{{ number_format($products->sum('stock')) }}

Packages

{{ $packages->count() }}

Active Items

{{ $products->where('is_active', true)->count() }}

@foreach($products as $p)
@if($p->image_url) {{ $p->name }} @else
@endif
@if($p->is_active) Active @else Inactive @endif
{{ $p->pv_points }} PV
{{ $p->category }}

{{ $p->name }}

{{ $p->spec_weight ?: 'Standard Package' }}

@csrf
@endforeach
@foreach($packages as $pkg)
@if($pkg->image_url) {{ $pkg->name }} @else @endif

{{ $pkg->name }}

@if($pkg->is_available) Available @else Unavailable @endif

{{ $pkg->description }}

₱{{ number_format($pkg->price, 0) }} ({{ $pkg->pv_points }} PV)
@csrf
@endforeach

Add New Wellness Product

Create a new retail item in the {{ $appName }} catalog.

@csrf
@endsection