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

