add new ststs feature
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 51s
Tests / PHPUnit (push) Successful in 1m25s

This commit is contained in:
root
2026-09-13 02:20:14 -04:00
parent 1787144f27
commit c3a30989b2
16 changed files with 1395 additions and 84 deletions
+8 -1
View File
@@ -154,7 +154,12 @@
</table>
</div>
<h3 class="mt-5">Expenses Summary</h3>
<div class="alert alert-success mt-5 mb-3">
<strong>Donation Income to School:</strong>
<span id="donationIncomeTotal">$<?= number_format((float) ($donationToSchool ?? 0), 2) ?></span>
</div>
<h3>Expenses Summary</h3>
<div class="table-responsive">
<table id="expensesTable" class="table table-bordered align-middle w-100">
<thead>
@@ -410,6 +415,8 @@
}
// Expenses
const donationIncome = qs('#donationIncomeTotal');
if (donationIncome) donationIncome.textContent = fmt(data.donationToSchool || 0);
const expTbody = qs('#expensesTable tbody');
expTbody.innerHTML = '';
(data.expenses || []).forEach(exp => {