{{ $package->code }} @if ($availableNow) Available for new orders @else Not available for new orders @endif
@can('delete', $package) @unless ($usedAnywhere) Delete @endunless @endcan @can('update', $package) {{ $package->isActive() ? 'Deactivate' : 'Activate' }} Edit @endcan
@foreach ($items as $item)

{{ $item->service->name }}

{{ $item->service->category->label() }}

@php($lines = \App\Services\Packages\ServiceDetailSchema::describe($item->service->category, $item->details)) @if ($lines)
@foreach ($lines as $label => $value)
{{ $label }}
{{ $value }}
@endforeach
@else

No additional details recorded.

@endif
@endforeach
@foreach ($histories as $history) @endforeach
EffectivePriceMonthlyPromoInstall / Activation

{{ format_datetime($history->effective_at) }}

@if ($history->reason)

{{ $history->reason }}

@endif

by {{ $history->changedBy?->name ?? '—' }}

@if ($loop->first)Current@endif
{{ format_money($history->price) }}{{ $history->price_frequency->suffix() }} {{ format_money($history->standard_monthly_price) }} {{ format_money($history->promotional_price) }} {{ format_money($history->installation_price) }} / {{ format_money($history->activation_price) }}

{{ format_money($package->price) }}{{ $package->price_frequency->suffix() }}

{{ $package->price_frequency->label() }} price

Standard monthly
{{ format_money($package->standard_monthly_price) }}
Promotional
{{ format_money($package->promotional_price) }} @if ($package->promotional_price !== null) {{ $promotionActive ? 'Active now' : 'Not active today' }}{{ $package->promotion_end_date ? ' · ends '.format_date($package->promotion_end_date) : '' }} @endif
Installation
{{ format_money($package->installation_price) }}
Activation
{{ format_money($package->activation_price) }}

Prices are informational. The portal does not collect payments.

{{ $package->vendor?->name }} {{ $package->description ?: '—' }}
@if ($recentOrders->isNotEmpty()) @endif