<?php
$section = 'reports';
require_once __DIR__ . '/db/config.php';
require_once __DIR__ . '/helpers.php';

require_once __DIR__ . '/includes/auth.php';
check_auth();

$db = db();
$lang = $_SESSION['lang'];

require_once __DIR__ . '/includes/actions.php';
require_once __DIR__ . '/includes/common_data.php';

// Ensure only authorized personnel can access (optional, but good practice)
// For now, assuming all logged-in users are admins or have access.

require_once __DIR__ . '/includes/layout/header.php';
require_once __DIR__ . '/includes/pages/reports.php';
require_once __DIR__ . '/includes/layout/footer.php';
