mirror of
https://github.com/itflow-org/itflow
synced 2026-03-24 06:25:40 +00:00
Properly format category name for HTML Displaying in budget
This commit is contained in:
@@ -65,7 +65,7 @@ $monthlyTotals = array_fill(1, 12, 0); // Initialize monthly totals for each mo
|
|||||||
if ($categories->num_rows > 0) {
|
if ($categories->num_rows > 0) {
|
||||||
while($category = $categories->fetch_assoc()) {
|
while($category = $categories->fetch_assoc()) {
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td>" . $category['category_name'] . "</td>";
|
echo "<td>" . nullable_htmlentities($category['category_name']) . "</td>";
|
||||||
$categoryTotal = 0;
|
$categoryTotal = 0;
|
||||||
for ($month = 1; $month <= 12; $month++) {
|
for ($month = 1; $month <= 12; $month++) {
|
||||||
// Fetch the monthly budget for this category for 2022
|
// Fetch the monthly budget for this category for 2022
|
||||||
|
|||||||
Reference in New Issue
Block a user