Saved Dashboard Preview

Dashboard Title

{{ $dashboard->title ?? 'Untitled Dashboard' }}

{{ $dashboard->description ?? 'No description added for this dashboard.' }}

Saved On {{ $dashboard->created_at?->format('F d, Y h:i A') }}
Dashboard Type {{ $typeLabel }}
Source {{ $dashboard->source ?? 'Business Analytics' }}
Owner {{ $dashboard->created_by_email ?? 'admin@example.com' }}

Sharing

  • Visibility {{ $dashboard->is_shared ? 'Shared' : 'Private' }}
  • Favorite {{ $dashboard->is_favorite ? 'Pinned' : 'Not pinned' }}
  • File Format {{ strtoupper($dashboard->file_format ?? 'N/A') }}

Identifiers

  • Dashboard ID #DB{{ str_pad($dashboard->id, 6, '0', STR_PAD_LEFT) }}
  • Created By User ID {{ $dashboard->created_by_id ?? 'N/A' }}
  • Preview Image {{ $dashboard->preview_image ? 'Available' : 'Not uploaded' }}
@if($imagePath)

Dashboard Screenshot

User Admin Dashboard Screenshot
@elseif($dashboard->preview_image)
Dashboard Preview
@endif {{-- Display Actual Data --}} @if($tableData && !empty($tableData['headers']))

Data Table

@foreach($tableData['headers'] as $header) @endforeach @foreach($tableData['rows'] as $row) @foreach($row as $cell) @endforeach @endforeach
{{ $header }}
{{ $cell }}
Total Records: {{ count($tableData['rows']) }}
@elseif($dashboardData && isset($dashboardData['type']) && $dashboardData['type'] === 'users')

User Data

@foreach($dashboardData['headers'] as $header) @endforeach @foreach($dashboardData['rows'] as $row) @foreach($row as $cell) @endforeach @endforeach
{{ $header }}
{{ $cell }}
Total Records: {{ count($dashboardData['rows']) }}
@endif @if(!empty($configEntries))

Configuration

@foreach($configEntries as $entry) @endforeach
Configuration Value
{{ $entry['label'] }} {{ $entry['value'] }}
@endif