Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
CCS Backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
monero-project
CCS Backend
Commits
13f28cc5
Commit
13f28cc5
authored
Jan 27, 2019
by
xiphon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Project: convert Deposit amounts sum from smallest denomination units to XMR
parent
3d67f234
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/Project.php
app/Project.php
+1
-1
No files found.
app/Project.php
View file @
13f28cc5
...
...
@@ -47,7 +47,7 @@ class Project extends Model
}
public
function
getAmountReceivedAttribute
()
{
return
$this
->
deposits
->
sum
(
'amount'
);
return
$this
->
deposits
->
sum
(
'amount'
)
*
1
e
-
12
;
}
public
function
getPercentageFundedAttribute
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment