<?php
require_once 'config/database.php';

// Update the fee record to have a due amount for testing
$stmt = $pdo->prepare("UPDATE fees SET paid_amount = 100.00, status = 'partial' WHERE id = 2384");
$stmt->execute();
echo "Updated fee record for testing - now has 125.00 due amount\n";

// Verify the update
$stmt = $pdo->prepare("SELECT * FROM fees WHERE id = 2384");
$stmt->execute();
$fee = $stmt->fetch();
print_r($fee);
?>