blsm-vd-core 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/blsm-vd-core/model/order.rb +1 -1
- data/lib/blsm-vd-core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a885fbfbfb961065df1b80e794d425e687c371bb
|
4
|
+
data.tar.gz: 597f87117e8a1bf3201f94469a15b99445a0766f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2e9f6a8b0ed289efa85997f0eb02c8fc8b9779a5d12d8d6d257370bcfabb8e38acdc023c7b90f53f6c905768e880ef13ff47f66354a766a0e97c558c193be20
|
7
|
+
data.tar.gz: f68fd246c6bf39af33960f211862328446dc2dfd7d9472148831b228545c232077afe9fe921ec33ad1b3f4479c07d9886a3b7bfabd4405ca0c3190df6ae071b2
|
data/Gemfile.lock
CHANGED
@@ -25,7 +25,7 @@ module BlsmVdCore
|
|
25
25
|
next if item.product_prop.nil?
|
26
26
|
rate = item.product_prop.ordinary_rate
|
27
27
|
rate = VdUserScore::SCORES[:SALE_OUT_DIRECT] if rate.nil? && "normal" == role
|
28
|
-
fee += ((item.quantity * item.franchise_price.to_f) * rate)
|
28
|
+
(fee += ((item.quantity * item.franchise_price.to_f) * rate) ) if item.sale_price!=0
|
29
29
|
end
|
30
30
|
end
|
31
31
|
sprintf('%0.2f', fee.to_f).to_f
|
data/lib/blsm-vd-core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blsm-vd-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- saxer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-03-
|
12
|
+
date: 2017-03-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|