Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
monero-project
CCS Backend
Commits
10fa3160
Commit
10fa3160
authored
Jan 07, 2019
by
beardedwarrior
Browse files
store the total received
parent
8824f917
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Console/Commands/WalletNotify.php
View file @
10fa3160
...
...
@@ -87,6 +87,8 @@ class walletNotify extends Command
$project
=
Project
::
where
(
'payment_id'
,
$transaction
->
paymentId
)
->
first
();
if
(
$project
)
{
// update the project total
$project
->
raised_amount
=
$project
->
raised_amount
+
$transaction
->
amount
;
$project
->
save
();
}
return
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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