Report Templates
Pre-designed report templates for quick generation and standardization
Total Templates
{{ $templates->count() }}
Official Templates
{{ $templates->where('type', 'official')->count() }}
Custom Templates
{{ $templates->where('type', 'custom')->count() }}
Most Used Template
Daily Revenue
Template Categories
Financial Reports
{{ $templates->where('category', 'financial')->count() }} templatesOperational Reports
{{ $templates->where('category', 'operational')->count() }} templatesGuest Analytics
{{ $templates->where('category', 'analytics')->count() }} templatesStaff Reports
{{ $templates->where('category', 'staff')->count() }} templatesTemplate Gallery
@forelse($templates as $template)
@empty
@endforelse
@if($template->is_official)
Official
@endif
@if($template->is_favorite)
@endif
@if($template->preview_image)
@else
@endif
{{ $template->name }}
{{ Str::limit($template->description, 80) }}
{{ ucfirst($template->module) }}
@if($template->category)
{{ $template->category }}
@endif
{{ $template->last_used ? \Carbon\Carbon::parse($template->last_used)->diffForHumans() : 'Never' }}
{{ $template->usage_count ?? 0 }}
No templates found
Create your first template to get started
| Template Name | Module | Type | Last Modified | Usage Count | Actions |
|---|---|---|---|---|---|
|
@if($template->is_official)
@else
@endif
{{ $template->name }}
{{ Str::limit($template->description, 50) }}
|
{{ ucfirst($template->module) }} | @if($template->is_official) Official @else Custom @endif | {{ $template->updated_at->format('Y-m-d') }} {{ $template->updated_at->format('H:i') }} | {{ $template->usage_count ?? 0 }} |
|
Recently Used Templates
@foreach($templates->where('last_used', '!=', null)->sortByDesc('last_used')->take(4) as $recentTemplate)
@endforeach
@if($templates->where('last_used', '!=', null)->isEmpty())
@endif
{{ $recentTemplate->name }}
Used {{ \Carbon\Carbon::parse($recentTemplate->last_used)->diffForHumans() }}
No recently used templates
Start using templates to see them here