@lang('config.system.page.title')

@if (auth()->user()->hasPermission('sys-conf-edit-schedule-backup') || auth()->user()->hasPermission('sys-conf-data-backup'))

@lang('config.system.card.title.database-backup')

@if (auth()->user()->hasPermission('sys-conf-data-backup'))
@endif
@if (auth()->user()->hasPermission('sys-conf-edit-schedule-backup'))
@if ($cron_exist) @if (!$db_backup_cron_exists)
@lang('config.system.text.corn-text')
@endif @else

@lang('config.system.text.corn-text-exist')

@endif
@if ($cron_exist)
{{--
--}}



@error('period')
{{ $message }}
@enderror
@if ($isyearly == 1)
@error('month')
{{ $message }}
@enderror
@endif @if ($isyearly == 1 || $ismonthly == 1)
@error('day_of_month')
{{ $message }}
@enderror
@endif @if ($isyearly == 1 || $ismonthly == 1 || $isweekly == 1 || $isdaily == 1)
@error('hour')
{{ $message }}
@enderror
@endif @if ($isyearly == 1 || $ismonthly == 1 || $isweekly == 1 || $isdaily == 1 || $ishourly == 1)
@error('minute')
{{ $message }}
@enderror
@endif @if ($isweekly == 1)
@error('day_of_week')
{{ $message }}
@enderror
@endif
@if ($db_backup_cron_exists) @else @endif
@endif @endif
@endif
@if (auth()->user()->hasPermission('sys-conf-data-backup-delete'))

@lang('config.system.card.title.database-delete')

@endif @if (auth()->user()->hasPermission('sys-conf-list'))

@lang('config.system.card.title.database-archives')

@endif
@push('scripts') @endpush