effective_orders 2.1.10 → 2.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/models/effective/datatables/customers.rb +1 -1
- data/app/models/effective/datatables/orders.rb +1 -1
- data/app/views/effective/orders/cheque/pay_by_cheque.html.haml +3 -5
- data/config/effective_orders.rb +2 -2
- data/lib/effective_orders/version.rb +1 -1
- data/spec/dummy/config/initializers/effective_orders.rb +5 -0
- 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: 490c96cb8f2a3fcc52d2940401433bc1a4f0de35
|
|
4
|
+
data.tar.gz: 02caa5ed740970bc3592674386da0ea66807ebb9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a48a2e508ce05e6a0c233bf51e95aff88ebf8c035a64736b15e8eb5389fcb8954d676377f1398a755c9b596af5f5a85f98c32bb65552a07c4153064ddb07741
|
|
7
|
+
data.tar.gz: 2f9aba09e6f9228c5e373fbeee8dbe37151c44445f3d075500514edc97a6ac1b69c032880d4143e48f02185be68cfabbee1cf0bd7a23f28a81449fb463796fde
|
|
@@ -19,7 +19,7 @@ if defined?(EffectiveDatatables)
|
|
|
19
19
|
|
|
20
20
|
table_column :subscription_types, column: 'subscription_types'
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
actions_column partial: 'admin/customers/actions'
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
def collection
|
|
@@ -62,7 +62,7 @@ if defined?(EffectiveDatatables)
|
|
|
62
62
|
table_column :created_at, visible: false
|
|
63
63
|
table_column :updated_at, visible: false
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
actions_column partial: 'admin/orders/actions'
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
def collection
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
%h2.effective-orders-page-title= (@page_title || 'Payment Required')
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Please send us a cheque at your earliest convenience.
|
|
7
|
-
We will mark this order purchased upon receiving your payment.
|
|
3
|
+
- if EffectiveOrders.cheque[:success_message].present?
|
|
4
|
+
%p.effective-orders-page-content
|
|
5
|
+
= EffectiveOrders.cheque_success_message
|
|
8
6
|
|
|
9
7
|
= render @order
|
data/config/effective_orders.rb
CHANGED
|
@@ -299,12 +299,12 @@ EffectiveOrders.setup do |config|
|
|
|
299
299
|
declined_flash: "Payment was unsuccessful. Please try again."
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
|
|
303
302
|
# Pay by Cheque configuration
|
|
304
303
|
config.cheque_enabled = false
|
|
305
304
|
|
|
306
305
|
config.cheque = {
|
|
307
|
-
confirm: 'Your order will not be considered purchased until we receive your cheque. Proceed with pay by cheque?'
|
|
306
|
+
confirm: 'Your order will not be considered purchased until we receive your cheque. Proceed with pay by cheque?',
|
|
307
|
+
success_message: 'Thank you! You have indicated that this order will be purchased by cheque. Please send us a cheque and a copy of this invoice at your earliest convenience. We will mark this order purchased upon receiving payment.'
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
end
|
|
@@ -94,6 +94,11 @@ EffectiveOrders.setup do |config|
|
|
|
94
94
|
# pending order page.
|
|
95
95
|
config.cheque_enabled = true
|
|
96
96
|
|
|
97
|
+
config.cheque = {
|
|
98
|
+
confirm: 'Your order will not be considered purchased until we receive your cheque. Proceed with pay by cheque?',
|
|
99
|
+
success_message: 'Thank you! You have indicated that this order will be purchased by cheque. Please send us a cheque and a copy of this invoice at your earliest convenience. We will mark this order purchased upon receiving payment.'
|
|
100
|
+
}
|
|
101
|
+
|
|
97
102
|
# Show/hide the 'Order History' button on the 'Cart Page'
|
|
98
103
|
config.show_order_history_button = true
|
|
99
104
|
|
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: 2.1.
|
|
4
|
+
version: 2.1.12
|
|
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: 2016-04-
|
|
11
|
+
date: 2016-04-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|