xeroizer-float 2.15.3.8 → 2.15.3.9
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/xeroizer/models/line_item.rb +1 -1
- data/xeroizer-float.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.15.3.
|
1
|
+
2.15.3.9
|
@@ -32,7 +32,7 @@ module Xeroizer
|
|
32
32
|
def line_amount(summary_only = false)
|
33
33
|
return attributes[:line_amount] if summary_only || @line_amount_set
|
34
34
|
|
35
|
-
BigDecimal((quantity * unit_amount * (100.0 - discount_rate)).to_s).round(2) if quantity && unit_amount
|
35
|
+
BigDecimal((quantity * unit_amount * ((100.0 - discount_rate)/100.0)).to_s).round(2) if quantity && unit_amount
|
36
36
|
end
|
37
37
|
|
38
38
|
end
|
data/xeroizer-float.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "xeroizer-float"
|
8
|
-
s.version = "2.15.3.
|
8
|
+
s.version = "2.15.3.9"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Wayne Robinson", "Philip Roberts"]
|