@extends ('admin.layouts.app') @section ('content')

{{__('System Updater')}}

@include('admin.message') @if($ready_for_update)
{{__('Update booking core')}}
@if($updater_latest_version = setting_item('updater_latest_version') and version_compare(config('app.version'),$updater_latest_version,'='))

{{__("You are using newest version of Booking Core: :version",['version'=>$updater_latest_version])}}

@endif

{{__("Your license key: :key",['key'=>setting_item('envato_license_key')])}}

@if($last_check_update = setting_item('last_check_update'))

{{__("Last check for update: :date",['date'=>display_datetime((int)$last_check_update)])}}

@endif @if($updater_last_success = setting_item('updater_last_success'))

{{__("Last update success: :date",['date'=>display_datetime((int)$updater_last_success)])}}

@endif
@csrf
@if($updater_latest_version = setting_item('updater_latest_version') and version_compare(config('app.version'),$updater_latest_version,'<'))

{{__("Your current version: :version",['version'=>config('app.version')])}}

{{__("Latest version available: :version",['version'=>$updater_latest_version])}}

@endif
{{__('or')}} {{__("change license info")}}
@endif
{{__('License Key Information')}}
{{__("Please enter envato username and license key (purchase code) to get autoupdate")}}
@csrf
{{__("How can I get my license key?")}}
@endsection @section('script.body') @endsection