Version 4.7.8
This commit is contained in:
1 parent
7b7404e741
commit
fd22d99e69
688 files changed
+19814
-10890
No files matched your search
@@ -659,7 +659,10 @@ class _Transaction extends \IPS\Patterns\ActiveRecord
|
||||
$this->save();
|
||||
|
||||
/* Update member total spend */
|
||||
$this->member->updateSpend( $this->amount->amount, $this->amount->currency );
|
||||
if( $this->member->member_id )
|
||||
{
|
||||
$this->member->updateSpend( $this->amount->amount, $this->amount->currency );
|
||||
}
|
||||
|
||||
/* Mark the invoice paid if necessary */
|
||||
if ( !$amountToPayOnInvoice->amount->subtract( $this->amount->amount )->isGreaterThanZero() )
|
||||
|
||||
Reference in new issue
Block a user