intacctrb 0.8.18 → 0.8.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/intacctrb/ap_payment.rb +4 -4
- data/lib/intacctrb/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a98dc9e3bab10687712e89fc41bd305e75a998734ccdd2cea189bdeb906af60
|
4
|
+
data.tar.gz: 3a87e24cf981a5d37b890f1fe6716331b090b1fa8d0a00b99a1d45dd4b03d79a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6510b64de3e9e6c04237479f8b425f2d9b4b73990f83736ffb392e2d72d72180ce410f5335dd8501a37e4ce55c7910c0e9672ce1ed5267007f5038a2f3adce2
|
7
|
+
data.tar.gz: 3694ee6cc63ed18b422ed8d752ad3f9faf3caa839628659038cffd634d3e81da7e85383efdc2156b51259ad7081a17ef01a3592629053aeabe2c0c0310189e3f
|
data/lib/intacctrb/ap_payment.rb
CHANGED
@@ -27,14 +27,14 @@ module IntacctRB
|
|
27
27
|
|
28
28
|
def reverse
|
29
29
|
return false unless object.id.present?
|
30
|
-
|
30
|
+
parsed_date = Date.parse(object.date) rescue Date.today
|
31
31
|
send_xml('delete') do |xml|
|
32
32
|
xml.function(controlid: "1") {
|
33
33
|
xml.reverse_appayment(key: object.id) do |xml|
|
34
34
|
xml.datereversed do |xml|
|
35
|
-
xml.year
|
36
|
-
xml.month
|
37
|
-
xml.day
|
35
|
+
xml.year parsed_date.year
|
36
|
+
xml.month parsed_date.month
|
37
|
+
xml.day parsed_date.day
|
38
38
|
end
|
39
39
|
end
|
40
40
|
}
|
data/lib/intacctrb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: intacctrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Hale
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
218
218
|
version: '0'
|
219
219
|
requirements: []
|
220
220
|
rubyforge_project:
|
221
|
-
rubygems_version: 2.7.
|
221
|
+
rubygems_version: 2.7.7
|
222
222
|
signing_key:
|
223
223
|
specification_version: 4
|
224
224
|
summary: Ruby Intacct API Client
|