solidus-returnly 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/solidus/returnly/refund_calculator.rb +1 -1
- data/lib/solidus/returnly/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56f2b7c03fb59b4fb1f229ca1c9824d957edc6a2
|
4
|
+
data.tar.gz: cf3b33c27bdd470a760543664fc4da4cec015fc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c71b20d2958ef1b9a2fe8fb6aaf681d6a0aa074b30da7a862e59b4c53e5d9171f4bb8798059d8ecdebd8af0358d526ccbf27801f38decfdde7130a8713b3f0a5
|
7
|
+
data.tar.gz: cec89b1f3fba2e61007df085ce75d18847a7d89f50d6fe58868c3ee10556483cb66f08466cd4e90b7dc1e52c9114606769478147f326bfa1505ab439201c06df
|
@@ -52,7 +52,7 @@ module Solidus
|
|
52
52
|
def returnable_inventory_units
|
53
53
|
@_inventory_units ||= order.inventory_units.includes(:line_item)
|
54
54
|
.where(line_item_id: requested_line_items)
|
55
|
-
.where('state
|
55
|
+
.where('state != ?', 'returned')
|
56
56
|
end
|
57
57
|
|
58
58
|
def returnable_line_items
|