@extends('admin.layout.main') @section('admin')
Manage your service packages and pricing
| Package | Services | Pricing | Duration | Status | Featured | Actions |
|---|---|---|---|---|---|---|
|
{{ $package->name }}
ID: {{ $package->id }}
@if($package->description)
{{ Str::limit($package->description, 50) }}
@endif
|
@foreach($package->services->take(3) as $service)
{{ $service->name }} ({{ $service->pivot->quantity }})
@endforeach
@if($package->services->count() > 3)
+{{ $package->services->count() - 3 }} more
@endif
@if($package->services->count() === 0)
No services
@endif
|
@if($package->has_discount)
${{ $package->price }}
${{ $package->final_price }}
-{{ $package->discount_percentage }}%
@else
${{ $package->price }}
@endif
|
@if($package->duration_days) {{ $package->duration_days }} days @else Unlimited @endif | @if($package->is_active) Active @else Inactive @endif | @if($package->is_featured) Featured @else Regular @endif | |