Dashboard Title
{{ $dashboard->title ?? 'Untitled Dashboard' }}
{{ $dashboard->description ?? 'No description added for this dashboard.' }}
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)
@elseif($dashboard->preview_image)
@endif
{{-- Display Actual Data --}}
@if($tableData && !empty($tableData['headers']))
Data Table
@foreach($tableData['headers'] as $header)
| {{ $header }} |
@endforeach
@foreach($tableData['rows'] as $row)
@foreach($row as $cell)
| {{ $cell }} |
@endforeach
@endforeach
Total Records: {{ count($tableData['rows']) }}
@elseif($dashboardData && isset($dashboardData['type']) && $dashboardData['type'] === 'users')
User Data
@foreach($dashboardData['headers'] as $header)
| {{ $header }} |
@endforeach
@foreach($dashboardData['rows'] as $row)
@foreach($row as $cell)
| {{ $cell }} |
@endforeach
@endforeach
Total Records: {{ count($dashboardData['rows']) }}
@endif
@if(!empty($configEntries))
Configuration
| Configuration |
Value |
@foreach($configEntries as $entry)
| {{ $entry['label'] }} |
{{ $entry['value'] }} |
@endforeach
@endif