Cdentinger has uploaded a new change for review.
https://gerrit.wikimedia.org/r/286514
Change subject: wire 'cancel' in to another spot
......................................................................
wire 'cancel' in to another spot
Change-Id: I6cd5799a200599f90135d6b71080b9871fe73469
---
M sites/all/modules/wmf_audit/BaseAuditProcessor.php
1 file changed, 5 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm
refs/changes/14/286514/1
diff --git a/sites/all/modules/wmf_audit/BaseAuditProcessor.php
b/sites/all/modules/wmf_audit/BaseAuditProcessor.php
index d457409..73eed59 100644
--- a/sites/all/modules/wmf_audit/BaseAuditProcessor.php
+++ b/sites/all/modules/wmf_audit/BaseAuditProcessor.php
@@ -983,7 +983,11 @@
'recurring' => array(),
);
foreach ( $transactions as $transaction ) {
- if ( $this->record_is_refund( $transaction ) ||
$this->record_is_chargeback( $transaction ) ) { //negative
+ if (
+ $this->record_is_refund( $transaction ) ||
+ $this->record_is_chargeback( $transaction ) ||
+ $this->record_is_cancel( $transaction )
+ ) { //negative
if (
$this->negative_transaction_exists_in_civi( $transaction ) === false ) {
wmf_audit_echo( '-' ); //add a
subtraction. I am the helpfulest comment ever.
$missing['negative'][] = $transaction;
--
To view, visit https://gerrit.wikimedia.org/r/286514
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6cd5799a200599f90135d6b71080b9871fe73469
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Cdentinger <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits