get("Families") ?>
count('families'); ?>
get("Recent Payments") ?>
select("payments", "amount", ["AND" => ["paid" => 1, "date[>]" => date("Y-m-d H:i:s", strtotime("-30 days"))]]);
$total = 0.0;
foreach ($amounts as $amt) {
$total += $amt;
}
echo number_format($total, 2);
?>
count('families', ["expires[<]" => date("Y-m-d", strtotime("+1 month"))]);
?>