<?php
require_once __DIR__ . '/../app/core/bootstrap.php';
$pdo = crm_pdo();
$stmt = $pdo->query("SELECT city, distance_km FROM projects WHERE distance_km IS NOT NULL AND distance_km > 0 LIMIT 20");
echo json_encode($stmt->fetchAll(PDO::FETCH_ASSOC));
