[FIX] Round donations on donor page
This commit is contained in:
parent
30fcc42e7d
commit
481c8dd980
@ -197,7 +197,7 @@ class Transaction extends Base {
|
|||||||
SUM(t.amount) AS donation,
|
SUM(t.amount) AS donation,
|
||||||
a.username AS username,
|
a.username AS username,
|
||||||
a.is_anonymous AS is_anonymous,
|
a.is_anonymous AS is_anonymous,
|
||||||
a.donate_percent AS donate_percent
|
ROUND(a.donate_percent, 2) AS donate_percent
|
||||||
FROM $this->table AS t
|
FROM $this->table AS t
|
||||||
LEFT JOIN " . $this->user->getTableName() . " AS a
|
LEFT JOIN " . $this->user->getTableName() . " AS a
|
||||||
ON t.account_id = a.id
|
ON t.account_id = a.id
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user