id }}, type: type, start_date: this.startDate, end_date: this.endDate, }), }); const data = await response.json(); if (response.ok) { const newReport = { id: data.id, name: data.title || \`\${type} Report\`, generatedBy: '{{ auth()->user()->name }}', date: new Date().toLocaleDateString('en-US', { day: '2-digit', month: 'short', year: 'numeric' }), type: type === 'summary' ? 'Project Summary' : type === 'engineer' ? 'Engineer Performance' : type === 'tasks' ? 'Task Completion' : 'Maintenance Log', }; this.reports.unshift(newReport); } } catch (error) { console.error('Error:', error); } finally { this.loading = false; } }, async downloadReport(reportId) { try { window.location.href = `/api/admin/reports/\${reportId}/download`; } catch (error) { console.error('Error downloading report:', error); } } }" class="space-y-6" >

Project Summary Report

Overview of project status, progress, and key metrics.

Engineer Performance

Performance metrics and productivity analysis per engineer.

Task Completion Report

Detailed analysis of task completion rates and timelines.

Maintenance Log Report

Complete maintenance history and equipment status.

Filter Reports by Date Range

All reports will be generated with this date range.

Recent Reports

Report Name Type Generated By Date Action