<?php
require_once __DIR__ . '/../../../app/Models/CashFlow.php';
$model = new CashFlow();
$data = $model->getCashFlow($_GET['start'] ?? null, $_GET['end'] ?? null);
header('Content-Type: application/json');
echo json_encode($data);
