<?php
/**
 * Enterprise HRM ERP System - Reports & MIS
 */

require_once __DIR__ . '/../../includes/init.php';
requireLogin();

$pageTitle = 'Reports & MIS';
$currentModule = 'reports';

include __DIR__ . '/../../includes/header.php';
?>

<div class="card">
    <div class="card-header">
        <h2 class="card-title">Reports & Management Information System</h2>
    </div>
    
    <div style="display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px;">
        <div class="card" style="padding: 20px; text-align: center; cursor: pointer; transition: transform 0.2s;" 
             onmouseover="this.style.transform='scale(1.05)'" 
             onmouseout="this.style.transform='scale(1)'"
             onclick="window.location.href='<?php echo BASE_URL; ?>/modules/reports/attendance.php'">
            <div style="font-size: 48px; margin-bottom: 10px;">⏰</div>
            <h3>Attendance Reports</h3>
            <p style="color: var(--text-secondary);">View attendance summaries and analytics</p>
        </div>
        
        <div class="card" style="padding: 20px; text-align: center; cursor: pointer; transition: transform 0.2s;" 
             onmouseover="this.style.transform='scale(1.05)'" 
             onmouseout="this.style.transform='scale(1)'"
             onclick="window.location.href='<?php echo BASE_URL; ?>/modules/reports/leave.php'">
            <div style="font-size: 48px; margin-bottom: 10px;">📅</div>
            <h3>Leave Reports</h3>
            <p style="color: var(--text-secondary);">Leave balance and utilization reports</p>
        </div>
        
        <div class="card" style="padding: 20px; text-align: center; cursor: pointer; transition: transform 0.2s;" 
             onmouseover="this.style.transform='scale(1.05)'" 
             onmouseout="this.style.transform='scale(1)'"
             onclick="window.location.href='<?php echo BASE_URL; ?>/modules/reports/payroll.php'">
            <div style="font-size: 48px; margin-bottom: 10px;">💰</div>
            <h3>Payroll Reports</h3>
            <p style="color: var(--text-secondary);">Salary and payroll summaries</p>
        </div>
        
        <div class="card" style="padding: 20px; text-align: center; cursor: pointer; transition: transform 0.2s;" 
             onmouseover="this.style.transform='scale(1.05)'" 
             onmouseout="this.style.transform='scale(1)'"
             onclick="window.location.href='<?php echo BASE_URL; ?>/modules/reports/employee.php'">
            <div style="font-size: 48px; margin-bottom: 10px;">👥</div>
            <h3>Employee Reports</h3>
            <p style="color: var(--text-secondary);">Employee statistics and demographics</p>
        </div>
        
        <div class="card" style="padding: 20px; text-align: center; cursor: pointer; transition: transform 0.2s;" 
             onmouseover="this.style.transform='scale(1.05)'" 
             onmouseout="this.style.transform='scale(1)'"
             onclick="window.location.href='<?php echo BASE_URL; ?>/modules/reports/analytics.php'">
            <div style="font-size: 48px; margin-bottom: 10px;">📈</div>
            <h3>Analytics Dashboard</h3>
            <p style="color: var(--text-secondary);">Comprehensive analytics and insights</p>
        </div>
        
        <div class="card" style="padding: 20px; text-align: center; cursor: pointer; transition: transform 0.2s;" 
             onmouseover="this.style.transform='scale(1.05)'" 
             onmouseout="this.style.transform='scale(1)'"
             onclick="window.location.href='<?php echo BASE_URL; ?>/modules/reports/export.php'">
            <div style="font-size: 48px; margin-bottom: 10px;">📊</div>
            <h3>Export Reports</h3>
            <p style="color: var(--text-secondary);">Export data to Excel, PDF, CSV</p>
        </div>
    </div>
</div>

<?php include __DIR__ . '/../../includes/footer.php'; ?>

