Commit 13f28cc5 authored by xiphon's avatar xiphon
Browse files

Project: convert Deposit amounts sum from smallest denomination units to XMR

parent 3d67f234
......@@ -47,7 +47,7 @@ class Project extends Model
public function getAmountReceivedAttribute() {
return $this->deposits->sum('amount');
return $this->deposits->sum('amount') * 1e-12;
public function getPercentageFundedAttribute() {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment