@lang('backup::app.backupHealthScore')

{{ $backupHealthScore['score'] }}

{{ $backupHealthScore['status'] }}

@lang('backup::app.backupHealthDescription')

@if(!empty($backupHealthScore['issues']))

@lang('backup::app.issuesFound'):

    @foreach($backupHealthScore['issues'] as $issue)
  • {{ $issue }}
  • @endforeach
@endif
@if(!empty($recommendations))

@lang('backup::app.aiRecommendations')

@foreach($recommendations as $recommendation)
@if($recommendation['icon'] === 'exclamation-triangle') @elseif($recommendation['icon'] === 'clock') @elseif($recommendation['icon'] === 'calendar') @elseif($recommendation['icon'] === 'trending-up') @elseif($recommendation['icon'] === 'document') @endif

{{ $recommendation['title'] }}

{{ $recommendation['message'] }}

@if(isset($recommendation['action']))
@endif
@endforeach
@endif

@lang('backup::app.dataChangeInsights')

@if($dataChangeInsights['total_changes'] > 0)

@lang('backup::app.sinceLastBackup'): {{ $dataChangeInsights['days_since_backup'] }}

@if($dataChangeInsights['backup_recommended']) @lang('backup::app.backupRecommended') @else @lang('backup::app.minimalChanges') @endif

{{ $dataChangeInsights['recommendation_reason'] }}

@foreach($dataChangeInsights['changes'] as $type => $change) @if($change['count'] > 0)
@if($change['icon'] === 'shopping-cart') @elseif($change['icon'] === 'users') @elseif($change['icon'] === 'user') @elseif($change['icon'] === 'building') @elseif($change['icon'] === 'document') @endif
{{ $change['count'] }}
{{ $change['label'] }}
@if($type === 'files' && isset($change['size_formatted']))
{{ $change['size_formatted'] }}
@endif
@endif @endforeach
@if($dataChangeInsights['backup_recommended'])
@endif @else

@lang('backup::app.noDataChanges')

{{ $dataChangeInsights['message'] ?? 'No data changes detected since last backup.' }}

@endif