@extends('layouts.app') @section('content')
@include('sections.setting-sidebar')
@lang('modules.databaseBackup.createDatabaseBackup') @lang('modules.databaseBackup.autobackup')

@lang($pageTitle)

@lang('messages.databasebackup.note')
@if( $backupSetting->status == "active")
@lang('messages.databasebackup.info', ['time' => \Carbon\Carbon::createFromFormat('H:i:s', $backupSetting->hour_of_day)->translatedFormat(companyOrGlobalSetting()->time_format), 'everyDayCount' => $backupSetting->backup_after_days, 'olderDayCount' => $backupSetting->delete_backup_after_days])
@endif
@lang('modules.databaseBackup.backup') @lang('modules.databaseBackup.backupSize') @lang('app.date') & @lang('app.time') @lang('app.action') @forelse ($backups as $count => $backup) {{ $backup['file_name'] }} {{ \App\Http\Controllers\DatabaseBackupSettingController::humanFilesize($backup['file_size']) }} {{ \Carbon\Carbon::parse($backup['last_modified'])->timezone(companyOrGlobalSetting()->timezone)->translatedFormat(companyOrGlobalSetting()->date_format . ', ' . companyOrGlobalSetting()->time_format) }} @empty @endforelse
@endsection @push('scripts') @endpush