@extends('layouts.admin') @section('title', 'Software Updates') @section('content')

Software Updates

niceprint.xyz se latest services aur bug fixes sync karein
Installed: v{{ $installedVersion }}
{{-- Alerts --}} @if(session('success')) @endif @if(session('error')) @endif @if(session('info')) @endif
{{-- Update Status Card --}}
Update Status
@if($checkError)
{{ $checkError }}
@elseif($updateInfo) @if($updateInfo['update_available'])
Naya Update Available!

Installed Version:
v{{ $installedVersion }}
Latest Version:
v{{ $updateInfo['latest_version'] }}

Kya update hoga:

    @foreach($updateInfo['changelog'] ?? [] as $change)
  • {{ $change }}
  • @endforeach

Total Services on Server: {{ $updateInfo['services_count'] }}

@csrf
@else
Aapka portal latest version (v{{ $updateInfo['latest_version'] }}) pe hai. Koi update nahi hai.

Aapka portal up-to-date hai!

@endif @endif
{{-- Info Card --}}
Update System Kaise Kaam Karta Hai?
1
niceprint.xyz me Service Add/Update hoti hai

Jab bhi niceprint.xyz ke admin koi service add karte hain ya update karte hain, version automatically bump ho jata hai.

2
Aapke Dashboard pe Notification Aata Hai

Admin dashboard khulne par automatically check hota hai ki koi update available hai ya nahi.

3
"Update Apply Karen" Button Click Karen

Button click karne se niceprint.xyz ki saari services aapke portal me automatically sync ho jati hain.

4
Portal Live Update Ho Jata Hai

Users ke liye turant nai services available ho jati hain. Koi downtime nahi hoti.


Update Server: niceprint.xyz
Security: API Key protected
Auto-check: Har dashboard visit pe
{{-- Update History --}}
Update History
@if($updateHistory->isEmpty())

Abhi tak koi update apply nahi ki gayi.

@else
@foreach($updateHistory as $update) @endforeach
Version Services Changes Status Date
v{{ $update->from_version }} v{{ $update->to_version }} @if($update->services_added > 0) +{{ $update->services_added }} added @endif @if($update->services_updated > 0) {{ $update->services_updated }} updated @endif @if($update->changelog)
{{ $update->changelog }}
@else - @endif
{{ ucfirst($update->status) }} {{ $update->created_at->format('d M Y, h:i A') }}
{{ $updateHistory->links() }}
@endif
@endsection