{{ __('License') }}
{{ __('Purchase verification stays on your private update server.') }}
@extends('backend.layouts.app') @section('title', __('Project Updater')) @push('styles') @endpush @section('content') @php $licenseActive = $license?->isActive() ?? false; $latestStatus = $latest?->status ?? 'not_checked'; $changelog = collect($latest?->changelog ?? []); $supportTone = $license?->supportTone() ?? 'secondary'; $supportDaysRemaining = $license?->supportDaysRemaining(); $supportExpired = $license && $supportDaysRemaining !== null && $supportDaysRemaining < 0; $supportEndingSoon = $license?->supportExpiresSoon() ?? false; $showAlert = ! $license || $supportExpired || $supportEndingSoon; $alertTitle = ! $license ? __('Activate your ZilitPay license') : ($supportExpired ? __('Envato support has expired') : __('Envato support is ending soon')); $alertMessage = ! $license ? __('Enter the Envato purchase code to connect this installation with your private update server.') : ($supportExpired ? __('You can still receive ZilitPay project updates for free. Extend Envato support if you need priority help, setup assistance, or service support.') : __('Your support period is close to ending. Updates remain lifetime free, but extending support keeps premium help available when you need it.')); $latestVersion = $latest?->version; $hasUpdate = $latest && $latest->status === 'available'; $isCurrent = $latest && $latest->status === 'current'; $checksTotal = count($checks ?? []); $checksPassed = collect($checks ?? [])->where('status', true)->count(); $checksReady = $checksTotal > 0 && $checksPassed === $checksTotal; $licenseKpiTone = $licenseActive ? 'success' : ($license ? 'warning' : 'neutral'); $supportKpiTone = match ($supportTone) { 'success' => 'success', 'warning' => 'warning', 'danger' => 'danger', default => 'neutral', }; $releaseKpiTone = $hasUpdate ? 'info' : ($isCurrent ? 'success' : 'neutral'); $checksKpiTone = $checksReady ? 'success' : 'warning'; $supportRemainingLabel = $license ? ($supportExpired ? __(':days days ago', ['days' => abs((int) $supportDaysRemaining)]) : ($supportDaysRemaining !== null ? __(':days days left', ['days' => (int) $supportDaysRemaining]) : __('Unknown'))) : __('Not activated'); @endphp
{{ __('Activate the ZilitPay license, check your private update server, verify packages, and install signed releases from one place.') }}
{{ $alertMessage }}
{{ __('Purchase verification stays on your private update server.') }}
{{ __('Latest version returned by your update server.') }}
{{ __('Server-side checks required before package install.') }}
{{ __('What this release changes.') }}
{{ __('Recent checks, downloads, installs, and failures.') }}
| {{ __('Version') }} | {{ __('Status') }} | {{ __('Checked') }} | {{ __('Installed') }} | {{ __('Backup') }} |
|---|---|---|---|---|
| v{{ $update->version }} | {{ title(str_replace('_', ' ', $update->status)) }} | {{ $update->checked_at?->diffForHumans() ?? '—' }} | {{ $update->installed_at?->diffForHumans() ?? '—' }} | {{ $update->backup_path ?: '—' }} |