@extends('layouts.admin') @section('title', 'Updates') @section('page-title', 'System Updates') @section('breadcrumbs') Settings chevron_right Updates @endsection @section('header-actions') @endsection @section('content')

Current Version

{{ $currentVersion }}

@if($hasAccess) License Active @else License Required @endif
@if(!$hasAccess)
warning

License Required

A valid license is required to check for and download updates. Please activate your license in License Settings.

@endif @if($latestUpdate)
system_update

Update Available

Version {{ $latestUpdate->version }} is available for download.

View Update Details →
@endif

Available Updates

@if(count($availableUpdates) > 0)
@foreach($availableUpdates as $update)

{{ $update->title }}

{{ ucfirst($update->type) }} v{{ $update->version }}
@if($update->description)

{{ $update->description }}

@endif @if($update->released_at)

Released: {{ $update->released_at->format('M d, Y') }}

@endif
@endforeach
@else
check_circle

You're up to date!

No updates available at this time.

@endif
@if($installedUpdates->count() > 0)

Recently Installed Updates

@foreach($installedUpdates as $update)

{{ $update->title }}

Version {{ $update->version }} • Installed {{ $update->installed_at->format('M d, Y') }}

Installed
@endforeach
@endif

Manual Update Guide

  1. Backup your database and files - Always create a backup before updating
  2. Download the update package - Download the update file from the update details page
  3. Extract the update files - Extract the downloaded ZIP file
  4. Upload files via FTP - Upload the extracted files to your server, overwriting existing files
  5. Run database migrations - Run php artisan migrate in your terminal
  6. Clear cache - Run php artisan cache:clear and php artisan config:clear
  7. Mark as installed - Click "Mark as Installed" on the update page after successful installation

Important: Never use shell commands or automated update scripts. Always perform updates manually to ensure system stability and security.

@endsection