@extends('layouts.user') @section('title', 'Dashboard — OAH') @push('styles') @endpush @section('content')
{{-- Dashboard header --}}

Dashboard: {{ $client->name }}

@if ($client->renewal_date)

Next renewal date: {{ $client->renewal_date->format('d/m/Y') }} @if ($daysUntilRenewal !== null) @if ($daysUntilRenewal > 0) — {{ $daysUntilRenewal }} {{ $daysUntilRenewal === 1 ? 'day' : 'days' }} remaining until renewal @elseif ($daysUntilRenewal === 0) — renewal is today @else — renewal was {{ abs($daysUntilRenewal) }} {{ abs($daysUntilRenewal) === 1 ? 'day' : 'days' }} ago @endif @endif

@else

Renewal date not set.

@endif
OAH Partnership Programme @if ($client->logo_path) {{ $client->name }} @else @endif
@if (count($products) > 0) @php $productCount = count($products); @endphp
{{-- Mobile: name + bar per product, then buttons --}}
@foreach ($products as $product)

{{ $product['name'] ?? '—' }}

@endforeach
{{-- Desktop: product names (auto width) | bars | buttons --}}
@else

No products on your package yet

Your administrator will assign products to your account.

@endif
@endsection