@extends('layouts.dashboard') @section('title', 'Reports & Analytics') @section('content')
Generate comprehensive reports for your system data
Employee and user analytics
Field visit analytics
Leave management analytics
Salary and payment analytics
Client management analytics
Employee performance analytics
Configure and generate detailed reports
View your recently generated reports
| Report Type | Date Range | Generated On | Actions |
|---|---|---|---|
|
@php
$reportIcons = [
'users' => 'fa-users text-blue-500',
'visits' => 'fa-map-marker-alt text-emerald-500',
'leaves' => 'fa-calendar-alt text-amber-500',
'payroll' => 'fa-money-bill-wave text-purple-500',
'clients' => 'fa-handshake text-red-500',
'performance' => 'fa-chart-line text-indigo-500',
'summary' => 'fa-chart-bar text-gray-500'
];
@endphp
{{ $report->name ?? 'Unnamed Report' }}
{{ isset($report->format) ? strtoupper($report->format) : 'HTML' }} format
|
{{ isset($report->date_from) ? \Carbon\Carbon::parse($report->date_from)->format('M d') : 'N/A' }} - {{ isset($report->date_to) ? \Carbon\Carbon::parse($report->date_to)->format('M d, Y') : 'N/A' }} |
{{ isset($report->created_at) ? \Carbon\Carbon::parse($report->created_at)->format('M d, Y') : 'N/A' }}
{{ isset($report->created_at) ? \Carbon\Carbon::parse($report->created_at)->format('h:i A') : '' }}
|
You haven't generated any reports yet. Use the form above to create your first report.