backend-01
commit 0fa6e857d7487c01f65d0087dc29cecad28e1de0
Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
dashboard: use green text when positive balance
app/views/dashboard.php | 2 +-
diff --git a/app/views/dashboard.php b/app/views/dashboard.php
index 835def81f8dc59917717e5a5753a5ad3348ad00e..cceb74f45de1022f4adb1f6fb4d7ac3d9070290c 100644
--- a/app/views/dashboard.php
+++ b/app/views/dashboard.php
@@ -8,7 +8,7 @@
<div class="balance-card bg-white p-6 mb-8 rounded-lg shadow-lg max-w-xs mx-auto">
<h2 class="text-2xl font-semibold text-gray-800 mb-4">Balanço</h2>
- <p class="text-4xl font-bold <?php echo ($balance > 0) ? 'text-blue-600' : 'text-red-600' ?> mb-2">$<?= number_format($balance, 2) ?></p>
+ <p class="text-4xl font-bold <?php echo ($balance > 0) ? 'text-green-600' : 'text-red-600' ?> mb-2">$<?= number_format($balance, 2) ?></p>
</div>
<?php if (empty($bills)) : ?>