diff --git a/app/Support/Amount.php b/app/Support/Amount.php index 4f0b894047..a0d4b3159b 100644 --- a/app/Support/Amount.php +++ b/app/Support/Amount.php @@ -47,14 +47,17 @@ class Amount $result = $formatter->formatCurrency($float, $format->code); if ($coloured === true) { - if ($amount === 0.00) { - return '' . $result . ''; - } + if ($amount > 0) { return '' . $result . ''; + } else { + if ($amount < 0) { + return '' . $result . ''; + } } - return '' . $result . ''; + return '' . $result . ''; + }