effective_orders 5.1.13 → 5.1.14
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ea7a1a4554f56dd9230c6d1f4c4c00ae6884fb3d61508c1c437464a9106065b
|
4
|
+
data.tar.gz: 846428fc00eae462dbf46f128b777ec32d22ed8f47415d0b411de9922a39dee6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6bcd2880d585a48f68785e62f0b44e52627b68d42e1764ec642bccef8de36810314876bd26b9a24ca0216c2609fb8b8c11649d8c0b63f605f341dcf90c04444
|
7
|
+
data.tar.gz: cf6eced1338c660b98d2e75eca61b645899fcc6888772cef8c4184d07296ef7e3a684a8ed22c2a19231eb42d737305e0da1fcb74357a13138a8eb52f68d1813a
|
@@ -17,8 +17,10 @@ class Admin::EffectiveOrdersDatatable < Effective::Datatable
|
|
17
17
|
unless attributes[:skip_filters]
|
18
18
|
scope :all
|
19
19
|
scope :purchased
|
20
|
-
|
21
|
-
scope :
|
20
|
+
|
21
|
+
scope :deferred if EffectiveOrders.deferred_providers.present?
|
22
|
+
scope :refunds if EffectiveOrders.refund
|
23
|
+
|
22
24
|
scope :not_purchased
|
23
25
|
end
|
24
26
|
end
|
@@ -4,8 +4,11 @@ class EffectiveOrdersDatatable < Effective::Datatable
|
|
4
4
|
filters do
|
5
5
|
unless attributes[:not_purchased]
|
6
6
|
scope :purchased, default: true
|
7
|
-
|
8
|
-
scope :
|
7
|
+
|
8
|
+
scope :deferred if EffectiveOrders.deferred_providers.present?
|
9
|
+
scope :refunds if EffectiveOrders.refund
|
10
|
+
|
11
|
+
scope :all
|
9
12
|
end
|
10
13
|
end
|
11
14
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_orders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.
|
4
|
+
version: 5.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|