diff --git a/views/communities/community.php b/views/communities/community.php index bd8aad3..fe8bc40 100644 --- a/views/communities/community.php +++ b/views/communities/community.php @@ -49,16 +49,28 @@ Transactions
You owe | -= number_format(0, $mainCurrencyRoundDigits) ?> = $mainCurrencyCode ?> | +You owe | += number_format($debtBalance, $mainCurrencyRoundDigits) ?> = $mainCurrencyCode ?> |
= $owe['payee']->getUser()->getDisplayName() ?> | += number_format($owe['amount'], $mainCurrencyRoundDigits) ?> = $mainCurrencyCode ?> | +||
You're owed | -= number_format(0, $mainCurrencyRoundDigits) ?> = $mainCurrencyCode ?> | +You're owed | += number_format($outstandingBalance, $mainCurrencyRoundDigits) ?> = $mainCurrencyCode ?> |
= $owe['payer']->getUser()->getDisplayName() ?> | += number_format($owe['amount'], $mainCurrencyRoundDigits) ?> = $mainCurrencyCode ?> | +||
Your balance | -= number_format(0, $mainCurrencyRoundDigits) ?> = $mainCurrencyCode ?> | +Your balance | += number_format($balance, $mainCurrencyRoundDigits) ?> = $mainCurrencyCode ?> |