@extends('layouts.admin')
@section('title', 'Dashboard')
@section('heading', 'Dashboard')
@section('subheading', 'Welcome back, ' . (auth()->user()?->name ?? ''))
@section('header-actions')
Total Revenue
Rs {{ number_format($revenue['total']) }}
@if ($revenue['growth'] && $revenue['growth']['percent'] !== null){{ $license->customer?->company_name ?? 'Unknown' }}
{{ $license->domain?->domain ?? 'no domain bound' }}
{{ $license->activated_at?->diffForHumans(short: true) }}
{{ $log->domain ?? $log->license?->customer?->company_name ?? 'Unknown' }}
{{ $log->created_at?->diffForHumans() }}
{{ $license->customer?->company_name ?? 'Unknown' }}
{{ $license->package?->name }}
v{{ $updates['latest']['version'] }}
{{ ucfirst($updates['latest']['channel']) }}Released {{ $updates['latest']['published_at'] ?? '—' }}
{{ number_format($updates['pending']) }}
installation{{ $updates['pending'] === 1 ? '' : 's' }} pending update