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
+2 -2
View File
@@ -17,9 +17,9 @@
<option value="Expense">Expense</option>
<option value="Purchase">Purchase</option>
<option value="Reimbursement">Reimbursement</option>
<option value="Donation">Donation (non-reimbursable)</option>
<option value="Donation">Donation income</option>
</select>
<div class="form-text text-muted">Use Donation when someone gifts items to the school so it is counted as an expense but skipped from reimbursement queues.</div>
<div class="form-text text-muted">Use Donation for money donated to the school. It is recorded as income and excluded from expenses and reimbursement queues.</div>
</div>
<div class="mb-3">
+2 -2
View File
@@ -15,11 +15,11 @@
<select name="category" class="form-control" required>
<?php foreach (['Expense', 'Purchase', 'Reimbursement', 'Donation'] as $opt): ?>
<option value="<?= $opt ?>" <?= $expense['category'] === $opt ? 'selected' : '' ?>>
<?= $opt === 'Donation' ? 'Donation (non-reimbursable)' : $opt ?>
<?= $opt === 'Donation' ? 'Donation income' : $opt ?>
</option>
<?php endforeach; ?>
</select>
<div class="form-text text-muted">Donation entries are tracked as expenses but will not move through reimbursement batches.</div>
<div class="form-text text-muted">Donation entries represent money received by the school. They are excluded from expenses and reimbursement queues.</div>
</div>
<div class="mb-3">