rock_rms 4.2.1 → 4.2.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e90e1496217895422ba3398235b5c3ea00e5eb3
|
4
|
+
data.tar.gz: 3c86bd6016a550c089ca371690458160af5229ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1340a42060b5bae82105076bc286e76a30528e42cfb9205f6224c6c1075d7954fad738303ef26b18041894fe206eab8e5eaebe6d341b71c941cc2ef4becf362a
|
7
|
+
data.tar.gz: 78a6b2e335a5a6e10a1b493fadbe2b6ff9bcd63f8795f30226c6e770b805caf6364a6aa273f6a19ddd93b49d35cfd2c7ae2626b891f98ad4f36d582f45bd6ad1
|
@@ -7,7 +7,8 @@ module RockRMS
|
|
7
7
|
batch_id:,
|
8
8
|
date:,
|
9
9
|
reason_id:,
|
10
|
-
transaction_id
|
10
|
+
transaction_id:,
|
11
|
+
transaction_code: nil
|
11
12
|
)
|
12
13
|
old_transaction = list_transactions(
|
13
14
|
'$expand' => 'TransactionDetails',
|
@@ -21,6 +22,7 @@ module RockRMS
|
|
21
22
|
'AuthorizedPersonAliasId' => old_transaction[:person_id],
|
22
23
|
'BatchId' => batch_id,
|
23
24
|
'FinancialPaymentDetailId' => old_transaction[:payment_detail_id],
|
25
|
+
'TransactionCode' => transaction_code,
|
24
26
|
'TransactionDateTime' => date,
|
25
27
|
'TransactionDetails' => translate_negative(old_transaction[:details]),
|
26
28
|
'TransactionTypeValueId' => old_transaction[:transaction_type_id]
|
@@ -53,7 +53,8 @@ module RockRMS
|
|
53
53
|
summary: nil,
|
54
54
|
recurring_donation_id: nil,
|
55
55
|
gateway_id: nil,
|
56
|
-
source_type_id: nil
|
56
|
+
source_type_id: nil,
|
57
|
+
transaction_code: nil
|
57
58
|
)
|
58
59
|
options = {}
|
59
60
|
|
@@ -62,6 +63,7 @@ module RockRMS
|
|
62
63
|
options['FinancialGatewayId'] = gateway_id if gateway_id
|
63
64
|
options['ScheduledTransactionId'] = recurring_donation_id if recurring_donation_id
|
64
65
|
options['SourceTypeValueId'] = source_type_id if source_type_id
|
66
|
+
options['TransactionCode'] = transaction_code if transaction_code
|
65
67
|
|
66
68
|
patch(transaction_path(id), options)
|
67
69
|
end
|
data/lib/rock_rms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rock_rms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taylor Brooks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|