<?php
// Récupérer les stats
$totalFiches = $pdo->query("SELECT COUNT(*) FROM fiches WHERE deleted_at IS NULL")->fetchColumn();
$fichesParStatut = $pdo->query("SELECT statut, COUNT(*) FROM fiches GROUP BY statut")->fetchAll();
$fichesParType = $pdo->query("SELECT type_reserve, COUNT(*) FROM fiches GROUP BY type_reserve")->fetchAll();
// Afficher avec Chart.js
?>